should_retrieve
Method
This is a method of the RetrievalConfig class in the retrieval_config module.Determine if retrieval should be performed for a query.
Signature
Parameters
The user query
Force retrieval regardless of policy
Skip retrieval regardless of policy
Returns
True if retrieval should be performed
Source
View on GitHub
praisonaiagents/rag/retrieval_config.py at line 286
