Updating…

🍪We use cookies!

This website utilizes cookies to enable essential site functionality, as well as for analytics, personalization, and targeted advertising. You may change your settings at any time or accept the default settings.

CaptivateClick
  • Home/
  • Services/

    Web & Accessibility

    Web Agency
    • Web designResponsive sites built to convert.
    • Branding & identityBrand identity, logo and visual system designed to stay distinctive and consistent as you grow.
    • E-commerceWebshops built to sell.
    • Shopify agencyShopify stores that sell.
    • Landing pagesCampaign and offer pages.
    • PricingWhat a new business website costs.

    Search & Visibility

    SEO
    • Technical SEOHelp Google discover, read and index the right pages.
    • Local SEOMaps and local visibility.
    • SEO auditSee what holds you back and what to fix first.
    • Get found on GoogleHelp customers find your business.
    AI visibility
    • AI checkFree AI visibility check.
    • Answer engine optimisationBecome the answer AI cites.
    • GEO SEOShow up in AI-generated answers.
    • AI search (guide)Guide: what AI search is and what it means.

    Marketing & Sales

    Lead Generation
    • Cold emailRelevant outreach that starts conversations.
    • LinkedIn outreachSocial selling with a human voice.
    • Appointment settingQualified B2B meetings in your calendar.
    • ProspectingThe right companies, people and timing.
    Advertising
    • Ad reviewLanding page for your ad sends.
    • Google AdsGoogle Ads and SEM built around high-intent searches, qualified conversions and measurable revenue.
    • Google Ads consultantAn audit of your Google Ads account, the fixes that matter and monthly advice for your team.
    • Meta AdsFacebook and Instagram campaigns built around creative testing, clean signals and profitable scale.
    • LinkedIn AdsB2B campaigns built around account targeting, buying committees and qualified pipeline.

    AI & Automation

    AI Automation
    • AI agentsAgents that do the work.
    • Xero & QuickBooks integrationXero and QuickBooks connected to your systems.
    • HubSpot automationsHubSpot pipeline automation.
    • System integrationSystems that share the same data.
    • AI Site SearchAI-powered website search that helps visitors find relevant pages, services and knowledge.
    See all services
  • Projects/
    • HYPR SthlmWeb designView case
    • Climentum CapitalWeb designView case
    • NorthforkWeb designView case
    • Hawkeye AdvertisingWeb designView case
    • Høst HelseWeb designView case
    • ClimateHeroLead genView case
    All projects
  • About Us/
    People behind the workGet to know our team, how we work and where to find us.
    • How we workOur approach and what we believe in.
    • Where we areOur locations and the places we call home.
    • Meet the teamThe people you will work with.
    • Company factsA quick look at CaptivateClick.
    About CaptivateClick
  • Blog/What is RAG? How AI answers from your company's own data
    Ideas for your next movePractical guides on websites, marketing and AI. Find a topic and start exploring.
    • AI Automation
    • Tools & Tech
    • Lead Generation
    • Website Design
    • SEO Strategy
    • Digital Marketing
    • Email Marketing
    • Branding & Identity
    Explore all articles

Blog

What is RAG? How AI answers from your company's own data

Posted by AdamDecember 1, 20267 min read
Long curved bookshelves lit by strip lighting in a modern library with pale wooden floors

On this page

  • What is RAG?
  • How RAG works, step by step
  • RAG vs fine-tuning vs a plain chatbot
  • What companies use RAG for
  • What RAG takes and what it costs
  • 1. Built into Microsoft 365
  • 2. Ready-made cloud building blocks
  • 3. A custom RAG solution
  • Limits and risks
  • How to get started
  • Frequently asked questions
  • Sources

In short: RAG (retrieval-augmented generation) is a technique where an AI first searches your own documents and data, then writes its answer from what it found. It gives a business ChatGPT-style answers about its own products, prices and procedures, with sources, and without training a model of its own. The quality depends more on how tidy the underlying content is and who is allowed to see what than on which AI model you pick.

Key takeaways

RAG works in three steps: your content is indexed so it can be searched, the most relevant passages are retrieved for each question, and the language model writes the answer from those passages. It costs less than training your own model, and you update the knowledge by updating the documents. RAG reduces wrong answers but does not remove them, and it can expose documents that were shared too widely. Start with one narrow use case, clean up the content first and test against real questions.

Contents

  1. What is RAG?
  2. How RAG works, step by step
  3. RAG vs fine-tuning vs a plain chatbot
  4. What companies use RAG for
  5. What RAG takes and what it costs
  6. Limits and risks
  7. How to get started

What is RAG?

RAG is a method that hands a language model knowledge it was never trained on, just before it answers. The term comes from a 2020 research paper by Patrick Lewis and colleagues. They combined a language model with search over a large text collection and got more specific and more factual output than from a model relying only on what it had learned in training (Lewis et al., 2020).

Anyone who has tried ChatGPT at work knows the problem: the model knows nothing about your company, and it may make up an answer that sounds plausible and is wrong. AWS describes RAG as a way to have the model consult an authoritative knowledge base outside its training data before it responds, so the answer draws on current sources that can be shown to the user, without retraining the model (AWS).

When people talk about "AI on our own data", "a company ChatGPT" or "a chatbot that knows our documents", RAG is almost always what sits underneath.

How RAG works, step by step

RAG works in three steps: indexing, retrieval and generation (AWS).

  1. Indexing. Documents, manuals, web pages and database content are split into shorter passages, often called chunks. Each chunk is converted into a list of numbers, an embedding, that represents its meaning, and stored in a vector database.
  2. Retrieval. When someone asks a question, the question is turned into an embedding too. The system finds the chunks closest in meaning. Many solutions combine this semantic search with ordinary keyword search.
  3. Generation. The retrieved chunks are sent to the language model together with the question. The model writes the answer and can say which documents it is based on.

When a document changes, you update the index, not the model. That is why RAG suits knowledge that changes, such as price lists, product sheets and internal policies. OpenAI's file search tool is one example: it searches uploaded files using both semantic and keyword search, and the answer includes citations to the files it used (OpenAI).

RAG vs fine-tuning vs a plain chatbot

RAG is the right choice when the AI has to answer correctly from your own knowledge, and that knowledge changes. Fine-tuning is better suited to teaching a model a particular style or a fixed format. A plain chatbot is enough when the task does not need company data. AWS notes that retraining a model on an organisation's information is expensive and calls RAG a more cost-effective way to introduce new data (AWS).

Plain chatbotRAGFine-tuning
Knows your dataNo, only what you paste inYes, retrieves it for every questionPartly, whatever was in the training set
UpdatingNot applicableUpdate the documentsA new training run
Shows sourcesNoYesNo
Access rightsNot applicableCan follow each user's permissionsHard, everything is inside the model
Best forGeneral tasks and writingQuestions about your own knowledgeA fixed style, format or vocabulary

What companies use RAG for

RAG pays off where staff or customers keep asking things that are already written down somewhere. The most common uses:

  • Internal knowledge search. Employees ask about the staff handbook, procedures or past projects instead of digging through shared drives.
  • Customer service. A chatbot on the website, or an assistant for support agents, that answers from FAQs, product sheets and delivery terms.
  • Document-heavy work. Questions put to contracts, proposals, technical manuals and policies, for example about notice periods or warranty terms.
  • Business data. Questions about orders, customers or invoices, once the AI is connected to your ERP and CRM through system integration.

When the AI also has to act on the answer, for example open a ticket or update a customer record, you are building an AI agent. An agent often uses RAG as its knowledge source and a workflow tool such as n8n to carry out the steps.

What RAG takes and what it costs

There are three main routes, and they differ in time and cost.

1. Built into Microsoft 365

Microsoft Copilot uses a semantic index of your organisation's data in Microsoft 365. Microsoft enables the indexing automatically, and Copilot only surfaces results from content the user already has access to. According to Microsoft, prompts, responses and data accessed through the index are not used to train the underlying language models (Microsoft Learn). If your company already works in Microsoft 365, this is often the simplest place to start.

2. Ready-made cloud building blocks

If the AI should answer customers on your website or pull from several systems, you build with the vendors' ready-made parts. With OpenAI you upload files to a vector store, and the model searches it before answering (OpenAI). The technology itself is rarely the big cost. OpenAI's price list in December 2026 puts storage at $0.10 per GB per day, with the first gigabyte free, and searches at $2.50 per 1,000 tool calls, on top of the normal token cost of the model's answers (OpenAI).

3. A custom RAG solution

A custom build makes sense when you have specific requirements for where data is stored, specialist vocabulary, or many systems to connect.

Whichever route you take, most of the work sits outside the model: cleaning and structuring documents, setting permissions, building connections to your systems, testing, and keeping the content current afterwards. A pilot limited to one use case is therefore far lighter than a knowledge base for the whole company. We have not found reliable published figures for total project costs, so we do not quote any. It helps to settle scope and ownership first, as part of your AI strategy.

Limits and risks

RAG lowers the risk of wrong answers. It does not remove it. The model can still misread a passage or fill a gap with a guess, so answers that matter need checking.

  • Wrong retrieval. If the search returns the wrong passage, the answer will be wrong however good the model is. How documents are split matters a great deal, and tables and price lists deserve separate testing.
  • Outdated documents. Old versions, duplicates and conflicting documents produce conflicting answers. Someone has to own the content.
  • Access rights. The solution must respect existing permissions. Norway's data protection authority examined a Microsoft 365 Copilot rollout at the university NTNU and stressed that Copilot has access to the same information as the person using it, so weak access control is exposed and amplified. Its advice was to get your own house in order first and to introduce the tool in small, controlled steps (Datatilsynet). Microsoft also states that indexing does not change access permissions, and that administrators can exclude sensitive SharePoint sites such as payroll or HR from the index (Microsoft Learn).
  • Data protection. If the content contains personal data, the privacy rules that apply to your business apply to the AI's use of it as well. Check where the data is processed and what the vendor contract says. The Norwegian authority singled out HR and personnel management as particularly high risk (Datatilsynet). For customers inside the EU Data Boundary, Microsoft stores the semantic index in a datacentre in the EU or EFTA (Microsoft Learn).
  • Transparency. If you serve users in the EU, the EU AI Act says people should be made aware that they are interacting with a machine when they use a chatbot. The transparency rules took effect in August 2026 (European Commission). Telling users is good practice elsewhere too.

The same logic works in the other direction. Public AI assistants retrieve and cite web pages in much the same way, which is why clear, well-structured content matters for how AI chooses which companies to recommend.

How to get started

Start narrow and measure before you widen the scope.

  1. Pick one limited use case. For example the most common customer service questions, or the staff handbook.
  2. Clean up the content. Remove old versions and duplicates before anything is indexed.
  3. Decide who may see what. Start from the permissions you already have and keep sensitive material out from day one.
  4. Write 30 to 50 real questions with correct answers. Test the solution against them after every change.
  5. Always show the source. Users should be able to open the document the answer is based on.
  6. Name a content owner. Without one, answers go stale quickly.

Want an AI that answers from your own data?

We work out where RAG would help your business most and build the solution so that it respects your permissions and stays up to date.

Explore AI automation
CaptivateClick

Navigation

  • Home
  • Services
  • Projects
  • About Us
  • Blog
  • Privacy Policy

Services

  • Website Design
  • Lead Generation
  • SEO
  • Advertising
  • AI Automation
  • AI visibility

Web Agency

  • Web design
  • Branding & identity
  • E-commerce
  • Shopify agency
  • Landing pages
  • Pricing

Lead Generation

  • Cold email
  • LinkedIn outreach
  • Appointment setting
  • Prospecting

SEO

  • Technical SEO
  • Local SEO
  • SEO audit
  • Get found on Google

Advertising

  • Ad review
  • Google Ads
  • Google Ads consultant
  • Meta Ads
  • LinkedIn Ads

AI Automation

  • AI agents
  • Xero & QuickBooks integration
  • HubSpot automations
  • System integration
  • AI Site Search

AI visibility

  • AI check
  • Answer engine optimisation
  • GEO SEO
  • AI search (guide)
© 2026 CaptivateClick

Frequently asked questions

What is RAG in AI?

RAG stands for retrieval-augmented generation. The AI first searches a knowledge base, such as a company's documents, and then writes its answer from what it found. Answers are more accurate and can show their sources, and no model has to be trained.

How does RAG work?

In three steps. Documents are split into chunks and stored as embeddings in a vector database. For each question, the chunks closest in meaning are retrieved. The language model then writes the answer from those chunks and can cite the source.

What is the difference between RAG and fine-tuning?

RAG retrieves knowledge from your documents for every question, so you only need to update the documents. Fine-tuning changes the model itself and is better suited to teaching a style or a fixed format than to knowledge that changes.

How much does RAG cost?

The technology is rarely the main cost. OpenAI, for example, charges $0.10 per GB per day for file storage after the first free gigabyte and $2.50 per 1,000 search calls, plus token costs. Most of the work is cleaning content, setting permissions, connecting systems and testing.

Does RAG stop AI hallucinations?

No. RAG reduces wrong answers because the model works from your documents, but it can still retrieve the wrong passage or misread it. Show the source with every answer, test against real questions and have people check answers that matter.

Sources

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks, Lewis et al., arXiv
  2. What is RAG (Retrieval-Augmented Generation)?, AWS
  3. File search, OpenAI
  4. Pricing, OpenAI
  5. Semantic indexing for Microsoft Copilot, Microsoft Learn
  6. NTNU: Copilot through the lens of data protection, Datatilsynet (Norwegian Data Protection Authority)
  7. AI Act, European Commission
Let's get startedLet's get started

Ready to grow?

Let's talk about your project.

Trusted by 110+ businesses to grow online.

  • Mercer Consulting, Co.
  • Mercer Consulting, Co.
PreviousAI strategy for business: how to go from experiments to results

Related Posts

  • Read the blog

    What is n8n? A plain-English guide, with n8n vs Zapier, Make and Power Automate

    October 7, 20266 min read
    Read more
  • Read the blog

    AI strategy for business: how to go from experiments to results

    October 8, 20266 min read
    Read more
  • Read the blog

    How AI chooses which companies to recommend

    October 8, 20265 min read
    Read more