Grounding means tying a model's answer to supplied sources: it should say only what the retrieved passages support, cite them, and admit when the sources do not contain the answer.
A grounded system is checkable by a reader. Faithfulness is the metric that tests whether each claim appears in the sources.
Grounding is a design decision before it is a prompt. The interface should show sources next to the answer, and the system should have a defined behaviour for “not found” rather than a guess.
Common mistake. Adding “answer only from the context” to the prompt and treating the problem as solved. Models still blend in what they remember.
In practice. Return citations as structured fields, test a set of unanswerable questions to check that the system declines, and score faithfulness with a calibrated judge.
RAG retrieves passages relevant to a question from your own documents and puts them into the prompt so the model can answer from them. It is two systems in sequence, a search step and a generation step. The answer can only be as good as the passages that the search returned.
A hallucination is model output that reads fluently but is false or unsupported by the sources it was given. It is not a rare bug that a patch removes. It follows from how models generate text. You reduce it with grounding and verification and measure it with faithfulness checks.
An eval is a repeatable test for software that uses a model. It has a set of inputs, a way to run your feature on them and a grader that scores each output, and it returns a rate instead of a pass or fail. Run it on every change to a prompt, model or retrieval setting.
Cite this page
Eldan Abdrashim. "Grounding." Eldan.ai, 23 November 2026. https://eldan.ai/glossary/grounding.
The date you read it is added when you copy.
BibTeX
@online{abdrashim2026grounding,
author = {Eldan Abdrashim},
title = {Grounding},
organization = {Eldan.ai},
date = {2026-11-23},
year = {2026},
month = nov,
url = {https://eldan.ai/glossary/grounding},
langid = {english}
}