Medical AI · Track 6 of 10
Retrieval-augmented generation (RAG)
Grounding LLM answers in trusted sources such as clinical guidelines: chunking, embeddings, retrieval, citations and evaluation.
Generative AI & LLMs track recommended first.
By the end of this track you should be able to
- Explain when RAG is the right tool and when it is not
- Chunk and index a clinical guideline
- Measure retrieval quality and answer faithfulness
- Build a guideline question-answering assistant that cites its sources
Lessons
- Why RAG? Grounding answers in trusted sources
Beginner · Clinical · 20 min · Exercise
- Chunking clinical guidelines
Intermediate · Technical · 30 min · Exercise
- Embeddings and vector stores
Intermediate · Technical · 35 min · Exercise
- Evaluating retrieval
Intermediate · Technical · 30 min · Exercise
- Citations and answer grounding
Intermediate · Technical · 30 min · Exercise
- Build a guideline Q&A assistant
Intermediate · Technical · 35 min · Exercise
- End-to-end RAG evaluation
Intermediate · Technical · 30 min · Exercise
Next track: Agentic AI
Educational content only. This material teaches methods; it is not clinical advice. Code, models and examples here are not validated medical devices and must not be used to make decisions about real patients without proper clinical validation, governance and any required regulatory approval. Examples use synthetic or openly licensed de-identified data only. Never paste identifiable patient information into public AI tools. Mentions of models, tools or vendors are for identification, not endorsement.