How to structure a knowledge base for an AI chatbot
An AI agent reads your articles in pieces and quotes them. Here is how to structure a knowledge base for an AI chatbot, from titles and dates to ownership and review.
Read articleTraining an AI support agent is mostly content work. Here is which articles to connect first, how to clean them, how to check the agent uses them, and when to stop.
By the Askocto team · · 6 min read
To train an AI support agent on your help center, you connect the content, fix what is wrong in it, and check which source the agent used for each answer. You are not building a model from scratch. You are deciding what the agent is allowed to know and making that material easy to use. This guide covers which content to connect first, how to clean it, how to verify the agent uses it, and when to stop adding sources.
In short: Start with the articles customers need most, remove contradictions, connect sources in stages, and test each stage with real questions. Stop adding sources when new ones no longer change the answers.
Most support agents do not learn by being retrained on your data. They read your content at the moment a customer asks, then write a reply from what they found. So "training" in practice means choosing sources, cleaning them, writing procedures for tasks that need steps, and testing.
This has two consequences. First, the agent is only as good as your content. A wrong or stale article produces a wrong answer, delivered politely and with confidence. Second, fixes are fast. You edit the article and the next answer changes. Nobody has to wait for a training run.
With Askocto you connect your help center, docs and files as sources, with no code. The effort goes into deciding what to connect and what shape it is in.
Do not start by connecting everything. Start with the material that answers the questions your team gets every day.
Leave these out for now:
A smaller set of correct content beats a large set of mixed content. You can always add more once the first group behaves.
Agents read your articles more literally than people do. A person skims past a stale paragraph. An agent may quote it. Run through this list for every article in your first group.
For a deeper look at article structure, see how to structure a knowledge base so an AI agent can use it.
Before you connect anything, pick ten articles at random and read each as a customer who knows nothing about your company. Mark every sentence you would not understand or could not act on. If more than a few articles have problems, plan a cleanup pass first. It is cheaper to fix the content once than to correct the agent's answers one by one.
Connect in layers and test after each one.
Staging tells you which source caused a bad answer. If you connect everything at once and an answer is wrong, you have to guess where it came from. In Askocto's test runs you can see what the agent answered and which source it used, which makes this check quick.
Build a list of 30 to 50 real questions from your tickets. Include the same question phrased several ways, plus a few that your content does not cover. Run them all and record, for each answer, whether it was correct and which source it came from.
| What you see | Likely cause | Fix |
|---|---|---|
| Correct answer from an old PDF | Two sources overlap | Update or remove the old file |
| Vague answer on a topic you cover | Answer is buried or the title does not match the question | Move the answer to the top and retitle |
| Confident answer that no source supports | Content gap and no rule to admit it | Write the article and set a refuse-when-unsure rule |
| Different answers to two phrasings of one question | Conflicting articles | Merge into one |
| Out-of-date price or date | Stale article | Update and add an effective date |
The unsupported-answer row is the one to watch. How to stop an AI chatbot from making things up covers it in detail. For a fuller method, including replaying real past conversations, read how to test an AI support agent before customers see it.
Keep a simple sheet with one row per test question: the question, the expected answer, the source you expect, the result, the fix and the date. After each edit, re-run the affected questions and a handful of unrelated ones to confirm nothing else moved.
This log also becomes your regression set. When someone edits the returns policy in three months, you can re-run the returns questions in minutes.
More content does not always mean better answers. Stop adding when:
From that point, switch from adding to maintaining. Give each source an owner, review the top articles monthly, and let real conversations tell you what is missing. The questions the agent could not answer are the best list of what to write next, and unanswered questions as a content roadmap explains how to use it.
If you want to try this on your own help center, you can sign up and connect a first source.
Enough to answer your most common questions correctly. A few dozen accurate articles covering your top topics will serve you better than hundreds of overlapping ones. Launch with that and add from there.
No. Fix the articles behind your top 15 topics, remove contradictions, and retitle anything that does not match how customers ask. Leave the rest until the data shows it matters.
Files can be connected as sources, but only connect ones that are current and written for customers. Internal documents often contain details you would not want quoted in a chat.
Update an article whenever the policy or product behind it changes. Beyond that, review your most-used articles once a month and everything else each quarter.
Askocto answers the repeat questions across chat, email and voice and hands the hard ones to your team.
An AI agent reads your articles in pieces and quotes them. Here is how to structure a knowledge base for an AI chatbot, from titles and dates to ownership and review.
Read articleConnecting an AI agent to your helpdesk and CRM is four decisions: what it reads, what it writes back, which actions it may take and how you prevent duplicates. Here is how to make each one.
Read articleWhen to hand over, what travels with the conversation, what to do outside business hours, how to brief the person and what the customer should see. With example wording.
Read article