Retrieval-Augmented Generation (RAG)

Last updated 15/10/2026

Also known as: RAG, Retrieval Augmented Generation

Retrieval-augmented generation (RAG) is a technique in which an AI first looks up relevant passages in a set of documents, then writes its answer from them. It lets a model work with current or private information it was never trained on, such as a company's own files.

The approach was described in a 2020 paper by researchers at Facebook AI Research and has since become the standard way to build AI assistants on company knowledge. Documents are split into passages and indexed, the passages most relevant to a question are retrieved, and the model writes its answer from them, often with citations.

RAG is cheaper and easier to keep current than retraining a model, because updating the answers only means updating the documents. Its quality depends on the retrieval step. If the search pulls the wrong passages, or the documents are outdated or contradict each other, the model will confidently answer from the wrong material.

Related terms

More in:

Want to put this into practice for your own brand?