Home · Glossary · Retrieval-Augmented Generation (RAG)
Enterprise AI glossary · RAG & Retrieval

Retrieval-Augmented Generation (RAG)

A pattern where, instead of relying solely on the LLM's training, the system retrieves relevant documents from a knowledge base and includes them in the prompt as context.

Definition

What Retrieval-Augmented Generation (RAG) means in practice

Retrieval-Augmented Generation is the dominant production pattern for enterprise LLM use. At ingestion time documents are chunked, embedded, and stored in a vector database. At query time the user's question is embedded, the nearest chunks are retrieved, and the LLM is prompted to answer using the retrieved context. The architectural payoff is that the LLM's knowledge stays current (just re-ingest), domain-specific (just choose what to ingest), and traceable (the answer cites the chunks it grounded on). The engineering reality is that 80% of RAG quality lives in retrieval — chunking strategy, embedding choice, hybrid search, re-ranking — not in the generation. Teams that go straight to fine-tuning before exhausting retrieval improvements waste their first six weeks.

Go deeper
Enterprise RAG architecture →

All 62 terms, in plain language

Sovereign AI, RAG, agentic AI, IDP, MLOps and the regulations that shape enterprise AI.

Browse the glossary →Talk to an engineer →