- All Courses
- Retrieval-Augmented Generation from Scratch
- Grounded Generation
- Handling the no-answer case
Handling the no-answer case
The hardest behaviour to get is a clean "I don’t know". Make it an explicit, allowed output instead of the model’s last resort.
- 22m
- Advanced

Video by MartinHanderPhD · YouTube
Check your understanding
3 questions. Unlocks when you finish the video.
Overview
What this lesson covers
- Detect when retrieval returned nothing relevant
- Make abstaining an explicit, acceptable outcome
- Offer a next step instead of a dead end
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:
- Detect when retrieval returned nothing relevant
- Make abstaining an explicit, acceptable outcome
- Offer a next step instead of a dead end
Resources
Your notes will live here
Note taking is not available yet. Nothing you type would be saved, so the tab stays read-only for now.