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
str
required
The user query
bool
default:"False"
Force retrieval regardless of policy
bool
default:"False"
Skip retrieval regardless of policy
Returns
bool
True if retrieval should be performed
Source
View on GitHub
praisonaiagents/rag/retrieval_config.py at line 302
