# Knowledge Base

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

## What is Knowledge Base?

**In one sentence:** A knowledge base is an organized collection of information, like documents, FAQs and guides, that a system can search.

In RAG, the knowledge base is the source of truth the AI pulls answers from. Keeping it accurate and up to date is essential.

![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 Knowledge Base?

A company's help center articles form its knowledge base for a support chatbot.

## Why does Knowledge Base matter?

The quality of the knowledge base sets the ceiling for RAG answers.

## Related Concepts

- [Citation Generation](https://getaimath.com/dictionary/citation-generation/): Citation generation is when an AI shows which sources support each part of its answer.
- [Knowledge Graph](https://getaimath.com/dictionary/knowledge-graph/): A knowledge graph stores information as a network of things and the relationships between them.
- [Grounding](https://getaimath.com/dictionary/grounding/): Grounding means making an AI's answer based on real, verifiable sources instead of the model's guesses.
- [Graph RAG](https://getaimath.com/dictionary/graph-rag/): Graph RAG is a version of RAG that uses a knowledge graph to retrieve connected information, not just similar text chunks.
- [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.
- [Agentic RAG](https://getaimath.com/dictionary/agentic-rag/): Agentic RAG lets an AI agent decide when and how to search, possibly searching several times and checking its own results.

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