Skip to content

How to Build a Knowledge Base AI Can Answer From

Structure your help content so an AI assistant answers from it reliably: one topic per page, plain wording, owners, dates and a test set of real questions.

By
Ajansia Editorial
Published
Reading time
8 min read

How we work

On this page
  1. 01Wrong answers usually start in the documents
  2. 02Scope: one audience, twenty questions
  3. 03One topic per page
  4. 04Plain, consistent wording
  5. 05Owners, dates and status
  6. 06Teach it to refuse
  7. 07A test set you rerun
  8. 08Version sprawl and permissions
  9. 09Monday: twenty pages and a test set
  10. ··Frequently asked questions

Two pages disagree, a policy changed and the old page stayed live, or the answer sits inside a screenshot nobody can read. Then the AI assistant gives a wrong answer from your own documents, and the reflex is to blame the AI. Usually the documents deserve the blame. This is a writing and housekeeping job first and a technology job second.

What follows applies to a built-in assistant in a help desk, a chat tool pointed at a shared drive, or a custom build. The principles do not depend on the product.

Wrong answers usually start in the documents

Many of these assistants work in two moves. They search your content for passages that look relevant to a question, then write an answer from what they found. When the search lands on the right page, the answer tends to be good. When it lands on three half-relevant pages, one of them outdated, the answer blends them with total confidence. The assistant cannot tell which page is official unless your content structure tells it.

A useful mental model: a very fast, very literal new hire who reads only what is put in front of them, cannot ask a colleague and never tires. That reader rewards clarity and punishes ambiguity.

Scope: one audience, twenty questions

Start narrow. Pick one audience and one cluster of questions: new-employee policies, customer billing, or product setup. A knowledge base that tries to cover everything on day one covers nothing well.

Collect real questions from the support inbox, chat history and the things colleagues keep interrupting each other with. Group them. A small set of topics often accounts for a large share of the volume, so write those pages first and write them carefully.

Also write the out-of-bounds list now. Legal advice, medical guidance, individual account decisions and anything involving personal data are candidates for a hand-off to a person. That list feeds directly into the rules you configure later.

One topic per page

The most useful habit is also the simplest. Give each page one purpose and put the answer near the top.

Title it as the question

“How do I request a refund?” beats “Refunds”. It matches how people ask and how search and retrieval systems match text. Keep titles distinct so two pages never compete for one question.

Rule first, detail after

Open with the direct answer. Steps, conditions and exceptions follow. A reader, human or machine, who stops after two sentences should still have the main point. Numbers, deadlines and conditions belong in the same paragraph as the rule they modify, not three scrolls away.

Exceptions stay with the rule

If refunds are open for a set period except on custom orders, say both in one passage. Splitting rule and exception across pages invites an answer that states the rule alone.

Text a machine can read

Screenshots of text, tables saved as images, scanned PDFs and videos without transcripts may be invisible to the assistant, depending on the tool. Convert them to text. If a process has a diagram, write the steps beneath it.

Plain, consistent wording

Call the same thing by the same name everywhere. If the product has “workspaces”, do not call them “projects” on one page and “accounts” on another. Define acronyms once on the page that uses them. Prefer full sentences over cryptic fragments, since fragments lose their meaning when lifted out of the page.

Make each section survive on its own. Retrieval tools commonly hand the assistant pieces of a page rather than the whole thing, and a paragraph that opens “As mentioned above, this does not apply” fails when “above” is missing. Repeat the subject: “The refund window does not apply to custom orders.”

A before and after, with invented content. Hypothetical before: “See the policy. Usually 14 days, some exceptions. Contact us.” Hypothetical after: “Standard orders can be refunded within 14 days of delivery. Custom orders cannot be refunded once production has started. To request a refund, email support with your order number.” The second version can be quoted, checked and acted on.

A page template

A fixed layout makes pages predictable for authors, readers and retrieval. This one fits most help topics.

Section What goes in it
Title The question, in the user’s words
Short answer One or two sentences stating the rule or result
Who this applies to Customer type, plan, region, role
Steps or details Numbered steps or the full explanation
Exceptions and limits Everything that changes the answer
Related pages A few links named by their question titles
Owner and last reviewed A person or role, and a date

The “who this applies to” row earns its place. Plenty of wrong answers are right answers for the wrong audience: an annual-plan rule given to a monthly customer, or a regional policy applied everywhere.

You will not rewrite everything at once, so rank pages by the cost of a wrong answer. Money first: pricing, refunds, billing, contracts. Then safety and compliance. Then whatever customers hit daily. The rest waits for the next review cycle.

Owners, dates and status

Stale pages cause the most confident wrong answers, and metadata is the cheapest defense.

  • Owner. A named person or role for every page.
  • Last reviewed. A date, plus a cycle that fits the topic. Pricing and policies get looked at more often than background material.
  • Status. Current, draft or retired. Only current pages should reach the assistant.
  • Effective date. For rules that change, state when the new one starts and archive the old page instead of editing it into a puzzle.

When a policy changes, update the page the same hour the policy goes live. Build that into the change process so it is not a favor someone does later.

Teach it to refuse

The best assistants admit gaps. Where the product allows, configure yours to answer only from your content, to show which page each answer came from, and to say so plainly when nothing matches. A visible source line lets staff and customers check a claim in seconds and lets you trace a bad answer to the page behind it.

Add escalation. For questions on the out-of-bounds list, or when the match is weak, the assistant should offer a person. “I could not find this in our documentation, and the team can be reached at the address below” is a good answer. A smooth invention is a bad one.

A test set you rerun

Build a spreadsheet of 30 to 50 real questions, the approved answer for each and the page that should supply it. That count is a rule of thumb; use more if your topics are broad. Include awkward cases: badly phrased questions, questions with exceptions, and questions the assistant should decline. Score each result as correct, partly correct, wrong or properly declined.

Rerun the set whenever you change documents, settings or tools. A fix on one page can quietly break an answer on another, and only a repeatable test shows it. Track the pass rate on one line in a sheet. Do not chase a perfect score. Chase the disappearance of confident wrong answers.

Also read real conversations. Once a week, sample what people asked and how the assistant replied. Questions it could not answer are a to-do list of new pages, and wrong answers point to the page that needs rewriting.

Version sprawl and permissions

One quick drill: take your five most-asked questions, paste each into the assistant, and open the page it cites. If the cited page is not the one you would have chosen, the fix is usually a clearer title or a removed duplicate, not a new setting.

If “refund-policy-final-v3.docx” and “refund-policy-FINAL.docx” both exist, the assistant may read either. Decide where the source of truth lives and delete the rest. Dumping an entire shared drive into the index, drafts and duplicates included, is the fastest way to teach the assistant your worst habits.

Check who can see what. An internal assistant that can read the HR folder will happily answer a salary question from anyone who asks. Permissions in the source system should carry through, or restricted material should stay out of the index entirely. Before connecting private documents, read the vendor’s terms on retention and on whether your content is used to train its systems.

Monday: twenty pages and a test set

Pull the twenty questions your team answers most often and rewrite each answer as a single-topic page that starts with the direct answer and ends with an owner and a review date. Then build the test set from the same twenty questions. Both fit in a week, and you will learn quickly whether the answers have improved.

Frequently asked questions

How many documents do I need before an AI assistant is useful?

Fewer than most people expect. A small set of well-written pages covering your most frequent questions can serve better than a large pile of messy ones. Start with the top questions and expand once the answers are reliable.

Should I use PDFs or web pages as the source?

Plain text pages or well-structured documents are safest. PDFs work when they contain real text rather than scanned images, but they are harder to keep current and to break into clean sections.

How do I stop the assistant from making things up?

Restrict it to answer only from your documents where the tool allows, show source links, and permit it to say it does not know. Then test with questions that have no answer in your content, to see whether it refuses.

How often should I review the content?

Policies, pricing and processes that change often deserve a monthly or quarterly review. Stable background pages can be reviewed once or twice a year. Whatever the cycle, put the date on each page and assign an owner.

Is it safe to connect private company documents?

It can be, but check the vendor's terms on storage, retention and whether your content trains their systems. Make sure permissions carry through so people only see what they could already open, and keep restricted material out of the index.

Saved guides

    Nothing saved yet. Use the Save button on any guide and it will wait here, in this browser only.

      Browse a topic

      ↑↓ moveEnter openEsc close