Skip to main content

strategy

Method
This is a method of the RAGConfig class in the rag module.
Set retrieval strategy

Signature

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

Parameters

strategy
RetrievalStrategy
required
No description available.

Returns

Returns
Self
The result of the operation.