Home Learn Stage 1

RAG, explained without the maths

RAG stands for retrieval-augmented generation. Before it answers, the AI looks up pages or documents that match the question and writes its answer from them, which is why those pages can show up as sources.

Read the 3 best sources

In short

  • The model writes from what it just retrieved, not only from memory.
  • If your page is not retrieved, it cannot be cited.
  • This is the mechanism behind most AI search products.

What happens when you ask

  1. You ask a question
  2. The engine searches The web or its own index
  3. It picks the best passages
  4. The model writes from them
  5. Sources are shown
Source: Based on the NVIDIA and IBM explainers

Go deeper

The best sources we found on this topic. Each opens on the publisher’s site.