Preparing a Knowledge Base for AI Chatbots

Company-specific chatbot answers depend on the quality, currency and scope of the source set. Uploading a collection of old PDFs is not equivalent to preparing a useful knowledge base. Decide which questions can be answered, which document is authoritative and when information becomes invalid. Technical implementation can apply these decisions, but it cannot independently create the business’s actual policy.

Prix Studio · 6 min read · Updated 21 October 2026

Owned, versioned knowledge sources feed traceable answers, citations and human escalation.
Conceptual article diagram

Bound the knowledge base through real questions

The AI support plan defines the topics the chatbot can answer. Product descriptions, delivery, membership, internal procedures and personal account lookups require different sources. Collect genuine user questions and map each to an approved answer source. Define an explanation and handoff route for topics outside the scope.

In a RAG approach, the system can retrieve relevant source passages and provide them as context for answer generation. This does not mean that every document upload retrains model weights. Retrieval, generation and model training are separate concepts. Adding sources does not guarantee correct or faithful answers; relevant information must be found and used appropriately.

Question scope

Expected customer questions and explicitly excluded topics.

Source scope

The document and approved version supporting the answer.

Action scope

Information versus live record lookup or change authority.

Resolve authoritative versions and contradictions

In an AI agent workflow, the source provides the basis for a decision. Record title, owner, language, product or process scope, version and review state for each document. Creation date alone does not establish currency. Resolve competing guidance from different teams before indexing it.

For example, an old PDF says delivery takes 30 days while a webpage says seven. The business owner resolves the applicable product and conditions, then archives the obsolete source. Averaging the numbers or selecting the most recently uploaded file does not resolve company policy.

Separate public guidance, internal procedures and customer records. Changing stock or order status needs a separately authorized live lookup. The example records below show what source owners should complete before ingestion.

Example sourceOwner and scopeRefresh or exclusion trigger
Delivery policyOperations; product, region, language and versionRemove old conditions and rerun affected questions
Dimension tableProduct owner; model, units and document IDReingest after a model or measurement correction
Internal support procedureSupport owner; authorized staff onlyTest access and caches after role changes

Make content readable without losing its conditions

During content preparation, preserve headings, definitions, conditions and exceptions. Microsoft’s RAG preparation guidance examines document structure, columns and tables separately. Carry context with references such as “the table above”; keep product names, units and footnotes attached to the answer passage.

Inspect extracted content from PDFs and images. Columns can become mixed, a table price can attach to the wrong product, or scanned text can be incomplete. Successful upload does not establish successful extraction. The technical team should expose indexed text so an editor can review representative passages.

No chunk size fits every source. Test alternatives with representative short conditions and long procedures. Check product names, abbreviations and local conditions in Turkish and English. Translation must not make an obsolete policy appear current in another language.

Apply access rules before generating the answer

A customer messaging chatbot should use only information the person may access. Uploading private material and adding “do not reveal secrets” to a prompt is not an adequate access-control design. Apply relevant identity and document permissions in source selection and retrieval. Personal order data and general delivery guidance require different access decisions.

Microsoft’s access-control documentation describes query-time document filtering; implement the required controls explicitly. Instructions inside documents cannot grant roles or tools. One customer’s query must not retrieve another customer’s contract. Test permission changes, deleted documents and earlier conversation caches together. Exclude credentials from the source collection.

For absent, conflicting or unauthorized evidence, clarify or hand off. Check whether a cited passage supports the actual conditions stated. A source link alone does not establish answer correctness.

Evaluate retrieval and answer quality separately

In the automation acceptance plan, inspect retrieval and generation separately. Microsoft’s evaluation guide distinguishes groundedness, completeness, relevance and correctness. Record the question, expected document, required exception and unacceptable claim. When an exception disappears, examine the source, retrieved passage and final answer as separate stages.

For example, if “Will this arrive tomorrow?” retrieves regional and working-day exceptions, an unconditional delivery promise should fail. Include typos, unanswerable questions, other-customer records and obsolete sources. Compare automated scores with human review; fluent output or one high score does not measure every risk.

01

Verify sources

Resolve owners, versions, permissions and contradictions.
02

Run question tests

Examine source retrieval and faithful conditional answers separately.
03

Update and recheck

Mark changed information and reassess affected questions in the new version.

Hand over updates with ownership and regression checks

The AI support plan should include the source inventory, prepared content, access map, test questions and update owner. Set freshness expectations by source type. When policy changes, verify removal of obsolete passages from the index, retrieval results and answer caches.

Rerun questions linked to the changed document. Suspend affected answers if permission or stale-source failures remain. Send the question, missing evidence and checked version to the responsible person. Reevaluate the repaired content before restoring it.

Frequently asked questions

Anything else? Write to us.

Is every PDF suitable for a chatbot?

No. Check extraction, table relationships, currency and permissions. Upload success does not establish content readiness. Map the authoritative version to the user question first.

Does uploading documents train the model?

In a retrieval-based system, documents can provide answer context without automatically changing model weights. Training, indexing and generation are separate processes. The technical team should explain the implemented approach.

What should happen when the answer is absent?

Define the behavior in advance. An explicit limitation, clarifying question or appropriate handoff may be suitable. Do not invent company policy from general model knowledge to fill a missing source.

Can Turkish and English content be used together?

Yes, with review of meaning, versions and equivalent conditions. Language metadata and question tests matter. An obsolete policy in one language should not replace the current guidance in another.

Who should manage updates?

The business owner approves correctness and validity; the technical team verifies ingestion and access behavior. Recheck affected questions after changes. Ownerless content tends to weaken chatbot quality over time.

How often should a knowledge base be refreshed?

Set a cadence by information type, with event-driven updates for changed products or policies. The owner approves the current version, the technical team stops obsolete content being used, and affected questions are tested again.

Review your knowledge sources

Share the approved documents, user questions and content owners.

Ekibimiz doğrudan dönüş yapar
Get a free analysisGet a free analysis

Projenizi konuşalım. 24 saatte yazılı dönüş.

  1. 01İletişim
  2. 02Proje
  3. 03Son adım
Zorunlu alanlar

Sizi tanıyalım; kurucularımızdan biri doğrudan size döner.