rag_query
Method
This is a method of the Agent class in the agent module.Query knowledge using RAG pipeline with citations. This is the recommended way to get answers with citations from an agent’s knowledge.
Signature
Parameters
The question to answer **kwargs: Additional arguments passed to RAG.query()
Returns
RAGResult with answer, citations, context_used, and metadata
Exceptions
ValueError
ValueError
If no knowledge sources are configured
ImportError
ImportError
If RAG module is not available

