Lesson 4.17mAdvanced4.9k students
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.
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
Resources
Your notes for this lesson will appear here.