new • Rust AI Agent SDK
new: Create a new search result item
new
Method
</div>
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) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
impl Into<String>No description available.
ParamField
f32No description available.
Returns
ResponseField
SelfThe result of the operation.