Why RAG
Ask a model about your refund policy and it answers confidently, from a policy it has never seen. It was trained months ago, on public text, and your handbook was never in it. Retrieval-augmented generation hands the model the right pages at question time, so it answers from your data instead of its memory.
In this lesson you'll learn to
- Name the three gaps RAG fills, which are a training cutoff, private data the model never saw, and guessing when it doesn't know.
- Describe the RAG loop as retrieve, augment and generate, and say what each step does.
- Choose between a bigger prompt, RAG and fine-tuning for a knowledge problem, at a first-pass level.
- Sketch the two halves of a RAG system, ingestion ahead of time and answering at question time, and where each part is built in this unit.
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.