knowledge base
The collection of documents an AI application answers from, such as a help centre, handbook or policy set.
In more detail
Measure it before choosing an architecture: a small, stable knowledge base can go straight into a cached prompt, while a large, changing or permissioned one needs retrieval. Its size, rate of change and access rules matter more to the design than its format.
Related terms
- retrieval-augmented generation — Answering a question by first retrieving relevant passages from your own documents and adding them to the prompt, so the model answers from them.
- document ingestion — The offline stage of RAG that splits documents into chunks, embeds them and stores them with metadata in a search index.
Taught in
- What An AI Engineer Does — AI Engineering: LLM Apps, RAG & Agents
- From Prompts To Context — AI Engineering: LLM Apps, RAG & Agents
- What An Embedding Is — AI Engineering: LLM Apps, RAG & Agents
- Embedding Models — AI Engineering: LLM Apps, RAG & Agents
- Vector Indexes And Databases — AI Engineering: LLM Apps, RAG & Agents
- Keyword And Hybrid Search — AI Engineering: LLM Apps, RAG & Agents
- Measuring Retrieval — AI Engineering: LLM Apps, RAG & Agents
- How RAG Works And When To Use It — AI Engineering: LLM Apps, RAG & Agents
- Chunking And Ingestion — AI Engineering: LLM Apps, RAG & Agents
- Grounded Answers With Citations — AI Engineering: LLM Apps, RAG & Agents
- Workflows Before Agents — AI Engineering: LLM Apps, RAG & Agents
- Threat-Model An LLM App — AI Engineering: LLM Apps, RAG & Agents
- Guardrails, Privacy And Governance — AI Engineering: LLM Apps, RAG & Agents
- Model-Graded Evals — AI Engineering: LLM Apps, RAG & Agents
- Evaluating RAG And Agents — AI Engineering: LLM Apps, RAG & Agents
- Tracing And Monitoring — AI Engineering: LLM Apps, RAG & Agents
References
- Lewis et al.: Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (2020)
- OpenAI: Retrieval guide (vector stores and chunking)