RAG for small business sounds like infrastructure. It's simpler than the acronym: before the model answers, your software looks up the relevant passages in your own documents and hands them over with the question. Most small businesses don't need to build it, and the ones that do succeed or fail on their documents, not on the model.

The short version
  • RAG is an open-book exam. Search your documents, put the best passages in the prompt, tell the model to answer only from them.
  • For staff, you probably don't need to build it. Claude Projects on paid plans switch to retrieval on their own when the knowledge gets large, and ChatGPT projects take files too.
  • Build it when it's public or needs control: customer-facing answers, content that changes weekly, sources and logs on every answer.
  • Content preparation is most of the job. One source of truth per fact, clear structure, an owner and a review date on every document.
  • Chunk by heading, keep the context, search two ways. Keyword search finds exact terms; meaning search finds paraphrases. Combined, they miss less.
  • Test with a fixed question set and rerun it after every change. Score search and answer separately.
  • The failures are predictable: stale documents, contradicting documents, and confident answers when search found nothing.

Retrieval over your own content is, in our view, the version of AI on a website worth paying for. This playbook is for an owner or marketer deciding whether to build it and what to prepare. The developer side of putting it behind a chat widget is in our guide to adding an AI chatbot to a website. Product facts are from vendor documentation as fetched in December 2026.

What RAG means, in plain words

A language model knows a great deal about the public world up to its training cutoff. It has never seen your returns policy, your service area, your current prices or the installation manual for the product you sell. Ask it anyway and it will answer from general knowledge, which for business questions means a plausible guess.

Retrieval-augmented generation fixes that in three steps:

  1. Retrieve. Search your own documents for the passages most likely to answer the question.
  2. Augment. Put those passages into the prompt, labelled with where they came from.
  3. Generate. Ask the model to answer using only those passages, and to say so when they don't contain the answer.

Say you run a heating company and a customer asks whether you service a particular furnace brand in Burnaby. Retrieval finds your service-area page and the brands section of your services page. The model writes two sentences from those passages and links both. If neither page mentions the brand, the right answer is "I can't tell from our site" and your contact form, not a guess about what heating companies usually do.

The model supplies the language. Your documents supply the facts. That division is the whole idea, and it tells you where quality comes from: if the right passage reaches the model, a current model will usually write a good answer from it. If the wrong passage arrives, or none, no prompt will save you.

It also tells you what RAG isn't. It isn't training a model on your data, and it doesn't make the model "learn" your business. Every answer is built fresh from whatever the search returns that time.

When you don't need RAG

The simplest form of retrieval is no retrieval: put everything in the prompt. When Anthropic published its contextual retrieval research in September 2024, it suggested that a knowledge base under about 200,000 tokens, roughly 500 pages, could simply be included whole. Context windows have grown since. As of December 2026, Anthropic's models overview lists a one-million-token window for its current models, which it puts at roughly 555,000 words.

For a team using AI internally, the built-in tools already do this:

  • Claude Projects are workspaces with their own knowledge base and instructions, available on every plan (Anthropic help centre). On paid plans, Anthropic says retrieval switches on automatically "when your project approaches or exceeds the context window limits" and can expand capacity "by up to 10x" (RAG for projects, updated October 30, 2026). You don't configure it.
  • ChatGPT projects take uploaded PDFs, spreadsheets, documents and pasted text, with file limits that rise by plan: 5 files on Free, 25 on Go and Plus, 40 on Pro, Business, Enterprise and Edu as of December 2026 (OpenAI help centre).

So if the job is "staff should be able to ask questions about our policies, price sheets and procedures", start with a shared project on a business plan and a clean document set. That covers more small businesses than any custom build, and the document clean-up you do for it is the same work a custom build would need. Which business plan, and what it does with your data, is covered in our Canadian guide to client data in ChatGPT or Claude.

When RAG for small business is worth building

Build your own retrieval when one of these is true:

Situation Why a project isn't enough What to build
Customers ask questions on your website A project is a staff tool, not a public endpoint Search over your public pages behind a widget, with a handoff
Content changes weekly Re-uploading files by hand goes stale An index rebuilt automatically when content is published
Every answer needs a source link You need the page URL returned with the answer Retrieval that keeps URLs, plus citations
You must log and review answers You need your own record of questions and outcomes Server-side logging you control
The content lives in your systems A catalogue, booking system or CMS a project can't read Retrieval wired to that system's data

Notice that model quality isn't on the list. The models are good enough. The reasons to build are about where the content lives, who's asking and what you need to prove afterwards.

Prepare the content first

Every RAG project we'd take on starts with the documents, because that's where most failures are born. Before anyone writes code:

  • One source of truth per fact. If your return window appears on four pages and two of them say 14 days while two say 30, the model will quote whichever passage search finds first. Decide where each fact lives and link to it from everywhere else.
  • Structure for humans and you get structure for search. One topic per page or section. Headings that say what's underneath, ideally phrased the way a customer would ask. Tables for things that are tables.
  • Freshness, owned by a person. Every document gets an owner and a review date. Superseded documents are deleted or clearly archived, not left in the folder "just in case".
  • Write down what's only in people's heads. The questions your staff answer from memory are often the most valuable ones and the least documented.
  • Label what's public and what isn't. Internal pricing notes, HR policies and client files must never be indexed into anything a customer can query. Decide this before indexing, not after a customer finds it.
  • Fix the scanned PDFs. Anthropic's citations documentation notes that a scanned PDF with no extractable text can't be cited. If your manuals are photographs of paper, they need converting first.

If your content lives in a CMS with structured fields (practice areas, product specifications, FAQs as their own entries), you're ahead. Structured content is easier to chunk, label and keep fresh than a folder of Word files.

Chunking and search, in plain language

Search doesn't hand the model whole documents. It hands over passages, called chunks. Anthropic's contextual retrieval write-up describes chunks as "usually no more than a few hundred tokens", a few paragraphs of text.

How you cut them matters more than most people expect:

  • Cut along the document's own structure. One section under one heading makes a chunk. Cutting at a fixed character count splits sentences and tables in half.
  • Keep the context with the chunk. A passage that says "the warranty is two years" is useless if it doesn't say which product. Store the page title, section heading, URL and last-updated date with every chunk, and include the title and heading in the text that gets searched. Anthropic's write-up is built on this problem: chunks that lose their surrounding context get retrieved wrongly.
  • Search two ways. Keyword search (the standard method is called BM25) is good at exact terms: model numbers, product names, the precise phrase a customer typed. Meaning search uses embeddings, numerical fingerprints of what text is about, and finds passages that use different words for the same idea. In Anthropic's own tests, combining contextualised embeddings with contextualised keyword search cut the rate of failed retrievals in the top 20 results by 49%, and adding a reranking step took that to 67%.

Two practical notes. Anthropic doesn't sell an embedding model; as of December 2026 its embeddings guide points to Voyage AI and says to assess several providers. And for a small site, plain keyword search over well-structured pages is a reasonable first version. Add meaning search when your question set shows keyword search missing paraphrased questions, not before.

When the passages reach the model, ask for sources. The Claude API's citations feature returns the exact passage behind each claim, and Anthropic says the returned citations "are guaranteed to contain valid pointers to the provided documents." That's what lets you show a visitor which page an answer came from, and lets you check it.

Evaluation: a fixed question set

The single most useful thing you can build for a RAG project is a list of questions that never changes.

  1. Collect real questions. Thirty to fifty from your inbox, call notes and site search is a good start. Use the customer's wording, typos included.
  2. Write the expected answer and its source for each one: the correct answer in a sentence, and the page or document it should come from.
  3. Add questions it should refuse: things outside your scope, requests for advice, questions about a specific customer.
  4. Add the awkward ones: questions where two documents disagree, questions that need two documents at once, questions with no answer in your content.
  5. Score two things separately. Did search return the right source in its top few results? Did the answer match the expected answer and cite that source? A wrong answer with the right passage is a prompt problem. A wrong answer with the wrong passage is a search or content problem.
  6. Rerun the whole set after every change: new content, different chunking, a new prompt, a new model.

When a question fails, write down why: missing content, the wrong passage, or a bad answer from the right passage. After a few runs the pattern tells you where to spend your time, and it's usually the content.

A spreadsheet is enough. The point is that the questions stay fixed, so this week's run can be compared with last month's. Without a fixed set, every change gets judged on whichever three questions someone tried that afternoon.

What goes wrong

The failure modes are well known and mostly boring:

  • Stale documents. Last year's price page is still in the index, so the bot quotes it. Fix: rebuild the index from the published site or CMS, not from a folder someone remembers to update.
  • Conflicting documents. Two policies disagree and search returns either. The model can't know which is current. Fix: one source of truth, and dates on everything so the newer one can win.
  • Confident wrong answers. Search returns something loosely related, and the model writes a fluent answer from it. Fix: instruct it to answer only from the passages or hand off, skip the model call when search finds nothing, and test with questions that have no answer.
  • Questions that span the whole collection. "Which of your products are under 2 kg?" needs every product, not the top four passages. Simple retrieval handles these poorly. Answer them from structured data instead, or don't promise them.
  • Leaks. Internal documents end up in a public index. Fix: separate indexes for public and internal content, with the boundary decided before indexing.

Almost none of these are fixed by a better model. They're fixed by content discipline and a question set that catches them.

Build or buy

Option Good for You own Effort
A Claude or ChatGPT project on a business plan Staff asking questions of a stable document set The documents and instructions Low
Your platform's AI answers (help desk, store platform) Customer answers over content you already keep there The help content Low to medium
A custom build: your index plus a model API Public answers that need control over scope, sources, logs and handoff Everything, including maintenance Medium to high

We haven't benchmarked the platform AI-answer products, so that row is based on how the category is documented, not on our builds. Ask any vendor the same questions you'd ask of your own build: does it answer only from your content, can you read every conversation, and what happens when it doesn't know?

Our recommendation

  • Staff need answers from internal documents → a shared project on a business plan. Clean the documents first; skip the build.
  • Customers need answers from your public content → a custom retrieval endpoint over your published pages, with source links, a handoff and logs. Start with keyword search and add meaning search when the question set says so.
  • Your content is a mess → fix the content. That work pays off whichever option you pick, and on your website for human readers too.
  • Always → write the fixed question set before you choose anything. It's the only fair way to compare options, and the only way to know if a change helped.

Related guides: Add an AI chatbot to your website · Headless WordPress with the Claude API

If you have a body of content customers struggle to search and want to know whether retrieval would help, tell us what you have and who's asking. Scoping a narrow prototype against your real documents, measured on your real questions, is how our AI integration work begins.

Keep reading

Work with Rough Works

Need a partner for your next site? We're a Vancouver-based digital agency building websites and AI-enhanced experiences for brands across Canada and the United States. Start a project →

Common questions

What is RAG in simple terms?

Retrieval-augmented generation is an open-book exam for an AI model. Before the model answers, your software searches your own documents for the passages most relevant to the question, pastes those passages into the prompt, and tells the model to answer from them. The model supplies the language; your documents supply the facts. It exists because a model has never seen your price list, policies or product manuals, and without retrieval it will answer from general knowledge or guess. The quality depends far more on your documents and search than on the model.

Do I need RAG, or can I just upload documents to ChatGPT or Claude?

For internal use, uploading is often enough. Claude Projects are available on every plan, and as of December 2026 Anthropic says paid plans switch on retrieval automatically when a project's knowledge nears the context window, expanding capacity by up to ten times. ChatGPT projects also take uploaded files, with per-plan file limits. Build your own RAG when the answers are customer-facing, the documents change often, you need logs and source links on every answer, or the content lives in a system a project can't read.

How many documents does a small business need before RAG makes sense?

There's no fixed number, and document count is the wrong measure. Anthropic's 2024 contextual retrieval write-up suggested that a knowledge base under about 200,000 tokens, roughly 500 pages, could simply go in the prompt, and current models accept far more. The better test is the job: who is asking, how often the content changes, whether every answer needs a source link, and whether you need to log and review answers. A small, stable document set used by staff rarely needs a custom build.

What is chunking in RAG?

Chunking is cutting your documents into passages small enough to search and hand to the model, usually a few hundred tokens each. Good chunks follow the document's own structure: one section under one heading, with the page title, section heading, URL and last-updated date kept alongside it. Bad chunks are cut at a fixed length mid-sentence and lose the context that made them meaningful, such as which product or which year a figure refers to. Most retrieval problems trace back to chunks that can't be understood on their own.

How do I test whether a RAG chatbot gives accurate answers?

Build a fixed question set before launch: real questions from your inbox and call notes, each with the correct answer and the page it should come from. Include questions it should refuse and questions where your documents disagree. Score each run on two things separately: did search find the right page, and did the answer match it? Rerun the whole set after every change to content, chunking, prompt or model. A spreadsheet is enough. The point is that the questions never change, so you can compare runs.

Why does my RAG chatbot give wrong answers?

Usually one of four reasons. Search retrieved the wrong passage or nothing useful, and the model filled the gap. The documents themselves are stale or contradict each other, so the model faithfully repeated an old price. Chunks lost their context, so a figure got attached to the wrong product. Or the question needs information spread across many documents, such as a total or a comparison, which simple retrieval handles poorly. Check retrieval first: if the right passage never reached the model, no prompt change will fix the answer.

Should a small business build or buy a RAG system?

Buy first for internal use: a Claude or ChatGPT project on a business plan, with a clean document set, covers most staff question-answering. Buy again if your help desk or platform already offers AI answers over content you keep there. Build when the answers are public, you need control over scope, sources, logging and handoff, or the content sits in your own systems. Whichever you choose, most of the effort goes into the documents and the question set, and that work carries over if you switch later.