Top FDE

Home / Glossary / RAG (retrieval-augmented generation)

RAG (retrieval-augmented generation)

Retrieval-augmented generation, or RAG, is a method where an AI looks up passages from a trusted source and uses them to write its answer. It lets a model answer from the company's own documents, and those answers are easier to check and update.

Also called: RAG, retrieval augmented generation

In plain words

Imagine a new employee who does not memorize the handbook. Instead, when a customer asks about returns, they open the handbook, find the right page, and answer from it. RAG gives an AI the same habit. It finds the right pages first, then writes the reply.

Where it came from

A team at Facebook AI Research, University College London, and New York University published the RAG paper in May 2020. It was presented at NeurIPS 2020. The authors combined a language model with a searchable index of Wikipedia. They noted that the stored knowledge could be swapped out as the world changes.

How FDE teams use it

RAG is one of the most common tools FDE teams use. They gather a client’s files, break them into pieces, and set up the search step. Then they test whether the right passages come back for real questions from real staff. Good search matters as much as the model.

Related terms

Sources

Back to the glossary