Lesson 05.01 · Phase 05 · Retrieval & Agentic RAG
Naive RAG and where it breaks
Chunk, embed, retrieve, stuff, answer: five steps, one screen of code. Then ask it six questions and watch five of them fail, each for a different reason.
Learning objectives
- Build a complete retrieval-augmented generation (RAG) pipeline: chunk, embed, retrieve top-k, build the prompt, answer with citations.
- Name the five classic failures of naive RAG: outdated documents, answers split across chunks, multi-hop questions, vocabulary mismatch, and questions with no answer.
- Tell retrieval failures from reading failures by checking what was retrieved, not just what was answered.
- Use these failures as the map for the rest of Phase 5: each later lesson fixes one of them.
A model doesn't know your company's refund policy, your on-call rota, or last month's travel rules. Retrieval-augmented generation fixes that: find the relevant text, put it in the prompt, and let the model answer from it (Lewis et al., 2020). It is the most common way to connect an agent to private knowledge.
Loading the full lesson…