Articles

Ask Your Files Anything: How RAG Turns a Shared Drive Into Answers You Can Trust

How RAG works in four steps: read every file, index it into passages, find the best matches by meaning and exact words, and answer with sources.

Here’s a question we hear from almost every business owner: “We have years of specs, procedures and emails on a shared drive. Why can’t I just ask it a question and get an answer?”

You can. The approach that makes it work is called RAG, and this article explains how it works, step by step, in plain English. Not just the idea, but the parts that make it trustworthy enough to actually use.

Is this your problem?

See if any of this sounds familiar:

  • The answer is in a document somewhere. It’s on the shared drive… somewhere.
  • “Ask Ashley. She knows where it is.”
  • The same question gets three different answers from three different people.
  • New hires take months just to learn where things live.

If you’re nodding along, the information isn’t missing. It’s buried. And that quietly costs you in three ways:

  • Hours lost hunting. Every search, every “hey, do you know where…,” every wait for the one person who knows. It adds up across a whole team, every day.
  • Knowledge walks out the door. When long-time staff retire, the map to your documents leaves with them.
  • The wrong version gets used. An outdated spec looks just as official as the current one. Nobody notices until something comes back wrong.

Why not just ask ChatGPT?

It’s the obvious idea. But a chatbot on its own can’t do this job, for three reasons:

  1. It has never seen your files. Your specs, procedures and emails were never part of what it learned.
  2. You can’t hand it everything. You can upload a few documents, but a shared drive holds far more than any AI can read in one go.
  3. It guesses with confidence. Ask about something it doesn’t know, and it may invent a plausible answer. A made-up customer spec sounds exactly as sure as a real one.

RAG fixes all three.

The answer has a name: RAG

RAG stands for Retrieval-Augmented Generation. The term comes from a 2020 research paper, and today it’s the standard way to make AI answer from your own documents instead of from whatever it picked up on the internet.

The name is actually the recipe:

  • Retrieve: find the right passages in your files.
  • Augment: hand those passages to the AI along with the question.
  • Generate: have the AI write an answer using only those passages.

Simple to say. The skill is in doing each step well on real, messy files.

How RAG works, in four steps

The first two steps happen ahead of time, in the background, on a schedule. The last two happen when someone asks a question.

1. Read every file, even the messy ones

Before anything can be searched, the text has to come out of each file. That sounds trivial. It isn’t. PDFs, Word documents, spreadsheets and emails all store text differently. A scanned spec sheet is just a picture of words, so it needs OCR (optical character recognition) to turn it back into text. And some files, like design files and photos, have nothing readable at all.

One rule we hold to: every file stays findable by its name and folder, even when its contents can’t be read.

2. Index: cut documents into passages

The system searches passages, not whole files, so it can hand the AI just the part that matters instead of a 40-page manual. How you cut matters. Too big, and the one sentence you need drowns in noise. Too small, and a settings table gets separated from its header, so the numbers lose their meaning. Passages overlap a little, so nothing falls through the cracks.

Each passage also gets a “meaning fingerprint.” The technical term is an embedding. It lets the system file passages by what they mean, so similar ideas sit close together.

3. Find: two kinds of search, blended

Here’s a detail a lot of quick demos get wrong: you need two kinds of search.

  • Search by meaning understands what you mean, even when you use different words. Ask “How long does it bake?” and it finds the passage about oven dwell time.
  • Search by exact match catches the part numbers and job codes that meaning-search blurs. Ask about AX-2207 and you want AX-2207, not something similar.

Neither works alone, so their results are merged into one ranked list. A match in a file name or folder counts extra.

4. Answer, with receipts

This is the part people picture when they think of AI, and it’s actually the smallest step, because the hard work already happened. The AI sees only the question and the few passages the search found, and it’s told to answer from those and nothing else.

Every answer lists the files it came from, so anyone can click through and check. That’s what makes people trust it. And if nothing relevant was found, it says so instead of guessing.

Q: What’s the oven dwell time for part AX-2207?
A: 45 seconds at 180 °C, according to the current process sheet.
Source: Specs / AX-2207 Process Sheet.pdf

An illustrative example

What separates a demo from something your team will trust

The four steps are well known. What makes RAG worth relying on is how it handles the questions every owner asks before they’ll trust it:

  • “Our documents contradict each other.” They always do. A well-built system doesn’t quietly pick one. It says, “Your documents disagree: one says 45 seconds, another says 60. Check which one is current.” That turns a hidden problem into a fix.
  • “I’m not sending our files to an AI company.” With the right setup, the system can run on your own server, right next to your files. It only reads them, never moves or changes them. The AI sees only the question and a few passages, and sensitive folders like HR or finance can be left out entirely.
  • “Won’t it go stale or break?” It re-reads your files on a schedule, picking up new and changed ones. And it’s built to raise a flag, not wipe its index, if the shared drive drops offline.
  • “How do I know it’s right?” You test it the way you’d test a new hire. Collect 20 to 30 real questions your people ask, with the right answers. Score every answer, and turn on AI answers only when the score is good enough for the people who’ll rely on them.

And when it gets one wrong, which it will, the sources show you why. You don’t retrain the AI. You fix what it reads and how it finds things.

Is RAG right for your business?

It’s a good fit when:

  • People dig through lots of documents
  • The same questions come up again and again
  • The answers are written down somewhere

Fix this first when:

  • The know-how lives only in people’s heads. Then the first project is getting it written down.
  • Your documents are mostly outdated or contradict each other. RAG will find those problems fast, but it can’t fix them for you.
  • The answers live in a database, like your ERP or accounting system. That’s usually a reporting job, not a RAG job.

The pattern is common. Doing it well is the work.

What could your files answer?

If you’ve got a shared drive full of specs, procedures and emails that people dig through every day, book a free 15-minute call. We’ll look at where your knowledge actually lives and whether RAG is the right fit. And if it’s not, we’ll tell you that too.

Keep reading

See all articles

Want help putting this into practice?

A free, no-pressure 15-minute call about your business. You'll leave with at least one idea you can use right away.