العربية
Back

AI

RAG: what retrieval-augmented generation is

The term RAG explained in plain Arabic from an official or primary source, with an original example, common mistakes and what was not verified.

Last reviewed:

What it is

Google Cloud defines RAG as a framework that combines traditional retrieval systems such as search and databases with generative large language models. Information is retrieved from external sources and fed into the model's context so it generates a more accurate, up-to-date answer. It says an advantage is fresh information, since models are limited to their training data.

An example

Our example: a small shop's assistant first looks up the returns-policy file and answers from its text instead of guessing.

Common mistakes

  • Treating it as removing errors entirely; quality follows what is retrieved.
  • Confusing it with training; it adds information at request time.

Source

Our summary is based on the page Google Cloud: What is RAG in our own wording, read on 2026-12-01. Read the official page for details.

Latest updates

The source page was read on 2026-12-01. Definitions can change, so check the source.

Similar tools

For neighbouring terms read the linked glossary pages, and for the full list read the glossary index.

Not verified

I read only the source page named, and our examples are illustrative and untested.

Related pages

Sources

Wording is ours, from the official source. Images and video belong to their owners and are credited with a link to the official page.

#glossary#ai-terms#rag#article#exec

Frequently asked questions

Which source is this page based on?

The definition is our summary of: Google Cloud: What is RAG, read on 2026-12-01. The example is our own.

How does it relate to NotebookLM?

NotebookLM answers from sources you upload. Read the source types and limits page.