Agentic RAG
The pipeline you've built searches once, for every message, whether it needs to or not. "Thanks!" triggers a search. "Compare our 2024 and 2025 refund rules" gets one search that finds only one of them. Give the model retrieval as a tool instead, and it decides when to search, what to search for, and whether to search again. That's how many new RAG systems are built.
In this lesson you'll learn to
- Expose retrieval as a tool the model can call, with a clear description, parameters and results it can cite.
- Run an agentic retrieval loop with limits on steps, tokens and time, and explain when it beats a fixed pipeline.
- Answer questions over structured data with text-to-SQL, using a read-only connection, a schema description and validation.
- Describe graph RAG at a high level and the kind of whole-collection questions it is meant for.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.