Question Desk
All guidesAI basics

What is retrieval-augmented generation?

Retrieval-augmented generation, or RAG, finds relevant information in a collection and supplies it to a model before it answers. This can ground replies in current or private documents. The system still depends on finding the correct passage and interpreting it accurately.

Try it

  1. Choose two public documents with different effective dates.
  2. Ask a question that only the newer one answers.
  3. Inspect the passage used in the reply.
Worked example

Ask for the return window in a shop’s July policy. If the reply cites a January policy, retrieval found a related document with the wrong date.

Check your result

Check the document version and whether the quoted passage actually answers the question.

Sources

Guide published November 29, 2026.

Related guides