Skip to content
Let’s Talk

Retrieval-augmented generation

Retrieval-augmented generation (RAG) is a method where an AI tool first looks up relevant passages in a set of documents and then writes its answer from them.

The lookup step gives the model current, specific material that was not part of its training. It lets a tool answer from company documents and show which ones it used.

The answer depends on the passages found, so a poor search or an outdated document leads to a poor answer.

Also called
RAG
How you’ll hear it
“The supplier said the assistant uses RAG, so the team asked which documents it searches.”
Often confused with
Fine-tuning, which changes the model. RAG leaves the model unchanged and changes what it reads.
A question to ask
Which documents does it search, and how are they kept current?
Related terms
Read more
Sources

The example is fictional. This is general guidance, not advice for your situation.