Answer only from the sources
A model can always write an answer, also when it has no evidence. Then it writes from memory, and the answer can be a hallucination: wrong, but sure in its tone. A grounded system decides before the model writes. It keeps only the search results that are good evidence. If none is left, the system refuses: it says that the sources do not have the answer. A refusal is better than a confident wrong answer.
About this lesson
Words to know
- grounding
- Tying each claim in an answer to a source the model was given, so that the claim can be checked.
- hallucination
- Something a model states with confidence that is not in its sources or is not true, such as an invented source id.
- refusal
- An answer in which a system says that it cannot answer, for example because its sources do not have the answer.
Why it matters
The minimum score is the setting that trades wrong answers for refusals. In a real project, you set it from an evaluation set, and you measure both.
With a year
How it works, a worked example, the exercise with its tests, three hints and the explained solution are in the app, with a year of Algo150 for $29 or ₾49. The first chapter, Model foundations, is free for everyone: start with Vector dot product.