Stockertim Dictionary · Artificial intelligence
Grounding
Also called grounded generation, source grounding
In short
Grounding means tying a model's answer to supplied sources so that each claim can be traced to a specific passage and checked by a person.
- Intermediate
- Process
- Checked
In detail
Left to itself, a language model answers from patterns learned in training, which may be out of date, incomplete or simply wrong for the case at hand. Grounding changes the job: the model is given the relevant documents and told to answer from them alone, quoting or pointing to the passage behind each claim. The answer becomes a reading of the sources rather than a recollection.
Three instructions do most of the work. Use only the supplied material. Give a quote or a location, such as a section number, for each claim. Say plainly when the answer is not in the source rather than filling the gap. That last permission matters, because models tend to produce an answer of some kind unless told that saying not stated is acceptable.
Grounding reduces errors but does not remove them. A model can still misread a passage, quote it out of context or attach a real quote to the wrong claim. The point of grounding is that these errors become checkable: a reviewer can follow each reference and confirm it.
Worked example
Harbour Foods asks an assistant about its own staff handbook.
- Weak prompt: "How many days of holiday do new staff get?"
- Improved prompt: "Answer only from the handbook text between the triple quotes. Quote the sentence you rely on and give its section number. If the handbook does not say, reply not in the handbook."
- Reason: the improved prompt ties the answer to the company's own document and makes it checkable, instead of letting the model guess from general knowledge.
The answer quotes section 4.2, and a reviewer confirms it in seconds.
In practice
Staff paste the relevant policy, contract or report and ask for quotes with locations; system designers combine grounding with retrieval so the right passages are supplied automatically.
Watch out
- A quote can be real and still be applied to the wrong question; read it in context.
- Grounding works only as well as the sources supplied; an outdated document gives an outdated answer.
Learn it properly
Official sources
- Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile · National Institute of Standards and Technology
- AI Playbook for the UK Government · UK Government
Facts last checked on 3 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.