Start Here: What RAG Is and What You Will Build
What retrieval-augmented generation is, why models need it, when not to use it, your first real embeddings, and the product this course builds step by step.
This phase assumes you can write a few lines in one programming language and have a rough idea of what a large language model is (Hectal's LLM Engineering course, Phase 0, is enough). It explains retrieval-augmented generation (RAG) from the ground up: a model answers better when your program first finds the right pages and puts them in front of it, like an open-book exam.
You will build the smallest possible RAG by hand, watch it answer correctly, and then watch one reworded question break it. That failure is the reason for the rest of the course. You will also run a real embedding model in your own browser and see it find the passage that word matching missed.
This course is a build-along. One product, AskDocs, grows phase by phase: a service that answers questions from the handbook of a made-up bike-rental company, Lumen Bikes, with sources, and refuses when the handbook has no answer. Every phase teaches its ideas from first principles in Python, Java and JavaScript, then adds one step to the product, and ends with a playbook of recipes to reuse.
Practise this phase
Hands-on exercises: write the code, run it, and press Check to have it tested automatically.