Artificial Intelligence · 3.5 hrs
RAG — Retrieval-Augmented Generation
You can design a Retrieval-Augmented Generation (RAG) answer contract and check saved claims and citations against supplied passages.
Last updated
Learn a reliable RAG baseline before optimising it: trace a question to retrieved evidence, answer only from that evidence, cite it or abstain, then diagnose whether retrieval or generation failed. Guided model labs practise prompting, and deterministic policy audits run a bounded retrieval baseline against changed evidence.
Sign in for at least the first three chapters free, through the opening practical exercise, with no card required. Each chapter is a short briefing, a knowledge check and a practical exercise.
Who it is for
Developers building AI features that answer from documents. Basic prompting experience and the ability to read JSON help.
What you will be able to do
- You can design a Retrieval-Augmented Generation (RAG) answer contract and check saved claims and citations against supplied passages.
- You can define and test an insufficient-evidence response when retrieved context does not contain the answer.
- You can explain how embeddings, chunking, vector databases and reranking shape retrieval quality, and handle noisy, conflicting or multi-passage context.
How the course works
- Read: Short briefing cards, one idea per screen. Each chapter opens with the concepts its lab practises.
- Check: Quick checks sit inside the reading. Answering one unlocks the next card.
- Do: Build locally checked artifacts, code or simulated state. Some guided prompt practice calls managed Claude, so you don’t need a personal API key.
Curriculum: 21 chapters
- Trace one answer from question to evidence
Trace a RAG answer from a question to retrieved evidence, and distinguish the retriever’s job from the model’s job. - Lab: answer from a passage
Make the model answer a question using only a provided passage. - Baseline retrieval: finding a passage
Explain how a retriever finds relevant text using vector similarity. - Baseline indexing: chunks and metadata
Explain how documents are split into chunks, and predict how chunk size and overlap affect retrieval. - Lab: the classic RAG prompt
Write the canonical "answer using only the context below" RAG prompt. - Grounding & saying "I don’t know"
Make a model refuse gracefully when the context lacks the answer. - Lab: a grounded refusal
Make the model correctly say the answer is not in the provided context. - Citations & attribution
Explain why citing the source passage builds trust in a RAG answer. - Advanced retrieval: indexes and filtering
Describe the real components that store embeddings and serve nearest-neighbour search. - Lab: run a scoped hybrid retrieval baseline
Run lexical and vector retrieval over a bounded corpus, enforce account filtering and inspect citation, conflict and abstention outcomes. - Advanced retrieval: improve a measured miss
Describe the techniques that lift retrieval quality before passages reach the model. - Evaluating RAG
Explain how RAG systems are measured and diagnose where they fail. - Lab: ignore the noisy distractor
Make the model use only the relevant passage and ignore a tempting wrong one. - When retrieved passages disagree
Resolve contradictions between retrieved passages using metadata. - Lab: prefer the newer passage
Make the model resolve a contradiction by trusting the most recent passage. - Multi-hop questions & synthesis
Recognise questions whose answer must be assembled from more than one passage. - Lab: synthesise across two passages
Make the model chain a fact from one passage to a fact in another. - Untrusted context & prompt injection
Recognise that retrieved text is untrusted input and learn to defend against injected instructions. - Retrieve, filter and audit a source-grounded answer
Run lexical and vector retrieval over a bounded corpus, enforce account filtering and inspect citation, conflict and abstention outcomes. - Course knowledge exam
- Retrieval practical exam
Run lexical and vector retrieval over a bounded corpus, enforce account filtering and inspect citation, conflict and abstention outcomes.
Questions
How long does the RAG — Retrieval-Augmented Generation course take?
About 3.5 hours of focused work across 21 chapters. Progress is saved, so you can do it in one sitting or spread it over a week.
Can I try it before paying?
Yes. Sign in for at least the first three chapters free, through the opening practical exercise, with no card required.
What does it cost?
A$29 (US$19, €17 or £15) once for 12 months of access that does not renew. It is also included in its family plan and All-Access. Your country sets the currency you are charged in. Australian dollar prices include GST.
Do I get a certificate?
Yes. Completing the required chapters and assessments earns a certificate of completion with a public ID anyone can check at breakfixlabs.com/verify. It records course completion and is not a vendor certification.
See pricing · Try the free HSM demo
Independent training material · © BreakFix Labs · not affiliated with any vendor or certifying body it teaches · breakfixlabs.com
All marks are the property of their respective owners. BreakFix Labs is independent and is not affiliated with, endorsed by, or sponsored by Thales, Entrust, HashiCorp, Flipper Devices, Palo Alto Networks, Amazon Web Services, Microsoft, Google, ISC2, ISACA or any vendor or certifying body it teaches.