strategy • Rust AI Agent SDK
strategy: Set retrieval strategy
strategy
Method
</div>
This is a method of the RAGConfig class in the rag module.
Set retrieval strategy
Signature
pythondef strategy(mut self, strategy: RetrievalStrategy) -> Self
Parameters
ParamField RetrievalStrategyNo description available.
Returns
ResponseField SelfThe result of the operation.