RAG (retrieval-augmented generation)

Looking up relevant documents first and giving them to the model, so it answers from your data.

Also called: retrieval, chat with your documents

Source
General

In plain English

The pattern behind "chat with your docs" bots: search, then answer with the found passages, ideally with sources.

Example

The concierge bot uses RAG: it looks up the house manual before answering a guest.

Learn more

Related terms

Added 2026-11-30 · Last reviewed 2026-11-30