Home  /  The AI Dictionary  /  RAG (searching your own documents)

RAG (searching your own documents)

Under the bonnet · Also called: retrieval-augmented generation

In short

A method where the AI first looks up relevant passages in your own documents and then writes its answer from them.

Explained

RAG stands for retrieval-augmented generation. When someone asks a question, the system finds the right passages in your handbook, contracts or knowledge base and hands them to the model along with the question.

It makes answers more precise and makes it possible to point to where the information comes from. It only works if the documents are up to date and correct.

An example

Example

An employee asks how long the warranty is on a certain product. The system finds the warranty section in the current product description and answers with a reference to it.

Why it matters

RAG is often the most down-to-earth way to make an AI know your business without building a new model. It also means that having your documents in order becomes part of the job.

See also

Reviewed 20 November 2026. Back to the AI Dictionary

Shall we have a cup of coffee?
Book a conversation