CertBrain
Sign in
← Back to decks
Sign in to save your progress.Sign in

Retrieval Augmented Generation

Retrieval Augmented Generation (RAG) gives a foundation model access to your own information at the moment it answers. Instead of retraining the model, the application looks up relevant passages from your documents and adds them to the prompt, so the answer is based on current, company-specific…

10 cards

Retrieval Augmented Generation

In this lesson · 5 sections

Terms you'll meet

Tap a card to see what it means.

Step 1 of 5

Retrieval Augmented Generation (RAG) gives a foundation model access to your own information at the moment it answers. Instead of retraining the model, the application looks up relevant passages from your documents and adds them to the prompt, so the answer is based on current, company-specific facts. RAG is one of the most tested designs on the exam because it solves a very common business problem cheaply.

The Problem RAG Solves

A foundation model only knows what was in its training data, and that data stops at a cutoff date. It has never seen your price list, your HR policies or last week's product update. Asked about them, it may guess and produce a confident but wrong answer, a hallucination. Retraining the model every time a document changes would be slow and very expensive. RAG keeps the model as it is and brings the right facts to it on each request.