AI & Machine Learning course
Retrieval-Augmented Generation
Build, evaluate, and optimize retrieval-augmented generation systems that answer questions directly from your documents.
16 lessonsabout 2 hours in allIntermediateFree
Lessons of 5 to 10 minutes, taught by Milo, your AI tutor. In your browser now; phone apps soon.

By the end you can
- Design an indexing and question-answering pipeline for document-based assistants, including chunking, embeddings, search, reranking, and query rewriting
- Evaluate retrieval and answer quality, diagnose failures, and write prompts that keep answers grounded in evidence
- Plan production safeguards for permissions, poisoned documents, and index updates
What you'll learn, lesson by lesson
- 1Do You Actually Need Retrieval?Choose among retrieval, fine-tuning, sending the full text and plain search for three features.
- 2The Two Paths: Indexing and AnsweringDiagram the indexing path and the query path.
- 3Getting Clean Text Out of Messy FilesIdentify three parsing problems in a sample PDF extract.
- That's a preview. 13 more lessons follow.
Take all 16 lessons free in the Milo app, with Milo teaching each one.
Start this course free - 4Splitting Documents into Chunks
- 5What Embeddings Capture and Miss
- 6Vector Search and Its Trade-Offs
- 7When Keywords Win
- 8Reranking the Candidates
- 9Rewriting the Question
- 10Prompts That Stay on the Evidence
- 11Measuring Retrieval on Its Own
- 12Grading the Answers
- 13Finding Where It Went Wrong
- 14Letting the Model Search Again
- 15Permissions and Poisoned Documents
- 16Keeping It Working in Production
Inside the app
Not a video. A tutor who teaches you.
Milo explains each idea of Retrieval-Augmented Generation out loud and on the blackboard, checks you understood, and coaches you when you slip. Lessons take 5 to 10 minutes.
Start free

More in AI & Machine Learning
See allFree to learn
This course is free. So is Milo's help planning it.
Every course in Milo's library, your growth plan and Milo's weekly check-ins cost nothing. Members, from $5 a month, also get lessons written just for them.
- Can I really start for free?
- Yes. No card needed.
- Can I cancel a membership any time?
- Yes, from your account. You keep it until the end of the month you paid for.
- Where does it work?
- In any browser on a phone, tablet or computer. Phone apps are on the way.



