agentic-rag
Installation
SKILL.md
Agentic RAG Strategies
Goal
Transform traditional, static Retrieval-Augmented Generation (RAG) into a dynamic, agentic process that actively reasons about how and where to find information.
Core Capabilities
1. Adaptive Retrieval
- Concept: Instead of a single pass against a vector database, the agent dynamically selects the best knowledge source based on the context.
- Mechanism: The agent evaluates the query ambiguity and chooses between multiple data stores (e.g., "PDFs" vs. "Web Search" vs. "Structured DB").
2. Multi-Step Reasoning
- Concept: For complex queries, the agent breaks the problem down into logical steps and retrieves information sequentially.
- Workflow:
- Decompose: Break "Compare the revenue of Company A and Company B" into two sub-queries.
- Retrieve: Fetch revenue for Company A.
- Retrieve: Fetch revenue for Company B.
- Synthesize: Combine both facts into a final answer.