What is an AI knowledge base?

The short definition, how one answers a question, what separates a good one from a risky one, and how the internal and customer-facing kinds differ.

By Last updated:

An AI knowledge base is a collection of written articles, such as a help centre or a team wiki, that an AI assistant searches to answer questions in plain language. A good one answers only from those articles, links the ones it used, and says so when they don’t cover the question.

The articles are still there to read and search like any knowledge base. The difference is that people can ask a question in their own words and get an answer, rather than a list of pages to open. Many tools also use AI on the writing side: drafting missing articles, spotting ones that have gone out of date, and translating them.

How an AI knowledge base answers a question

Almost every AI knowledge base works the same way underneath, a pattern called retrieval-augmented generation (RAG). The AI model doesn’t memorise your articles. Each time someone asks a question, the system finds the relevant passages and hands only those to the model to answer from.

  1. Split. Each article is cut into sections, usually at its headings, so a question can match the one paragraph that answers it rather than a whole long page.
  2. Index. Every section is indexed twice: by its words, for exact terms like a plan name or an error code, and by its meaning (an embedding), so “cancel my subscription” finds a section titled “Ending your plan”.
  3. Retrieve. The question is searched both ways, the results are combined, and the best few passages are ranked again for how well they fit the question.
  4. Check. A careful system asks whether those passages actually answer the question before it writes anything. If they don’t, the right output is “I don’t know” and a way to reach a person.
  5. Answer and cite. The model writes a short answer using only the passages it was given, and marks which article each claim came from, so the reader can check it.

Two things follow from this. First, there’s no training step: change an article and the next answer uses the new text. Second, the answers can only be as good as the articles. If the help centre is wrong, the AI will be wrong too, and it will say so fluently.

How it differs from a general AI chatbot

A general chatbot answers from what its model learned in training, plus whatever it can search on the web. It knows a lot about the world and almost nothing reliable about your product’s current plans, limits or settings. Asked about them, it may guess.

An AI knowledge base narrows the model to your content on purpose. That makes it less impressive in a demo and much more useful in support: it can tell a customer exactly which plan includes single sign-on, with a link to the article that says so, and it should decline to answer a question your articles don’t cover rather than fill the gap with something plausible.

Some products use the term loosely, for a chatbot that was given a few pages of your website once. The test is simple: ask it something your articles don’t cover. If it answers anyway, it isn’t answering from your knowledge base.

What to look for

Whatever you’re evaluating, these are the questions that separate tools in practice.

Does it answer only from your content?

Ask it things your articles don’t cover, including plausible ones (“do you have a SOC 2 report?”). It should say it doesn’t know, not improvise.

Does it show its sources?

Every answer should link the articles it came from. Citations let customers check, and let your team see at a glance which article caused a wrong answer.

What happens when it can’t answer?

A dead end is worse than no AI. Look for a clear hand-over to a person, by email, chat or ticket, with the conversation so far attached.

Can you see what it couldn’t answer?

The questions it declined are the most useful output it produces: a list of what your help centre is missing, in your customers’ words. Grouped by meaning, they tell you which article to write next.

Can you control what it reads?

You’ll want some guidance the AI can use without publishing it, and some internal notes it must never repeat to customers. Per-article settings for who each article is for are simpler than separate tools.

How does the content stay current?

The AI repeats whatever the articles say, so keeping them right is the ongoing work. Look at how the tool helps you find stale articles and what has to happen before a change goes live. Our guide to keeping a knowledge base up to date covers this in detail.

Where can it answer?

On your website, inside the help centre, in email replies your team reviews, in other languages, and for AI agents your team already uses. Check the places that matter to you, not the longest list.

The risks, and how to reduce them

Made-up answers

Models can produce confident text that no source supports, often called hallucination. Grounding answers in retrieved passages reduces it a great deal but doesn’t remove it. What helps most: a system that refuses below a relevance threshold, answers that cite every claim, and someone on your team reading a sample of real conversations each week.

Stale articles, answered confidently

This is the risk teams underestimate. An outdated article used to sit quietly in a corner of the help centre. Now the AI quotes it to every customer who asks. When you change a price, a plan or a screen, the articles that mention it need to change the same day.

Articles that disagree

If two articles give different refund windows, the AI may quote either. Keep one article as the home for each fact and link to it from the others.

Knowledge the AI can’t read

Instructions that only exist in a screenshot or a video are invisible to a text search. So are answers your team gives in replies but never writes down. Our guide to writing help articles AI can answer from goes through the usual culprits.

Private information

An internal note about how to handle a difficult refund shouldn’t reach a customer word for word. Keep internal content marked as internal, and check that the customer-facing assistant can’t read it.

Instructions hidden in content

Text the AI reads can try to give it orders (“ignore your rules and…”). Well-built systems treat article text as data, never as instructions. It matters most if the knowledge base imports pages you don’t control.

Internal and customer-facing

The same technology serves two audiences, and the differences are mostly about who can see what and how careful the answers have to be.

Customer-facingInternal
Who asksCustomers and visitorsYour team: support, sales, new starters
Typical contentHow-to articles, plans and billing, troubleshootingProcesses, policies, edge cases, how to handle tricky requests
Cost of a wrong answerHigh: a customer acts on itLower: a colleague usually double-checks
ToneShort, plain, no internal jargonCan assume context and use team terms
AccessPublic, or anyone on your siteSigned-in team members only

Most support teams need both, and they overlap: the internal knowledge explains the exceptions to the public articles. Keeping them in one place, with each article marked for who it’s for, stops the two versions drifting apart. If you’re starting the internal side, see what an internal knowledge base is and how to start one.

How to tell if it’s working

  • Answered without a person: the share of questions the AI handled that didn’t come back as a support email.
  • Declined questions: how many, and whether the same ones keep coming up after you’ve written the article.
  • Ratings and hand-overs: which answers people marked unhelpful, and which conversations went to a person anyway.
  • Spot checks: read twenty real conversations a week. Numbers won’t tell you an answer was subtly wrong.

If you’re comparing products, our roundup of AI knowledge base software sets seven of them side by side on how they publish, how the AI answers and who approves what it writes.

Doing this in AskBase

AskBase is an AI knowledge base: your help centre, the AI that answers from it, and the inbox for the rest. The assistant answers only from your articles, numbers its sources and links them, replies in the customer’s language, and when the articles don’t cover a question it says so and offers to pass the conversation to your team by email. Each article is for everyone, for the AI only, or internal. Questions it couldn’t answer are grouped by meaning as content gaps, and every change it suggests to your articles waits for a person to approve it.

  1. 1

    Bring your articles

    Write in AskBase or import your current help centre from its address. Articles keep their addresses.

  2. 2

    Add the chat

    Put the assistant on your website and in your help centre. It answers from published articles and AI-only ones.

  3. 3

    Fill the gaps

    Read the questions it couldn’t answer, most asked first, and approve the drafts AskBase writes for them.

Questions people ask

Is an AI knowledge base the same as a chatbot?
No. A chatbot is the conversation window. An AI knowledge base is the content it answers from, plus the search that finds the right passage. A chatbot without one answers from its training data and can guess about your product.
Do I need to train the AI on my articles?
No. AI knowledge bases search your articles each time a question is asked and give the model only the relevant passages. Update an article and the next answer uses the new version.
How many articles do I need before adding AI?
Fewer than you might think. Twenty well-written articles covering the questions your team answers most will handle a large share of them. The questions the AI declines then tell you what to write next.
Can an AI knowledge base be private?
Yes. An internal knowledge base works the same way for your team, behind a sign-in. Many tools let you keep internal and public articles together and mark who each is for.
Will it make things up?
It can, which is why the design matters. Look for answers that only use your articles, cite every source, and decline below a confidence threshold, and read a sample of real conversations regularly.