Using RAG with Company Documents: What You Actually Need

فريق صنداي

8/11/2026 3 min read
Using RAG with Company Documents: What You Actually Need

You want an assistant that answers staff or customers from your company's documents: policies, how-to guides, standard contracts, recurring support questions. The technique usually behind this is called RAG (Retrieval-Augmented Generation). The system first searches your documents for the parts related to the question, then a language model writes the answer based on what it found.

The idea is simple, but answer quality depends on your documents far more than on the model. Here's what you actually need to prepare.

1. One current version of everything

If you have three versions of your returns policy, the assistant will sometimes answer from the old one. Before anything else:

  • Gather the documents you need in one place.
  • Delete or archive old versions, or at least date them clearly.
  • Give each document an owner who updates it when things change.

2. Documents a machine can read

Scanned PDFs saved as images, complex tables and information buried inside pictures all make it hard to extract text accurately, especially in Arabic. What works best is clear text with headings and short sections, each covering one topic. A document that's well written for people is usually well written for the assistant too.

3. Permissions

Not every employee should see everything. If the assistant reads HR files and contracts, it needs to respect the same permissions you already have in Google Drive or SharePoint. Decide early whether the assistant is internal or customer-facing, and keep a separate set of documents for each.

4. Citing the source

Ask for every answer to come with the name of the document it relied on, or a link to it. That lets people check for themselves, and it quickly shows when the assistant is leaning on an outdated file.

Also decide what happens when it can't find an answer. It's much better for it to say clearly that it doesn't know and point to the right person than to guess.

5. Real test questions

Before launch, collect a list of questions people actually ask, with the correct answer for each. Run the assistant against them and check the results by hand. Repeat the test after every significant update to the documents.

What you don't need at the start

  • You don't need to train your own model. RAG works with off-the-shelf models.
  • You don't need every document in the company. Start with one area, like support questions or staff policies.
  • You don't need a complex interface. An assistant in Slack or a simple web page is enough for a pilot.

Where to start

Before you choose a platform or a model, get your documents in order: one version, clear text, an owner for each file and a list of test questions. That's what decides whether the assistant is useful or a source of confidently wrong answers. You can read about our AI and automation service or our work with tech companies. If you'd like to build a pilot on one area with us, talk to us.