AutoRagAgent
Defined in the Auto RAG Agent module.AI Agent Agent wrapper with automatic RAG retrieval decision. Decides when to perform retrieval based on policy and heuristics, then composes RAG context with Agent chat. This follows the same pattern as AutoAgents but for RAG:
- AutoAgents: auto-generates agent configs from instructions
- AutoRagAgent: auto-decides when to retrieve context
Constructor
No description available.
No description available.
No description available.
Methods
rag()
Lazy load RAG from agent if not provided.
name()
Delegate name to wrapped agent.
chat()
Chat with automatic RAG retrieval decision.
achat()
Async version of chat.
Usage
Source
View on GitHub
praisonaiagents/agents/auto_rag_agent.py at line 105
