# Grounding

- **Canonical URL:** https://getaimath.com/dictionary/grounding/
- **Topics:** [Retrieval-Augmented Generation (RAG)](https://getaimath.com/dictionary/category/retrieval-augmented-generation-rag/)
- **Last updated:** 2026-11-25

## What is Grounding?

**In one sentence:** Grounding means making an AI's answer based on real, verifiable sources instead of the model's guesses.

A grounded answer sticks to the provided documents or search results and ideally points to them. This makes answers more trustworthy and easier to check.

![RAG (Retrieval-Augmented Generation): The Open-Book Exam — Simple cartoon comparing an AI guessing from memory and making things up versus RAG: 1. Search your real documents, 2. Hand the exact page to the AI, 3. Get a factual answer with a page citation.](https://getaimath.com/diagrams/retrieval-augmented-generation-rag.png)
*Napkin Diagram (Retrieval-Augmented Generation (RAG)): Without RAG, AI answers from blurry memory; with RAG, it opens your real documents to the right page before answering.*

## What is an example of Grounding?

A chatbot that only answers from the official product manual and says "I don't know" otherwise is grounded.

## Why does Grounding matter?

Grounding is one of the best defenses against hallucinations.

## Related Concepts

- [Context Injection](https://getaimath.com/dictionary/context-injection/): Context injection is placing retrieved information into the model's prompt so it can use it to answer.
- [Citation Generation](https://getaimath.com/dictionary/citation-generation/): Citation generation is when an AI shows which sources support each part of its answer.
- [Reranking](https://getaimath.com/dictionary/reranking/): Reranking reorders search results with a more careful model so the most relevant ones end up on top.
- [Knowledge Base](https://getaimath.com/dictionary/knowledge-base/): A knowledge base is an organized collection of information, like documents, FAQs and guides, that a system can search.
- [Hybrid Search](https://getaimath.com/dictionary/hybrid-search/): Hybrid search combines keyword search and semantic vector search to get better results than either alone.
- [Knowledge Graph](https://getaimath.com/dictionary/knowledge-graph/): A knowledge graph stores information as a network of things and the relationships between them.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/grounding/)
