Grounding & Citations
Generate answers whose claims are supported by retrieved sources, cite those sources, and abstain when the evidence is insufficient.
3 objectives 5 steps about 95 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Produce answers that cite source IDs at the claim level and verify in code that every cited ID was actually retrieved.
- Implement abstention or qualified answers when retrieved evidence is missing, weak or contradictory.
- Measure groundedness by checking a sample of answer claims against their cited passages.
Lesson plan
5 steps, about 95 min · 4 of 4 lessons available so far
- Grounded Versus Fluent: Kinds of Unsupported Claims Concept · 15 min
- Asking for Citations and Validating Them Worked example · 20 min
- Lab: Abstain When Evidence Is Missing Lab · 25 min
- Scoring Groundedness on a Sample Worked example · 20 min
- Check: Judge Five Answers for Support Knowledge check · 6 questions
Practise it
Extend your RAG tool so every answer lists the source IDs it relied on, rejects answers that cite IDs outside the retrieved set, and abstains on out-of-scope questions; show the results on 10 in-scope and 5 out-of-scope questions. Include a real retrieved ID whose passage does not support the generated claim; label the entailment failure separately from a fabricated ID and report both rates.
References
Hard prerequisites
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.