WEMAXA.COM Design · Development · AI · Available worldwide
Studio / Wemaxa 01
Status Active Location Worldwide Focus Web + AI Delivery Remote Response < 1 Business Day
AI Reference 057 Large Language Models Wikipedia guided Primary sources linked

Retrieval-Augmented Generation

Definition

Retrieval-augmented generation combines a generative model with retrieval from an external collection such as documents, databases or search results. Retrieved material is inserted into the model's context so the answer can be grounded in information outside the model's parameters.

What is RAG?

Retrieval-augmented generation, or RAG, combines a generative model with an external retrieval system. Before answering, the system searches a document collection or database and places relevant information into the model's context.

A typical RAG pipeline

Documents are often split into chunks and indexed with embeddings or keyword search. A user query retrieves the most relevant chunks, and the LLM is instructed to answer using that material. Better systems also keep source identifiers so the answer can show citations.

Why companies use RAG

RAG lets an application use private or frequently changing information without retraining the base model whenever a document changes. Its quality depends heavily on document preparation, retrieval accuracy and whether the model is required to stay within the retrieved evidence.

Related terms, defined

Reference guide and primary sources

Wikipedia is used here as a terminology and history reference guide. Current model versions, institutional statistics and product-specific claims are also linked to first-party or institutional sources because those details can change faster than encyclopedia articles.