For Heads-of · Practitioner

Retrieval-Augmented Generation (RAG)

A technique in which a language model retrieves relevant documents or data before generating a response, grounding its output in source material rather than in its training data alone.

  • RAG
  • retrieval augmented generation
  • grounding
  • fact checking

How it works

The system retrieves documents similar in meaning to the query, usually by comparing embeddings, and passes them to the language model as context. The model then answers using the retrieved material.

Benefits

RAG reduces confabulation by grounding answers in sources, lets a model use private or recent information that was not in its training data, and allows updates without retraining. It reduces confabulation; it does not eliminate it.

Governance advantages and new risks

The system can cite which documents informed an answer, which supports accountability and review, although a citation shows what was retrieved, not that the model used it faithfully. Retrieval also adds risks of its own: poisoned or over-shared documents, and the vector and embedding weaknesses that vector store and embedding access controls address.

Related Terms

Related risks and controls

← Back to Glossary