new • Rust AI Agent SDK
new: Create a new search result
new
Method
</div>
This is a method of the SearchResult class in the knowledge module.
Create a new search result
Signature
def new(query: impl Into<String>, results: Vec<SearchResultItem>) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
Vec<SearchResultItem>No description available.
Returns
ResponseField
SelfThe result of the operation.