# RAG

AI with the right folder open.

Track: AI Tools and Systems

## What is it?

RAG means retrieval augmented generation. The phrase sounds heavy, but the idea is simple. Before the AI answers, it first looks for relevant information in a chosen source. That source could be a policy folder, product manual, support knowledge base, research library, or company document set. Then the AI uses what it found to write the answer. The simple memory hook is this: RAG is AI with the right folder open.

## Why it matters

Most workplace questions are not general questions. You are not asking, what is a refund policy? You are asking, what is our refund policy? You are not asking how companies handle security reviews. You are asking what your process says. That difference matters. A normal AI answer may sound useful but miss your actual rules, latest documents, approved wording, or product details. RAG helps by giving the AI source material to consult before answering.

## How it works

RAG usually has three steps. First, the user asks a question. Second, the system searches a selected set of documents and pulls back the pieces that seem relevant. Third, the AI writes an answer using those pieces. Think of it like telling an assistant, before you answer, open the latest HR policy and check the travel section. That is very different from asking the assistant to answer from memory.

## Analogy

Imagine a senior executive asks, can we approve this customer discount? One person answers from memory. They sound confident, but they may be remembering last year's rule. Another person opens the latest pricing policy, checks the approval matrix, reads the exception rule, and then answers. You would trust the second person more. That is the point of RAG. It gives the AI something specific to consult before it speaks.

## Example usage

RAG is useful when the answer should come from a specific source. A support team can answer from product documentation. An HR team can answer from employee policies. A sales team can find approved product language. A compliance team can search internal guidance before drafting a response. In each case, the value is not only speed. The value is that the answer has a better chance of staying close to the source material.

## How to use this

Use RAG when the question depends on documents. Ask yourself: should the answer come from general knowledge, or from a specific source? If the answer should come from a specific source, RAG may help. But set rules. Use approved documents. Prefer current sources. Show the source where possible. Avoid adding claims that are not in the retrieved material. For important work, always ask what source the answer used.

## Common mistake

The common mistake is thinking RAG fixes hallucinations automatically. It does not. RAG can reduce some risk by giving the AI source material. But if the source is old, incomplete, messy, duplicated, or badly retrieved, the answer can still be wrong. A poor RAG system is like an employee opening the wrong folder and writing a beautiful summary of the wrong document.

## Question to ask

- **Source fit**: Which documents should this answer be based on?
- **Source quality**: Are those documents current, approved, and complete?
- **Retrieval check**: Did the system pull the right passage, or just something that looked similar?
- **Answer control**: Did the answer stay inside the source, or did it add unsupported claims?

## Quick quiz

What does RAG add before the AI writes an answer?

## Flashcard

**Question:** What is the easiest way to remember RAG?

**Answer:** RAG is AI with the right folder open. It retrieves relevant source material before generating an answer.
