What is RAG? AI that looks up your own documents

Someone asks about expenses, and you end up hunting for the policy again. RAG lets AI look up the relevant part of your own documents before answering. With current files and the right permissions, your team gets an answer they can trace back to the page.

Read the transcript

Hello, and welcome. Let's start with the short answer, and then I'll show you what sits behind it. Retrieval-augmented generation (RAG) is a way of answering a question by finding relevant material and giving that material to an AI model as it writes. A business can use RAG to answer from its current instructions. The answer still depends on finding the right passage and reading the passage correctly. At a food manufacturer, a fitter asks Jo for the handling sheet for a replacement oven. Match on: Full model reference including the suffix on the order. Show alongside answer: Document title, revision and page containing the reference. Hold for Jo: Order reference differs from the label on the equipment. Now, a word of caution. There are one or two places where it pays to be careful, and here they are. What does the search return when the model reference differs by its last letter? Can a fitter find the current sheet while an archived copy still exists? If the right document is missing, where does the question go for a person to resolve? So, what next? If you would like to talk this through for your own business, book a call with Struan.

Stop answering the same policy question

A colleague asks whether an overnight stay needs approval. You know the answer is in the expenses policy. Finding the current policy takes longer than answering the question, and somebody else will ask again next week.

RAG stands for retrieval-augmented generation. The plain version is easier: look up the relevant information, then write an answer using that information. Think of giving a colleague the right page of the handbook before asking them to explain a rule.

  1. Ask your question

    Your colleague asks which overnight stays need approval.

  2. Find the relevant passage

    The search finds the expenses rule in the approved documents.

  3. Answer from the document

    AI uses that passage to draft an answer with a source to check.

The same approach helps with product notes, customer agreements and instructions for recurring jobs. AI gets the relevant material at the time of the question. Your business can update a policy without teaching the whole AI model again.

Give your team a source to trust

A fluent answer is easy to accept when you're busy. With RAG in place, your colleague can open the policy behind the answer and check the wording. That link matters when the answer affects a customer commitment or a spending decision.

Today
  • People ask whoever remembers the rule
  • Old and current policies sit together
  • Answers travel without the original document
With AI set up for the job
  • AI searches the approved business files
  • Current versions are clearly marked
  • Answers link back to the relevant passage

RAG still gets things wrong. The search can pick an old document, or the AI can miss an exception in the right one. A file uploaded today might contain last year's policy. Someone in your business needs to own which version applies.

Give the search a good starting point
  • Keep the current version clearly marked
  • Make the original passage easy to open
  • Limit searches to documents the colleague can read
  • Show when the files don't contain an answer

RAG and fine-tuning do different jobs. Fine-tuning trains a model on examples to change how the model behaves. RAG supplies material for the question in front of you. For a team trying to find answers in changing business documents, start by getting that lookup right.

Understand what fine-tuning changes

Answer repeat questions from your own sources

A good fit if

  • Staff ask the same questions about company documents
  • Your answers depend on current business information
  • Someone owns the documents and keeps them up to date

Probably not yet if

  • The answer only exists in someone's head
  • Nobody can identify the current documents
  • Your files have no agreed access rules

Try a question with an awkward answer

Give a supplier an old policy and the current replacement. Ask a question whose answer changed. Then ask something neither document covers. You want to see the current source used and the missing answer acknowledged.

Ask before connecting your files
  • How soon does a changed document reach the search?
  • Can staff open the passage behind each answer?
  • What happens when the right document is missing?
  • How are private files kept out of other people's answers?

Tired of being the person who knows where everything lives? We build your company brain, one home for everything your business knows, and set AI up to use that knowledge for each job. Book a call and bring a question your team asks every week. We'll show you where to start.

Questions and answers

What happens when we update a policy?

The new policy can inform answers once the search has picked up the change. Your setup needs a clear way to replace old versions and refresh the searchable files. Try a question whose answer changed, then open the source to check that AI used the new policy.

Sources

Try a question with an awkward answer

AI language getting in the way of a decision? Bring the proposal to a call. We’ll explain what the wording means for your business and the job you need done.

See how we give AI your business knowledge