How to build an AI knowledge base assistant for your staff

Updated · 5 min read

How the assistant finds and uses your documents

Most internal assistants of this kind use retrieval. Your documents are split into passages, each passage is converted into a searchable form, and a question triggers a search for the passages most likely to answer it. The model then writes an answer using only those passages, with citations. The model does not read your whole archive at once, and it does not learn your documents the way a person would.

This matters because the answer is only as good as the passages found. If the right page never gets retrieved, the model cannot answer correctly, however capable it is. Test retrieval by asking real questions and checking which passages come back.

What to load first

Start with the documents that staff ask about every week. Leave out drafts, personal notes and superseded versions. A document that conflicts with another is worse than no document, so resolve conflicts before you load anything.

  • Current policies and handbooks, such as leave, expenses, travel and IT rules, each with its effective date.
  • Standard operating procedures that staff follow every week.
  • Product and price sheets, marked with the date they were issued, so that old prices are not quoted.
  • The frequently asked questions that support staff already answer by hand.

Keeping answers current when documents change

Documents change, and an assistant that reads an old policy will confidently repeat it. Decide who owns each source, how changes reach the assistant, and how old versions are removed. A simple rule works well: when a document is replaced, the old version leaves the index in the same step.

Add a review loop as well. Questions that received no answer show where a document is missing, and that list is one of the most useful things the assistant produces.

  • Name an owner for each document collection.
  • Re-index on a schedule or on each upload, and record when that happened.
  • Show the document date in each citation so staff can judge how fresh it is.
  • Review the unanswered questions each month and add the missing documents.

Permissions per team

Not every employee should see every file. Salary bands, client contracts and legal advice need their own rules. Apply the same access controls to the assistant that your file store already uses. Filter the search results by the user's permissions before the model sees them.

Never rely on the model to refuse a question it should not have been able to read. If a restricted passage reaches the model, it may appear in an answer or a citation. Test with a user from each group and check that restricted passages never appear.

Citations, and saying I don't know

A useful answer names its source. Each answer should link to the document, section and date it used. When the retrieved passages do not contain the answer, the assistant should say so and point the reader to who can help, instead of guessing.

Test this on purpose by asking questions the documents cannot answer, and questions that look answerable but are not. A good assistant declines in both cases and does not invent a plausible policy.

Measuring whether staff trust it

Usage numbers alone do not show trust. Track whether staff click through to the cited source, how often they correct an answer, and how many questions end with a request to a person. Ask a small group to rate a sample of answers each month, and fix the documents or the search behind the weakest ones first.

How Hundred Seas helps

Hundred Seas is a product studio in Taipei that builds AI agents and internal tools on Claude and on OpenAI models. We choose the model for each task on cost, speed, quality and where your data has to stay, and we work in English, Traditional Chinese and Simplified Chinese, so staff can ask in the language they think in.

The work starts with a scope step of about one week at a fixed price, ending in a written plan, a clickable prototype and a firm quote. The build takes two to four weeks in weekly releases of working software, and a monthly run plan keeps the assistant up to date as your documents change.

Questions

Do I need to fine-tune a model on our documents?
Usually no. For most internal assistants, retrieval with citations is the practical choice, because the documents can change without retraining anything. Fine-tuning changes how a model writes and behaves. It is not a reliable store of facts that you update each week. Ask your builder to explain the choice for your case, and check your model provider's current guidance.
Where do our documents go when the assistant answers a question?
The passages retrieved for a question are sent to the model provider along with the question. Check the provider's current data terms, its processing location and whether it stores prompts. Keep the source set to documents that staff are allowed to see, because whatever is sent leaves your own systems.
How do I stop the assistant from giving wrong answers?
You cannot remove the risk entirely, so design for it. Limit the documents to approved, current sources. Require citations on every answer. Let the assistant decline when the sources are missing. Review a sample of answers each month and log every correction. Make it clear to staff that the cited document is the authority, not the assistant.
Can the assistant answer from documents for one team only?
Yes, if the retrieval layer filters results by each user's group membership before the model sees them. Mirror the permissions in your file store, then test with a user from each group. Check that restricted passages never appear in an answer or in a citation, and repeat that test after every change.
How long does an internal assistant take to set up?
It depends on how many sources you have and how messy they are. The first version can go quickly. Most of the effort goes into cleaning the documents, setting permissions and testing with real questions. Ask a builder for a scope that names the document sources, the permission model and the test questions.

Have a project in mind?

Tell us what you want to build. We reply with a plan, not a sales call.

AboutHow to build an AI knowledge base assistant for your staff