Grounding
The practice of connecting AI model outputs to verifiable, factual sources—documents, databases, APIs, or real-time data—so responses are based on evidence rather than the model's parametric memory alone. Grounding is the primary defense against hallucination. Techniques include RAG (retrieving relevant documents), tool use (querying live APIs), and citation requirements (forcing the model to reference specific sources). Grounded agents are essential in high-stakes domains like legal, healthcare, and finance where accuracy is non-negotiable.
Example
A legal agent asked about a contract clause retrieves the actual clause text from the document, quotes it verbatim, and cites the section number—rather than generating a plausible-sounding but potentially inaccurate paraphrase from memory.
Frequently asked questions
- Is grounding the same as RAG?
- RAG is one grounding technique, but grounding is broader. RAG grounds responses in retrieved documents. Grounding also includes: tool use (calling a live API for current data), structured data queries (pulling from a database), and citation enforcement (requiring the model to cite its sources). A well-grounded agent may use all of these depending on the query type.