All glossary terms
Cross-cutting

Grounding (LLM)

Grounding provides an LLM with authoritative context — retrieved documents, structured data, real-time API responses — and instructs it to base its response on that context rather than its pre-trained knowledge. Grounding dramatically reduces hallucination on factual questions and gives the model access to information beyond its training cutoff.

Grounding is the umbrella technique behind RAG and most enterprise LLM applications. The implementation has two halves: retrieving the right context (vector search, structured queries, web fetches) and instructing the model to use it (system prompts that emphasise citation, structured outputs requiring source attribution, validation that the response stays within the provided context). The trap of grounding is over-trust: providing context doesn't guarantee the model uses it correctly. Healthy grounded systems include citation enforcement (model output must quote source IDs) and verification (sampling responses to check whether cited claims match the source).

Related terms