Module 4 of 15

Retrieval-augmented generation

  • Intermediate
  • 6 lessons
  • 3 h

Chapter 4 · The Support Desk

Aarav now answers from the company's real policies, and Kavya looks after the knowledge base he reads from. When an answer goes wrong the cause is not always the same: sometimes it is the wrong page, sometimes an old one, sometimes the right page read badly. Your job in this chapter is to tell which.

What you will be able to do

  • Explain every stage of a RAG pipeline and its trade-offs.
  • Diagnose a failing RAG system by separating retrieval from generation, and choose a RAG variant for a scenario.

Lessons

  1. RAG architecture and chunking

    30 minIntermediate

    Read first: Vector databases

  2. The core RAG pipeline

    30 minIntermediate

    Read first: RAG architecture and chunking

  3. Better retrieval

    30 minIntermediate

    Read first: The core RAG pipeline

  4. All RAG types

    35 minIntermediate

    Read first: Better retrieval

  5. RAG evaluation in depth

    30 minIntermediate

    Read first: RAG evaluation and hallucination

End of chapter 4 · The Support Desk

Kavya tagged every failed answer with its cause, and for once the team could see which part had gone wrong.