Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

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.