AI knowledge base: how to build one an AI can answer from
What an AI knowledge base is, how AI answers from it, how to write and structure content for it, how to keep it current, and mistakes that cause wrong answers.
An AI knowledge base is the content your AI answers from: website pages, help articles, policies, documents and short questions and answers, organised so software can find the right passage for any question. It’s the single biggest factor in whether an AI chatbot or agent gives accurate answers.
Service leaders know this is where the work is. When Gartner surveyed customer service leaders at the end of 2024, 85% planned to explore or pilot customer-facing conversational AI, but 61% had a backlog of knowledge articles to edit, and more than a third had no formal process for revising outdated ones. A year later, Gartner found 58% planned to upskill agents into knowledge management specialists. Searches for “AI knowledge base” have risen sharply for the same reason.
This guide explains how AI uses a knowledge base, how to write and structure content for it, and how to keep it right.
Two meanings of “AI knowledge base”
- A knowledge base for AI. Content an AI chatbot or agent answers from. This guide is mostly about this.
- A knowledge base with AI. A help centre or wiki that uses AI to help you write articles, find gaps, tag content and answer searches.
The best tools do both: AI helps you build the knowledge base, and the same knowledge base powers your AI agent and your human team.
How AI answers from a knowledge base
- Indexing. Your content is split into passages (usually by heading), and each is indexed so its meaning can be searched. The title, URL and date go with each passage.
- Retrieval. When a customer asks a question, the system finds the passages most likely to contain the answer, often combining meaning-based and keyword search.
- Grounded answering. The language model gets the question and the passages, with instructions to answer only from them, cite them, and say if they don’t cover it. Researchers named this retrieval-augmented generation (RAG) in 2020.
- Checking. Better systems check specific facts (prices, dates, deadlines) in the answer against the cited passages before the customer relies on them.
Two consequences follow. First, if the answer isn’t in the knowledge base, a well-built AI can’t give it, and a badly built one will guess. Second, if the knowledge base is wrong or contradictory, the AI will be wrong or inconsistent. You are responsible for what your AI says: a Canadian tribunal held Air Canada liable in 2024 for a refund policy its chatbot invented.
What to put in it
| Source | Good for |
|---|---|
| Website pages | Products, services, prices, policies, contact details |
| Help centre articles | How-tos, troubleshooting, account questions |
| Q&As | Short answers your website doesn’t give: “Can I collect in person?” |
| Documents | Price lists, terms, product sheets, policies (PDF, Word) |
| Internal wikis | Notion, Google Drive, Confluence pages your team keeps |
| Corrections | Answers your team fixed in real conversations |
Leave out pages that don’t help customers: baskets, checkouts, logins, account pages, old promotions, job adverts and duplicates.
How to write content an AI can use
Good AI content is good human content, with a few habits that matter more.
One topic per article. “Returns” and “Exchanges” as separate articles beat one long “Returns, refunds, exchanges and repairs” page.
Titles as people ask. “How long does delivery take?” is easier to match than “Shipping information”.
Answer first. Put the direct answer in the first sentence or two, then the detail.
Be specific. “Within 30 days of delivery, unworn with tags” beats “a reasonable period”. Vague wording produces vague answers.
State conditions and exceptions. “Free delivery on orders over £50, except to the Channel Islands.” The AI can only mention exceptions you’ve written down.
Use headings. They become the boundaries of passages and help retrieval.
Avoid contradictions. If the FAQ says 14 days and the terms say 30, the AI will pick one. Search your site for the same topic before publishing.
Date time-limited content. Promotions, seasonal hours and temporary changes should say when they start and end, and be removed after.
Write for every channel. Avoid “click the button on the right”; the AI may be answering by email or phone.
Don’t hide answers in images or PDFs of scans. Text is what gets indexed.
Which source wins?
When sources disagree, the AI needs a rule. A sensible order:
- Corrections and Q&As your team wrote (most deliberate)
- Help centre articles
- Website pages
- Documents
And newer beats older when the source type is the same. Check how your tool ranks sources, and whether your corrections override your website.
Keeping it current
A knowledge base decays. Prices change, policies change, products change. Build upkeep into the routine:
- Automatic re-reading. Have your AI tool re-read web pages and help articles daily or weekly, add new ones and stop using deleted ones.
- Change triggers. When a policy or price changes, update the source the same day.
- Weekly gap review. Read the questions the AI couldn’t answer, grouped by meaning, and write answers for the most frequent.
- Learning from your team. When an agent answers something the AI couldn’t, turn it into an approved Q&A.
- Quarterly audit. Review older articles for accuracy and relevance.
- Owners. Give each area of content an owner.
Gartner found in 2024 that the most common reason self-service fails is that customers can’t find content relevant to their issue. An AI knowledge base with a weekly gap review is the most direct fix.
Common mistakes
- Launching the AI before fixing the content. Customers find the gaps for you.
- Correcting the AI instead of the source. If the web page is wrong, fix the page.
- Duplicated pages with slightly different facts.
- Everything in one giant PDF. Split it into topics.
- No “I don’t know”. A knowledge base can’t cover everything; the AI must admit gaps.
- No owner. Content drifts within months.
Measuring knowledge base health
- Share of AI handovers caused by “couldn’t answer”, falling over time
- Number of unanswered question groups, and how fast they’re closed
- Corrections per week
- Articles reviewed in the last 90 days
- Help centre searches that found nothing
Your knowledge base in Dazza
Dazza’s knowledge takes your website (from its sitemap, skipping baskets and logins), your existing help centre (Zendesk, Intercom, Freshdesk, Crisp, Help Scout, Document360 and others), Q&As, pasted text and files (PDF, Word, text, Markdown, CSV, HTML), and on Growth and above Notion, Google Drive and Confluence. It keeps web content current daily or weekly. Your Q&As and corrections outrank your website. Every answer cites its source, and on Growth and above, figures, prices, dates and policies are checked against those sources. Suggested answers draft new Q&As from your team’s replies and from questions Dazza couldn’t answer, for you to approve. And Dazza hosts a help centre for you, drafting articles from what customers ask.
Questions people ask
What is an AI knowledge base?
It means two things: a knowledge base that an AI answers from (your website, help articles, documents and Q&As, indexed for retrieval), and a knowledge base that uses AI to help you write, organise and maintain it. The best tools do both.
How does an AI chatbot use a knowledge base?
When a customer asks something, the system searches the knowledge base for the most relevant passages and gives them to the language model with an instruction to answer only from them, cite them, and say if they don’t cover the question. This is called retrieval-augmented generation.
How should I write content for an AI knowledge base?
One topic per article, a clear title phrased as people ask, the answer in the first lines, specific facts (numbers, dates, conditions) rather than vague wording, no contradictions between pages, and dates on anything time-limited.
How often should an AI knowledge base be updated?
Whenever a policy, price or product changes, and on a schedule: re-read web content daily or weekly, review unanswered questions weekly, and audit older articles quarterly.
Sources
- Gartner: 85% of customer service leaders will explore or pilot conversational GenAI in 2025 (knowledge backlog findings)
- Gartner: Only 14% of customer service issues are fully resolved in self-service
- Gartner Q&A: Blending human strengths with AI in 2026
- Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (2020)
- American Bar Association: BC tribunal confirms companies remain liable for information provided by AI chatbot