Connecting an AI assistant to a knowledge base can expose problems that staff have been working around for years. An outdated checklist sits beside its replacement. A scanned table loses the relationship between its headings and values. A document uses “this service” without explaining which service it means. The assistant's source collection needs an editorial review before those problems become answer problems.
Cleaning a knowledge base for AI means making the selected material accurate, understandable and usable in the proposed retrieval process. It is a focused content preparation job. This guide explains how to identify defects, make controlled corrections and verify the cleaned material, while preserving the original business meaning.
Create a working copy and a clear cleaning record
Begin with the approved collection chosen for the assistant's intended task. Keep a record of the original location and version of each item. Work through an authorised copy or editing process so the team can compare the prepared material with its source and trace meaningful changes.
Use a simple cleaning register. Record the item, defect, proposed action, responsible reviewer and outcome. For example, a pricing guide might contain an expired offer, while a process document might refer to a retired system. These need decisions by knowledgeable owners, not merely formatting changes by the person preparing files.
Keep unresolved items outside the approved release until their status is clear. Cleaning should not turn uncertainty into apparently authoritative text. If staff cannot agree which procedure is current, record the disagreement and obtain a decision before the assistant is expected to answer from it.
Separate obsolete material from useful historical context
Compare versions by their content and approval status, rather than assuming the file with the latest filename is correct. A recently uploaded copy may still contain an old procedure. Check the responsible team's current working practice and the source of the approved facts.
Mark material as current, historical, superseded or awaiting review. Historical information may be useful for an assistant with an explicitly historical task, but it should not silently compete with current operational instructions. Decide whether it belongs in a separate collection or should be excluded from this assistant altogether.
Consider an illustrative booking guide that mentions an old deposit arrangement. Removing the old guide is not enough if the same wording remains in a frequently copied FAQ. Search the selected collection for related statements and have the owner confirm that the replacement rule is consistent wherever it appears.
Resolve conflicts through a factual decision
Read documents that answer the same business question together. Look for differences in service scope, eligibility, steps, responsibilities and stated exceptions. Two polished pages can still give incompatible answers. Record the actual conflict instead of labelling the whole folder “needs updating”.
Ask the accountable specialist which statement applies and under what conditions. Perhaps the procedures concern different customer groups, or one applies only to an existing contract. The correction may be an explicit scope statement rather than choosing one page and discarding the other.
Keep the decision separate from the assistant's generated wording. An AI summary of conflicting sources is not approval of a new business rule. Once the owner resolves the facts, update the approved material and test questions that previously depended on the conflict.
Repair extraction problems without changing the meaning
Review content formats, structure and preprocessing requirements before retrieval development. Check issues such as multi-column layouts and the relationship between tables and their headings. For your project, inspect what the actual extraction process produces from representative files, rather than assuming a readable document produces usable retrieval passages. Our knowledge preparation and RAG retrieval guide provides the related checks.
Compare the extracted text with the original document. Check whether paragraphs appear in their intended order, whether a heading remains attached to its section and whether a table value can still be understood. A file opening successfully does not establish that its content has been extracted correctly.
For an illustrative delivery table, the value “three days” means little if extraction loses the service name and starting condition. Ask the technical team to preserve the relationship or use an approved text representation that states it clearly. Have the factual owner review the result, especially where dates, amounts or conditions matter.
Make references understandable outside their surrounding page
Read a section as though the reader has not seen the previous page. Phrases such as “follow the above steps”, “use the normal form” and “contact them” may rely on context that a retrieved passage does not contain. Clarify the relevant step, form or role in the approved source.
Give headings a useful meaning. “Important information” is less helpful than a heading that identifies the procedure and audience. Avoid replacing every paragraph with repetitive keyword phrases, however. The purpose is to preserve context and help people understand the subject, not to manufacture unnatural search copy.
Expand an unexplained acronym where the audience needs it and record approved terminology. If two teams use different names for the same service, explain the relationship. Do not merge terms that refer to different products merely because they sound similar. Cleaning vocabulary requires knowledge of the business distinctions.
Remove noise selectively and review sensitive material
Repeated navigation, decorative text and duplicated boilerplate can distract from useful source content. Ask which elements the preparation process should omit, then check the result. A heading or note that looks repetitive might still explain an exception, so blanket deletion is a poor substitute for review.
Check comments, tracked edits and embedded examples for material that was never intended for the assistant's audience. A training document may contain a real customer's details even when its main procedure is suitable. Use the business's approved information handling process to decide what should be removed, replaced or restricted.
Preserve necessary notices and qualifications. A short sentence explaining that a process applies only after approval can change the meaning of the whole section. Cleaning should make that condition clearer. It should not remove an inconvenient limitation to produce a smoother answer.
Review the prepared result with practical questions
Create a small review set tied to the defects you corrected. Ask a current-process question, a question about an exception and a question that previously produced competing answers. Note the source passage that should support each response and the conditions the response must retain.
Have the technical team demonstrate retrieval separately from answer generation where the implementation allows it. If the expected passage is missing, the problem may be in preparation or search. If the passage is present but the answer changes its meaning, the next investigation concerns the answer process. Keep those findings distinct.
Include a question the prepared material cannot answer. The assistant should follow its agreed uncertainty or escalation behaviour rather than fill the gap with invented business information. Adding more files is useful only if they contain approved evidence relevant to the missing question.
Release a reviewed collection and maintain its quality
Record which prepared versions entered the assistant's source collection and when. Keep the review findings and unresolved exclusions available to the project owner. This makes it possible to investigate whether an unexpected answer came from an old file, an extraction defect or a later content change.
Giraffe Digital's digital strategy services connect content and working processes with the tools businesses use. Knowledge base cleaning supports that work by turning implicit staff knowledge and inconsistent documents into a more dependable source collection.
Review meaningful changes through the same process after launch. A new service, revised procedure or replacement document should trigger the relevant factual and extraction checks. The useful outcome is a collection whose meaning can be explained and verified, with clear evidence behind the answers it is expected to support.
Frequently asked questions
How should we create a working copy and a clear cleaning record?
Begin with the approved collection chosen for the assistant's intended task. Keep a record of the original location and version of each item. Work through an authorised copy or editing process so the team can compare the prepared material with its source and trace meaningful changes. Use a simple cleaning register. Record the item, defect, proposed action, responsible reviewer and outcome. For example, a pricing guide might contain an expired offer, while a process document might refer to a retired system. These need decisions by knowledgeable owners, not merely formatting changes by the person preparing files. Keep unresolved items outside the approved release until their status is clear. Cleaning should not turn uncertainty into apparently authoritative text.
How should we resolve conflicts through a factual decision?
Read documents that answer the same business question together. Look for differences in service scope, eligibility, steps, responsibilities and stated exceptions. Two polished pages can still give incompatible answers. Record the actual conflict instead of labelling the whole folder "needs updating". Ask the accountable specialist which statement applies and under what conditions. Perhaps the procedures concern different customer groups, or one applies only to an existing contract. The correction may be an explicit scope statement rather than choosing one page and discarding the other. Keep the decision separate from the assistant's generated wording. An AI summary of conflicting sources is not approval of a new business rule. Once the owner resolves the facts, update the approved material and test questions that previously depended on the conflict.
How should we make references understandable outside their surrounding page?
Read a section as though the reader has not seen the previous page. Phrases such as "follow the above steps", "use the normal form" and "contact them" may rely on context that a retrieved passage does not contain. Clarify the relevant step, form or role in the approved source. Give headings a useful meaning. "Important information" is less helpful than a heading that identifies the procedure and audience. Avoid replacing every paragraph with repetitive keyword phrases, however. The purpose is to preserve context and help people understand the subject, not to manufacture unnatural search copy. Expand an unexplained acronym where the audience needs it and record approved terminology. If two teams use different names for the same service, explain the relationship.
How should we remove noise selectively and review sensitive material?
Repeated navigation, decorative text and duplicated boilerplate can distract from useful source content. Ask which elements the preparation process should omit, then check the result. A heading or note that looks repetitive might still explain an exception, so blanket deletion is a poor substitute for review. Check comments, tracked edits and embedded examples for material that was never intended for the assistant's audience. A training document may contain a real customer's details even when its main procedure is suitable. Use the business's approved information handling process to decide what should be removed, replaced or restricted. Preserve necessary notices and qualifications. A short sentence explaining that a process applies only after approval can change the meaning of the whole section.
How should we release a reviewed collection and maintain its quality?
Record which prepared versions entered the assistant's source collection and when. Keep the review findings and unresolved exclusions available to the project owner. This makes it possible to investigate whether an unexpected answer came from an old file, an extraction defect or a later content change. Giraffe Digital's digital strategy services connect content and working processes with the tools businesses use. Knowledge base cleaning supports that work by turning implicit staff knowledge and inconsistent documents into a more dependable source collection. Review meaningful changes through the same process after launch. A new service, revised procedure or replacement document should trigger the relevant factual and extraction checks. The useful outcome is a collection whose meaning can be explained and verified, with clear evidence behind the answers it is expected to support.


