Skip to main content

new

Method
This is a method of the SearchResultItem class in the knowledge module.
Create a new search result item

Signature

def new(id: impl Into<String>, text: impl Into<String>, score: f32) -> Self

Parameters

id
impl Into<String>
required
No description available.
text
impl Into<String>
required
No description available.
score
f32
required
No description available.

Returns

Returns
Self
The result of the operation.