Why RAG & the RAG Lifecycle
Explain the knowledge problem RAG solves: stale training data, private data, hallucination, and context-window limits.
- Lessons
- 7 lessons
- By
- Sourav Banerjee
- Prerequisites
- None
Lessons
Start moduleAlso used in this module
Lessons taught in another module that this one builds on.
Practise and Check
- Deliverable
- Baseline pipeline: build the canonical lifecycle notebook end to end on the course corpus and save its retrieval and answer metrics. Every later module reports its improvement against this baseline.
- Assessment
- Answer the five Interview questions without notes, then run the lab.
- Interview probe
- Larkspur's support assistant answers billing questions from the handbook. The policy team changes the refund window on Monday. A teammate proposes fine-tuning the model on the new handbook. What do you recommend, and what has to happen on Monday?
- Common mistakes
- Dropping every chunk below a fixed cosine of 0.5
- Re-running
from_textswithoutids=, so chunks come back twice - Tuning the prompt when the evidence never reached the top-k
Checkpoint
8 questions on this module's lessons. Pass mark 70 %. Your result feeds interview readiness, and a failed checkpoint puts the module in your revision queue.
Your Progress
Saved in this browser when you leave the box.