Lesson 4.1
Grounding answers with citations
An answer the user can verify is worth far more than a confident one. Carry identifiers through retrieval so every claim can point back to a source.
Taught byPriya RamanLLMs · RAG · Prompt engineering · Evaluation
Overview
An answer the user can verify is worth far more than a confident one. Carry identifiers through retrieval so every claim can point back to a source.
What this lesson covers
- Instruct the model to answer only from context
- Thread source ids through to the rendered answer
- Make citations clickable back to the original
This lesson sits in Grounded Generation, part of Retrieval-Augmented Generation from Scratch. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will:
- Instruct the model to answer only from context
- Thread source ids through to the rendered answer
- Make citations clickable back to the original
