# Retrieval-augmented generation (RAG)

[Get your free AI Snapshot](https://aibyneoteric.com/free-ai-check/)

Retrieval-augmented generation, or RAG, is an AI tool looking up the right passages in your own documents first, then writing its answer from them. This definition is ours. Neoteric AI puts AI to work in Mississippi businesses.

## Look it up, then answer

A language model writes from what it learned in training, and training knows nothing about your price sheet or your house rules. RAG adds a search step. Before answering, the tool finds the few passages in your documents that match the question and writes from those.

Done well, the answer can point to the page it came from. Done badly, it finds the wrong page and sounds just as sure.

Ask where each answer came from.

## A landscaping company in Madison

Say you run a landscaping company in Madison. Your crew leads keep asking the same questions about plant care and which mulch goes where. Load your care sheets into a RAG tool, and a crew lead can ask from a phone and get the answer from your own sheet, with the sheet named.

Keep the sheets current. Old sheets give old advice.

## What makes RAG work

- **Clean documents** Current, one version of each, nothing that contradicts.
- **Short passages** Long sheets broken into pieces the search can find.
- **Named sources** Each answer says where it came from.
- **A spot check** Someone tests it with questions they already know the answer to.

## Related terms

- [Grounding](/glossary/grounding/): answers based on trusted sources.
- [Knowledge base](/glossary/knowledge-base/): your facts, in one place.
- [AI hallucination](/glossary/ai-hallucination/): an answer that sounds right and isn't.

Read grounding next.

## Start with one binder

Your free AI Snapshot names one task we can take off your desk. If that task means looking things up, pick the one binder it needs.

One binder, kept current.

[Get your free AI Snapshot](https://aibyneoteric.com/free-ai-check/)

## Related

- [AI automation](https://aibyneoteric.com/services/ai-automation/)
- [Grounding](https://aibyneoteric.com/glossary/grounding/)
- [Knowledge base](https://aibyneoteric.com/glossary/knowledge-base/)
