AI automation & agents

What is RAG (retrieval-augmented generation)?

Retrieval-augmented generation (RAG) is a technique in which an AI model first retrieves relevant information — from documents, a database or the web — and then uses it to write its answer. It grounds responses in specific, current sources rather than only what the model learned in training.

How RAG works

  • Your documents (service guides, policies, price lists, past answers) are split into chunks and stored, usually in a vector database.
  • When a question comes in, the system searches for the most relevant chunks.
  • Those chunks are given to the language model along with the question.
  • The model answers using that material, ideally citing it.

Why businesses use it

A model on its own doesn't know your prices, service area or policies, and may invent them (see AI hallucination). RAG lets a chatbot or agent answer from your actual information, and updating the documents updates the answers, with no retraining.

RAG vs. fine-tuning

RAG adds knowledge at question time; fine-tuning changes the model's behavior through training. For facts that change, RAG is almost always the better fit.

In practice

A property-management company loads its lease FAQs, maintenance policies and fee schedule into a RAG-powered chat assistant. When a tenant asks about pet fees, the assistant retrieves the relevant policy and answers from it, citing the document. When the policy changes, the team updates the document and the answers change with it.

Book a call

Put it to work. Talk it through with Kyle.

Pick a time for a free 30-minute strategy session. We look at your marketing, find the biggest opportunities, and map out what to build, whether we work together or not.

Kyle Painter
Kyle Painter
Co-founder, Disruptors Media

Can't see the calendar? Open it in a new window