Updated 2026-03-26

What is RAG?

Filed under AI & modern tech

Why teams use RAG

A normal LLM answer comes from patterns learned during training. That can be outdated or too generic. RAG lets the system look up your docs, policies, product pages, or notes first, then answer with that context.

Simple RAG flow

1) User asks a question. 2) The system searches a document store for relevant chunks. 3) Those chunks are added to the prompt. 4) The model writes an answer using the retrieved material.

Good RAG systems also cite sources, handle cases where nothing relevant is found, and keep documents fresh.

  • A company chatbot answering from internal policy docs
  • A help center assistant quoting product documentation
  • A research tool summarizing uploaded PDFs

Common questions

Does RAG stop hallucinations completely?

No, but it usually reduces them for document-based questions. The model can still misread retrieved text or blend it incorrectly, so citations and review still matter.

Glossary terms

Keep reading