Chatbot knowledge base: how to write articles your AI agent gets right
A chatbot knowledge base is the set of help articles, policies and snippets your AI agent searches before it answers. The agent can only be as accurate as that content: most wrong answers we find trace back to an outdated article, two pages that disagree, or an exception the article never states.
What goes into a chatbot knowledge base
| Content | Include? | Note |
|---|---|---|
| Help center articles | Yes | The main source. Keep one article per question. |
| Pricing, plans and fees | Yes | State every fee and condition in text, not only in a table image. |
| Refund, return and cancellation policy | Yes | The most expensive place for a wrong answer. Write the exceptions. |
| Terms of service | Carefully | Long legal text gets quoted out of context. Summarise the parts customers ask about in a help article. |
| Internal macros and snippets | Selected | Only those written for customers. Internal shorthand confuses the agent. |
| Old blog posts and release notes | Usually no | They describe how things worked at the time. The agent will repeat old rules. |
| Community forum threads | No | Customer guesses become official answers. |
How an AI agent uses it
An AI agent does not read your whole help center for each question. It searches for a few passages that look relevant, then writes an answer from them. Three things follow from that:
- It reads fragments, not pages. If the exception is in paragraph six and the general rule in paragraph one, the agent may only see the rule.
- It trusts what it finds. An outdated article that matches the question well wins over a newer one that matches it less well.
- It fills gaps. When nothing answers the question, many agents produce a plausible answer instead of saying they do not know.
Eight rules for articles an AI agent answers correctly
- One question per article. “Can I get a refund?” and “How do I cancel?” are two articles, not one long page.
- Answer in the first sentence. Put the rule first, details after. The first lines are what the agent is most likely to use.
- Write numbers and conditions in words. “Refunds within 30 days of purchase, except sale items” beats a table the agent cannot parse.
- State exceptions next to the rule. Never leave them to a separate page or to agents' memory.
- Retire old articles. When a rule changes, unpublish or redirect the old article. Adding a new one next to it creates a contradiction.
- Use the same words everywhere. If the plan is called “Pro” on pricing, do not call it “Premium” in the help center.
- Avoid “contact us for details” for public facts. The agent either repeats it, which helps nobody, or invents the details.
- Write when to hand over. List the cases where the agent should pass the customer to a person: disputes, complaints, legal questions, anything involving a payment error.
Common knowledge base failures and their fixes
| What the customer sees | Cause in the knowledge base | Fix |
|---|---|---|
| An old price or refund window | Old article still published | Unpublish or redirect it; search for the old number across all articles |
| Different answers on different days | Two articles disagree | Merge into one, link others to it |
| A rule without its exception | Exception lives in another article | Move the exception next to the rule |
| An invented policy | No article covers the question | Write the article, or tell the agent to hand over on that topic |
| “Please contact us” for a simple fact | The fact is only in an image or a PDF | Put it in plain text |
A monthly audit that keeps it accurate
- Export the list of published articles with their last update date.
- Search for every number that matters: prices, days, percentages, limits. Make sure each appears with one value only.
- Find articles older than your last policy change and check them first.
- Ask your agent 25 customer questions and grade the answers, as in our guide on how to test a customer support AI agent.
- Fix the content behind each wrong answer, then ask again.
FAQ
What is a chatbot knowledge base?
It is the content an AI chatbot or AI agent searches to answer questions: help articles, policies, pricing and approved snippets. The agent writes its answer from what it finds there.
Can an AI agent use our existing help center?
Yes, and most do. The question is whether the help center is written so that a fragment read on its own is still correct: rule and exception together, one value for each number, no outdated articles.
How often should we update the knowledge base?
Whenever a rule, price or process changes, and with a monthly audit on top. Each update should also retire the content it replaces.
Why does our AI agent give different answers to the same question?
Usually because two articles cover the same question with different details, and the agent finds one or the other depending on the wording. Merge them into one source of truth.
Should we let the AI agent read our terms of service?
Only with care. Long legal text is easy to quote out of context. Summarise the parts customers ask about in a plain help article and let the agent use that.
Find the articles behind your wrong answers
We test your AI agent with questions from your own help center and trace each wrong answer to the article or instruction that caused it. Free, results by email in one working day.
Get a free check →