Skip to content
Glossary

What is retrieval-augmented generation (RAG)?

Retrieval-augmented generation is the technique of retrieving relevant documents and giving them to a model as context before it answers.

It is the machinery behind grounded answers. The engine searches, selects passages, and generates an answer conditioned on them, which is why the sources it retrieves have more influence on the output than anything in the model's training data.

For anyone trying to be recommended, the consequence is that the fight is over retrieval. Being in the documents an engine pulls for a category question matters more than any property of your own writing.

Related

Want to know where you actually stand on this? Run a free visibility check or try the free tools.