Skip to content
← All insights

Customer Experience · 5 min read

Build an AI Knowledge Base That Knows When It Does Not Know

Turn scattered business information into a maintainable source of grounded answers for staff and customers.

The short answer

A grounded AI knowledge base searches a selected set of documents and uses relevant passages to help answer a question. It can make policies and procedures easier to find, but it inherits the weaknesses of the material and the search system. Clear ownership, permissions, and a safe “I do not know” response matter as much as the model.

Imagine a customer asking whether a service is available on weekends. A confident answer from an old schedule is worse than a link to the current booking page. The same risk appears in a contractor’s warranty terms, a retailer’s returns policy, and a clinic’s appointment instructions.

Start with information people actually need

Collect 20 to 30 recurring questions from the support inbox, staff handoffs, and search logs. Identify the best approved source for each answer. If staff disagree about the policy, resolve that disagreement before automating it. A knowledge base makes information easier to access; it cannot decide which contradictory rule is correct.

For each document, record an owner, effective date, review date, audience, and source location. Remove duplicate or superseded versions from the assistant’s searchable collection. Give every important policy a plain-language title and make exceptions explicit. Keep private internal guidance separate from material customers may see.

Understand the flow

In retrieval-augmented generation, often called RAG, a search step finds relevant passages and supplies them to a language model to compose an answer. Google Cloud’s explanation of grounding describes connecting responses to verifiable information. Retrieval can improve context, but a system can still retrieve the wrong passage, miss a qualifying condition, or produce an unsupported answer.

Relevant AI capabilities: semantic search can find passages with different wording; generative AI can explain them; extraction can surface the policy name or effective date. Traditional keyword search and well-organized pages can be enough for a small collection, so compare them before adding complexity.

Make the source inspectable

Show a link or citation to the document used, and where feasible the relevant passage. Instruct the assistant to say when its sources do not support an answer and offer a human route. For prices, availability, and account status, consider querying an authorized current system rather than relying on a document snapshot. A citation is a starting point for verification, not proof that every sentence is supported.

Enforce access controls at retrieval time. An employee’s internal search should not expose payroll or private customer records to someone without permission, and a public assistant should search only public material. Review vendor terms, retention settings, and the handling of customer information before connecting a service.

Evaluate before and after launch

Create a test set with ordinary questions, synonyms, missing information, conflicting documents, and questions that should not be answered. For each, note the expected source and an acceptable answer or refusal. Have a knowledgeable person check source relevance, factual support, completeness, and whether restricted content appeared. Repeat after document updates and model changes.

Track unanswered questions and incorrect citations alongside usage. Review them with document owners: a cluster of failures may signal a missing policy rather than a model problem. Start with one tightly scoped collection and a staff-only pilot, then expand when the content and maintenance process prove reliable.

Keep reading

Customer ExperienceWhere AI Customer Support Helps—and Where People Should Take Over5 min readCustomer ExperienceRespond to New Leads Faster Without Sending Generic Replies5 min readCustomer ExperienceTurn Customer Feedback Into Decisions With AI5 min read