Skip to content

Retrieval-augmented generation (RAG)

No editor has reviewed this definition yet, and search engines are not shown it until it is reviewed.

First searching your documents for the passages related to a question, then putting them in the prompt so the model answers from them. It gives the model knowledge it was not trained on, without retraining it.

In Arabic

التوليد المعزز بالاسترجاع

أن تبحث أولاً في مستنداتك عن المقاطع المتعلقة بالسؤال، ثم تضعها في البرومبت ليجيب النموذج منها. يعطي النموذج معرفة لم يتدرب عليها دون إعادة تدريبه.

Also known as: RAG، retrieval augmented generation

See also

In the learning paths

All terms