GlossaryAI and Data ReadinessRetrieval-augmented generation (RAG)

Retrieval-augmented generation (RAG)

Retrieval-augmented generation, usually shortened to RAG, is answering from a selected body of documents rather than from training alone. The quality of the answer depends on which documents were selected, which makes the corpus the real design decision.

Key takeaways

  • A RAG system retrieves passages first, then generates an answer from them.
  • The quality of the answers depends on which files go in.
  • A vector database stores the passages a RAG system retrieves.

A vector database stores numeric representations of text or images, called embeddings, so a system can find passages by meaning rather than by exact words. RAG systems use it to retrieve relevant passages before generating an answer. Files are the source: documents are split into passages, converted to embeddings, and loaded into the vector database. The quality of the answers depends on which files went in, so selecting and describing those files comes first.

Diskover helps your team select and describe the documents that feed a RAG system, so retrieval works from a defined, current set of files.

← Back to AI and Data Readiness

Last updated: November 13, 2026.

Scroll to Top