StudyToCert

All certifications / Azure AI Fundamentals / Lessons

Microsoft Certified: Azure AI Fundamentals AI-900 · Domain 5: Generative AI workloads on Azure

Grounding and retrieval augmented generation (RAG) with your own data

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

An AI chat model only knows what it read before it was finished, so it has never seen your company's own documents. Grounding means giving the model the right information at the moment it answers, and telling it to use only that. Retrieval augmented generation, or RAG, is the usual way to do this. Before answering, the app searches your documents for the most relevant passages, pastes them into the message it sends the model, and asks the model to answer from them. It is like an open-book exam: instead of answering from memory, the student looks up the right page first. When your documents change, you just update the search index, and the answers change too.

At Cedar Valley Health, the benefits team launches a chat assistant on Monday. By Wednesday, Tomas in HR has three complaints: the assistant told employees they get ten days of parental leave, when the handbook updated in January says sixteen. It also quoted a dental plan the company dropped two years ago. The assistant writes beautifully and cites nothing. Tomas asks you whether the fix is to retrain the model on the handbook every time it changes, which sounds expensive and slow. There has to be a better way to make the assistant answer from the current handbook, and to show employees where each answer came from. What is it?

A large language model knows only what was in its training data. It has never seen your company's policies, product catalog or last week's announcements, and when asked about them it may confidently invent an answer. Grounding solves this by giving the model relevant, trusted information in the prompt and instructing it to base its answer on that information. Grounding does not change the model at all; it changes what the model sees when it generates a response.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Azure AI Fundamentals for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Azure AI Fundamentals study plan