Guides

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.

By the Askocto team · · 6 min read

To structure a knowledge base for an AI chatbot, write one article per question, title each one the way customers ask it, date your policies, remove duplicates and contradictions, and give every article an owner and a review date. An AI agent reads your content in pieces and quotes it, so clear structure matters more than polish. This guide covers each rule with examples and a review routine you can run with a small team.

In short: One question per article, titles in the customer's words, answer in the first sentence, one version of each policy, and a named owner for everything.

One question per article

People skim a long article and find the paragraph they need. An agent does something similar: it picks out the passages that look relevant and builds a reply from them. If one article covers shipping, returns and warranty, the agent can mix details from all three.

Give each article a single job. A quick test: can you write the title as one question without using the word "and"? If not, split it.

A reliable shape for an article:

  1. Answer in the first sentence. "Standard delivery takes three to five working days."
  2. Conditions next. Which regions, plans or products it applies to.
  3. Steps, if there are any. Numbered, one action each.
  4. Exceptions. What changes the answer.
  5. Related questions. Titles of two or three neighbors.

Long reference material, such as a full API guide, can stay long. Even there, use clear headings so each section answers one thing.

Titles that match real questions

The title is the strongest signal of what an article is about. Write titles as customers ask, not as your company names things.

Weak title Stronger title
Shipping How long does delivery take?
Returns policy v3 How do I return an item?
Account management How do I change the email on my account?
Billing FAQ Why was I charged twice?

Find the real wording in ticket subjects, chat transcripts and the search terms visitors type into your site. Then add the synonyms customers use in the opening lines. If you write "cancel", mention "end" and "stop" too, because customers use all three.

Date and version your policies

Policies change, and an agent has to know which version applies. For every policy article, state the effective date, the regions it covers and any plan or product it is limited to. "Applies to orders placed from 1 March" is far more useful than nothing.

Do not leave old versions live next to new ones. Archive the old article somewhere that is not connected to the agent. If you need the history, keep it in a separate place.

Facts that change often, such as prices, deadlines and limits, are the highest risk. State each one in a single article and refer to it by title elsewhere, for example "See How long does delivery take?" That way one edit fixes it everywhere.

Remove duplicates and contradictions

Contradictions cause more wrong answers than most teams expect. They build up quietly: a help article, a PDF from a campaign, a translated copy, a page written by sales. Run a duplicate hunt before launch and then each quarter.

  1. List your top 20 topics.
  2. Search your help center, docs and files for the key words of each.
  3. Read every hit side by side.
  4. Where two disagree, decide which is right.
  5. Update the winner, delete or archive the loser, and note the change.

How to train an AI support agent on your help center explains how to connect sources in stages, which makes it easier to see which source caused a conflict. Askocto answers from the content you connect, such as your help center, docs and files, so the same clean-up applies to every source you add.

Tables or prose

Both formats work, for different content.

Use a table when the answer is a comparison or a lookup: delivery times by region, fees by plan, sizes by measurement. Keep tables simple, with no merged cells. Label every row and column in full, because a cell like "3 to 5 days" has no meaning on its own. A sentence above the table that states the main point helps both humans and agents.

Use prose when you are explaining a reason, a condition or an exception. "Returns are free unless the item is a final-sale product" does not fit well in a cell.

Use numbered steps for procedures and bullets for options.

Two things to avoid. Do not hide key facts in images, because the agent may not see them; write the text out. And do not publish a video without a written summary of what it says.

Ownership and review rhythm

An unowned article goes stale. Give every article an owner and a "last reviewed" date, and set a rhythm that matches how fast the content changes. These are starting points; adjust them to your business.

Content type Suggested owner Review rhythm
Shipping, returns, warranty Operations or support lead When the policy changes, and quarterly
Pricing and plans Product or finance On every change, and a monthly spot check
How-to and troubleshooting Support content owner Quarterly, and after each release
Most-read 20 articles Support content owner Monthly
Privacy and legal pages Whoever handles legal matters Twice a year

Add a retirement rule too: if an article has not been reviewed within its window, it is flagged and, if nobody claims it, removed.

Let the agent's gaps shape the roadmap

A knowledge base is never finished. Once the agent is live, the questions it could not answer tell you exactly what to write next. In Askocto, the insights view lists those questions so you can turn gaps into content and watch the resolution rate respond. Unanswered questions are your best content roadmap shows how to group and prioritize them.

If you also run a public FAQ page, build it from the same articles so the two never disagree; FAQ page vs AI chatbot covers how to keep them in sync. Better structure also reduces invented answers, which how to stop an AI chatbot from making things up treats in depth.

Before you connect a source, run this final check on a sample of articles:

  • Does the title read like a customer question?
  • Does the first sentence answer it?
  • Is there an effective date on anything that is a policy?
  • Does any other article give a different answer?
  • Does it have an owner and a review date?

If you want to try your structure on a live agent, you can sign up and connect a first source.

Frequently asked questions

How long should a knowledge base article be?

Long enough to answer the question and cover its conditions and exceptions, and no longer. Many good articles are only a few short paragraphs. If an article keeps growing, it probably covers more than one question.

Should I write articles for the AI or for people?

For people. Clear titles, direct answers and one topic per article help human readers and agents alike. You do not need a separate version for the agent.

Do I need to rewrite my existing help center?

Not all at once. Start with the articles behind your most common questions, fix titles and first sentences, remove contradictions and add dates to policies. Expand from there.

How many articles do I need?

Enough to cover the questions customers actually ask. Start from your ticket data, not a target number.

Train an agent on your own help center

Askocto answers the repeat questions across chat, email and voice and hands the hard ones to your team.

Keep reading

All articles
Guidestrain ai agent on help center
May 5, 20266 min read

How to train an AI support agent on your help center

Training 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.

Read article
Guidesai chatbot tone of voice
Oct 12, 20266 min read

AI chatbot tone of voice: how to define and test it

A practical way to set your AI chatbot's tone of voice: pick a few traits, write example replies, set rules for angry customers and humor, and review real transcripts every week.

Read article