new • Rust AI Agent SDK
new: Create a new retrieval result
new
Method
</div>
This is a method of the RetrievalResult class in the rag module.
Create a new retrieval result
Signature
def new(query: impl Into<String>, strategy: RetrievalStrategy) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
RetrievalStrategyNo description available.
Returns
ResponseField
SelfThe result of the operation.