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

python
def strategy(mut self, strategy: RetrievalStrategy) -> Self

Parameters

ParamField RetrievalStrategy

No description available.

Returns

ResponseField Self

The result of the operation.