Knowledge base
A knowledge base is an organised store of information that a computer system or AI assistant draws on to answer questions; in today's AI products it usually means an organisation's documents indexed for retrieval.
The term began with expert systems, the first knowledge-based systems. There a knowledge base held facts and rules about a subject, and a separate inference engine reasoned over them to reach conclusions. The name was chosen to set it apart from ordinary databases of the time: a knowledge base could hold a general fact such as all humans being mortal and apply it to anyone, while a database needed a record for each person. Large structured examples today include Wikidata, DBpedia and Cyc.
The phrase also has a plain business meaning: a help centre or internal wiki of articles written for people. An external knowledge base lets customers answer their own questions and reduces support workload; an internal one holds policies and onboarding material for staff.
In generative AI products the two meanings have merged. A knowledge base is now usually a collection of an organisation's documents prepared for retrieval-augmented generation. Amazon's Bedrock documentation describes the standard pipeline: documents are converted to text, split into chunks, turned into embeddings and stored in a vector index that keeps a link to each original file. When a user asks a question, the most similar chunks are retrieved and added to the prompt, and the answer can cite where each part came from. Amazon notes that this avoids retraining a model every time private data changes.
A typical example is an HR assistant that answers a question about parental leave by pulling the relevant section of the staff handbook and citing its page. The model supplies the language; the knowledge base supplies the facts.
An assistant is only as good as the knowledge base behind it. Out-of-date, duplicated or contradictory documents produce confident wrong answers, and permissions matter, since an assistant should not surface a document the person asking could not open. When a product says it uses your knowledge base, it is worth asking what is actually underneath: a vector index of documents, a knowledge graph, or both.
In current AI products, it is a collection of documents or data that an assistant searches to ground its answers, usually through retrieval-augmented generation. In classic AI it meant a store of facts and rules used by an expert system's inference engine. Both meanings describe knowledge kept separate from the reasoning that uses it. A database stores records, such as one row per customer, for applications to query. A knowledge base stores information meant to answer questions, whether as rules and facts for reasoning or as documents for retrieval. The line has blurred, and many AI knowledge bases are built on databases. A knowledge graph is one way of building a knowledge base: it stores entities and the relationships between them as a network. Many AI knowledge bases instead store chunks of documents in a vector index. Some systems combine both. For keeping an assistant up to date with company facts, a knowledge base is usually the better first step. It can be updated by adding or changing documents, and answers can cite their sources. Fine-tuning is more suited to changing a model's style or behaviour than to teaching it facts that change.Common questions
What is a knowledge base in AI?
What is the difference between a knowledge base and a database?
What is the difference between a knowledge base and a knowledge graph?
Should I use a knowledge base or fine-tune a model on my data?
Search for "RAG knowledge base", "knowledge base chunking and embeddings" or the name of a specific platform's knowledge base feature. Cloud provider and vector database documentation explains how ingestion, retrieval and permissions work in practice, while textbooks and encyclopedia articles on expert systems cover the older meaning. Look for evidence of retrieval accuracy on real documents rather than accepting general claims about grounding.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.