Most teams have the same problem in a different shape. The answers exist, in a policy PDF, a product sheet, an SOP in Google Drive or a long Notion page, but people still ask a colleague because finding the right paragraph takes longer than asking. New staff ask the most. Customers ask the same ten questions on WhatsApp every day.
An assistant that reads those documents and answers in plain language can take most of that load. It can also cause real trouble if it is set up to answer things it should not. This guide is about drawing that line before you build.
How a document assistant works
The usual method is called retrieval-augmented generation, or RAG. In plain words:
- Your documents are collected and split into short passages.
- The passages are indexed so they can be searched by meaning, not just by exact words.
- When someone asks a question, the system finds the passages that match best.
- A language model such as Claude, GPT or Gemini writes an answer using only those passages, and links to them.
- If nothing relevant is found, the assistant says so instead of guessing.
The model is not retrained on your documents. When a policy changes, you update the document and the index is refreshed. That is one reason this approach suits businesses whose documents change often.
What it answers well
The test is simple: is the answer written down, in one place, in a document the person asking is allowed to read? If yes, an assistant is a good fit.
| Good fit | Example question |
|---|---|
| HR and internal policy | How many casual leaves do I get, and how do I apply? |
| Product and service details | Does this model come with a stand, and what is the warranty? |
| Process and how-to steps | How do I raise a purchase request above a certain amount? |
| Onboarding | Who approves expense claims for my team? |
| Course or training material | Where in module 3 is the part about webhooks? |
In each case the assistant gives the answer and the source, and the person can open the page to check.
What it should not answer
These are the questions where a confident wrong answer costs real money or trust:
- Decisions. Whether a refund, a discount or a leave request is approved. The assistant can explain the policy; a person decides.
- Live data it cannot see. Today's stock, an order's delivery status or a customer's balance. Unless the assistant is connected to that system, it does not know, and it must not guess from an old document.
- Legal, medical or tax advice. It can point to your own policy on a topic. It should not tell someone what the law requires of them.
- Anything outside the documents. If the answer is not in what it was given, the right reply is "I could not find this" and, ideally, a handover to a person.
The best assistants are clear about this in their first message, so nobody mistakes them for a person who can make promises.
What decides whether it works
The model matters less than people expect. These matter more:
- Clean documents. Two versions of the same policy, scanned pages with no text, or a 90-page PDF with no headings all lead to weak answers. Tidying the documents is usually the biggest part of the work.
- Access rules. A sales assistant should not quote from the salary policy. Answers should follow the same permissions as the files.
- Sources on every answer. If a person cannot check where an answer came from, they will either trust it blindly or stop using it.
- A test set. Write down 30 to 50 real questions with the correct answers and the page each comes from. Run them whenever the documents or the model change. This is how you know an update did not quietly make things worse. Our LLM production checklist covers this in more detail.
- A log of unanswered questions. Every "I could not find this" tells you which document is missing or out of date.
Where to put it
Start where the questions already arrive. For staff, that is often Slack, Microsoft Teams or a simple internal page with a login. For customers, it is the website chat or WhatsApp, with a clear way to reach a person. One set of documents can sit behind more than one of these.
A sensible first version answers one group of people from one set of documents, for example new staff from the HR handbook and SOPs. Once its answers hold up against the test set, add the next set.
A short checklist before you build
- List the questions people ask most, from chats, emails and new-joiner calls.
- Find the document that answers each one. Where none exists, write it first.
- Mark the questions the assistant must hand to a person.
- Decide who may see which documents.
- Write the test set from step 1, with correct answers.
- Decide where the assistant will live and who owns it after launch.
If you do these six things, the build itself is the smaller part.
How we build them
Makani Tech, based in Surat, Gujarat, builds knowledge assistants on company documents, with sources on every answer, access rules and a test set, hosted in your own account or on your own server when the data must stay there. The work is led by Kishan Makani, who has 14 years in tech. For agents that also take actions in your tools, see AI agents and assistants.
Questions people ask
Is a document assistant the same as ChatGPT?
No. A general chatbot answers from what it learned in training. A document assistant searches your own files first and answers only from them, with links to the source. It can use the same models underneath.
Will our documents be used to train the AI model?
On paid business API accounts, Anthropic, OpenAI and Google state that your data is not used to train their models by default. Check the terms of the plan you use, because free tiers can differ. For data that must not leave your premises, the assistant can run on an open model hosted on your own server.
How many documents does it need?
There is no minimum. A single well-written handbook is enough for a useful first version. More documents only help if they are current and do not contradict each other.
What if two documents give different answers?
The assistant will often show both, which is useful: it tells you which document to fix. Before launch, remove old versions or mark one as the source to follow.
Written by Kishan Makani
Founder of Makani Tech, 14 years in the tech industry. Builds AI automation and mentors people who want to build their own, from Surat.

