get_token_budget
Method
This is a method of the RetrievalConfig class in the retrieval_config module.Get TokenBudget instance for this config.
Signature
Parameters
Optional model name for context window detection
Returns
TokenBudget configured for this retrieval config
Uses
get_model_context_windowTokenBudget
Source
View on GitHub
praisonaiagents/rag/retrieval_config.py at line 116
