How to build an AI assistant that uses your business documents
Plan an AI assistant that answers from your business documents, with useful sources, clear permissions, current information and a practical pilot checklist.

An AI assistant can help a team find answers in its own documents: a product guide, an operating manual or a library of approved answers. The useful question is what someone should be able to ask, which material should support the answer, and how they can check it.
Start with a small, well-defined collection and a set of real questions. That makes missing information and unclear rules visible before you connect a larger document library.
Decide what a useful answer contains
For example, imagine a team looking up product setup instructions. A useful answer might contain a short explanation, the relevant steps and a link to the current guide. It should say when the question depends on a product version or a detail the user has not supplied.
Write down the answer format before discussing software. Does the user need an exact quotation, a summary or a comparison across documents? Should the assistant answer immediately, ask a clarifying question or point to the person responsible? These are different product behaviours.
Keep the first version focused on finding and explaining information. If you later want it to change records or send messages, define those actions and their approval rules separately.
Understand how documents reach the answer
A common approach is retrieval-augmented generation, usually shortened to RAG. The application searches a prepared collection for relevant passages, then gives those passages to the model alongside the question. This supplies context without treating every document as model training material. Microsoft’s explanation of retrieval-augmented generation also describes why poor retrieval can still produce poor answers.
That creates two things to inspect when an answer fails: whether the application found the right material, and whether the model used it properly. A polished paragraph cannot tell you which part worked. A review screen that shows the retrieved passages can help the project team diagnose the difference.
Prepare a smaller, clearer source collection
Choose one owner for the initial collection. Ask them to check the files against this list:
- Authority: which document is the approved source when two files disagree?
- Currency: which version is current, and what should happen to the old one?
- Readability: can you select the text, and do headings, tables and diagrams still make sense after extraction?
- Context: does each instruction identify the product, team or situation it applies to?
- Ownership: who will correct a mistake and confirm the replacement is ready?
Try extracting a few representative files before processing the entire library. A scanned page, a complex table and a short text document can expose quite different preparation needs. Where a diagram carries an essential instruction, provide an approved text explanation rather than expecting the answer to infer missing meaning.
Make permissions part of the answer path
People should only receive answers based on information they are allowed to access. This needs enforcement when retrieving material, rather than a request in the assistant’s prompt to keep secrets. Microsoft’s document-level access guidance describes filtering search results against user permissions and the need to keep that permission information current.
For your project, list the actual access groups and test them with separate accounts. Include someone whose access has just been removed. Decide how quickly a changed permission must take effect, and what the application should do if it cannot establish access. Do not assume the document system’s settings automatically carry through every new search or AI component.
Ask questions that expose the limits
Build a small question set with someone who knows the material.
| Question pattern | What to look for |
|---|---|
| A straightforward setup question | The correct steps, with a source that supports them. |
| A question with two possible product versions | A clarifying question or a clear distinction between versions. |
| A detail absent from the documents | An honest gap, without an invented instruction. |
| A question about a restricted file | No restricted content revealed to an unauthorised account. |
| A question affected by a replaced document | The current answer and a link to the current source. |
Open the citations during review. Check that the source exists, that the user can access it, and that the cited passage actually supports the answer. A source link is useful evidence to inspect, not proof that every sentence is correct.
Plan for changed and untrusted material
Documents can contain instructions aimed at the model as well as useful information. OWASP describes this as indirect prompt injection. Treat retrieved material as information to assess, restrict the application’s available actions, and test attempts to make it ignore its rules. These controls reduce exposure; they are not a guarantee against every attack.
Agree who publishes updates, how deleted files leave the collection, and who handles reported errors. Keep a short set of approved questions to repeat after changes to the documents or application.
A first release is ready for a limited pilot when its sources, access rules, known gaps and review owner are clear. SystemAIse’s knowledge search and AI assistant work can start with that bounded collection. Discuss your idea.
Sources and further reading
The references below support the guidance discussed in this article.
Microsoft’s explanation of retrieval-augmented generation
Keep exploring
All insightsLet’s make it happen.
Tell us what you would like to make. We’ll work through the possibilities and agree the right scope together.
Discuss a project
