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

python
def new(query: impl Into<String>, results: Vec<SearchResultItem>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField Vec&lt;SearchResultItem&gt;

No description available.

Returns

ResponseField Self

The result of the operation.