Skip to main content
GrN.dk

Main navigation

  • Articles
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Support bots need a deletion test before they learn the old help center

Hand-drawn sketch infographic summarizing: Article 503

By Greg Nowak. Last updated 2026-07-06.

Most support bot projects start with a reasonable assumption: the answers are already in the help center. Often, they are. The awkward part comes later, when the help center changes and nobody is quite sure what the bot still has access to.

Retrieval-augmented generation, or RAG, turns company knowledge into something a model can search at answer time. Google describes that pattern as ingestion, transformation, embedding, indexing, retrieval, and generation. OpenAI's file search documentation shows the same implementation shape from a different angle: files are uploaded into vector stores, and the model can search those stores before it responds.

So a help-center article is no longer only a CMS page. It may also live as chunks, embeddings, index records, file references, metadata, and citations. Removing the visible page does not automatically prove that every retrieval copy has gone with it.

That is the practical risk. A support bot can still retrieve an old refund policy, cite a setup guide that has been withdrawn, or answer from a PDF the team thinks it retired months ago. The fix is not a longer prompt. It is a deletion test.

The failure teams often miss

Support teams are usually good at testing whether a bot can find the right answer. They ask common customer questions, adjust prompts, improve chunks, and compare responses. That work matters. It just does not cover the other half of the problem.

A production support bot also has to prove it can stop finding an answer when the source is withdrawn.

This becomes more important as AI answers carry more visible attribution. Claude's citations documentation is built around grounding responses in source documents and returning the passages or locations behind the answer. OpenAI's file search examples also include file citations. Attribution helps users trust the answer, but it also exposes stale retrieval. If the bot cites a document that was unpublished last month, the issue is no longer hidden inside the pipeline. It is right there in the customer experience.

Search and vector platforms treat deletion as a real operation. Pinecone documents deletion by record ID, by metadata filter, across a namespace, or by deleting an index. Azure AI Search's blob indexer supports incremental indexing, built-in change detection for new and updated files, and deletion detection through soft delete or custom metadata. The common thread is simple: removal has to be designed, wired, and checked.

Deletion test matrix for a support bot knowledge base
Pipeline point What to test Evidence to keep Why it matters
Source system Unpublish or delete one known help article CMS event, source ID, timestamp Confirms the removal starts in the system of record
Ingestion job Run the scheduled or on-demand sync Job log showing the changed or removed item Shows the connector noticed the lifecycle change
Vector or search index Query by stable ID and metadata No active chunks remain for the deleted source Prevents old chunks surviving under another retrieval path
Bot answer Ask questions that previously matched the article Answer refuses, redirects, or cites a current replacement Proves the user-facing behavior changed
Evaluation set Add the deletion case to regression tests Repeatable pass or fail result Keeps the removal behavior from breaking later

What the test should prove

Keep the test narrow. Pick one source document with a distinctive answer. Record its source ID, URL, file name, product area, language, and publication state. Ask the bot a question that reliably retrieves it. Then remove or unpublish the source through the normal content workflow.

After that, use the same path production uses. If the system relies on blob storage, a CMS export, uploaded files, or a vector database, the test should go through that route. A manual cleanup in the database may make the demo pass, but it does not prove the operating process works.

Azure's blob indexing documentation is a useful reminder here. Indexing may be scheduled or run on demand, and deletion detection depends on supported mechanisms such as soft delete or custom metadata. In a vector database, Pinecone's delete options show why stable IDs and metadata filters are not just tidy administration. They are how you remove the right records without guessing.

Then ask the original question again. The correct result is not always silence. The bot might answer from a newer replacement document. It might say the policy is not available. It might route the customer to support. What matters is that the deleted source no longer participates in retrieval, generation, or citation.

Timing also belongs in the test. Pinecone notes that data freshness can involve a slight delay, so a deletion check should include a realistic wait and re-query step. Testing one millisecond after an update can create false alarms. Testing once and never checking again can miss drift.

Metadata does the operational work

Deletion testing is much easier when every chunk carries useful metadata. At minimum, support content should include a stable source ID, canonical path, content type, product area, locale, version or last modified value, publication status, and owner.

Azure's documentation highlights metadata fields such as storage path and last modified timestamps for indexing and attribution. Claude's citations documentation also shows how document titles, context, and cited locations connect answers back to supplied material.

The common mistake is treating metadata as reporting decoration. In a RAG system, metadata is part of the control plane. It lets the sync job find all chunks that belong to one document. It lets deletion use a precise filter instead of a broad rebuild. It lets citation checks separate current source material from archived content. It also gives support, product, and legal teams a practical way to inspect why the bot answered as it did.

Evaluation keeps the cleanup from fading

A one-off cleanup will not hold for long. LangSmith's evaluation documentation separates offline evaluation before shipping from online evaluation in production, and describes a workflow built around datasets, evaluators, experiments, comparison, and feedback loops. For support bots, deletion cases belong in that loop.

The evaluation set does not need to be large to be useful. Start with questions tied to withdrawn policies, renamed products, replaced setup steps, and archived PDFs. Score whether the bot avoids deleted sources, cites current ones, follows the expected fallback behavior, and keeps the answer usable. When production traces reveal a stale answer, add that case to the dataset and validate the fix before redeploying.

This is where a practical RAG hygiene project becomes valuable. The work is not only model selection. It is source inventory, CMS-to-vector sync, metadata rules, deletion propagation tests, citation checks, evaluation questions, and a small monitoring routine for drift.

Greg can scope that as a focused digital project: define the content lifecycle, connect the APIs, prove the deletion path, and leave the team with checks they can run after each content release.

Support automation works only when the team can trust the answer path. Before the bot learns the old help center, make it pass the removal test. If it cannot forget a deleted article on command, it is not ready to become the front line of customer support.

Related on GrN.dk

  • ChatGPT apps need a permissions map before they touch company data
  • AI bot traffic just beat humans, and crawler rules are no longer optional
  • AI images need a media-library audit before they reach clients

Need help with this kind of work?

Plan a RAG hygiene project Get in touch with Greg.

Sources

  • OpenAI file search documentation
  • Claude citations documentation
  • Google Gemini Enterprise RAG Engine overview
  • Pinecone delete records documentation
  • Azure AI Search blob indexing documentation
  • LangSmith evaluation documentation
Last modified
2026-07-07

Tags

  • AI
  • RAG
  • support automation
  • content governance
  • API integration

Review Greg on Google

Greg Nowak Google Reviews

 

  • Support bots need a deletion test before they learn the old help center
  • AI shopping visibility now depends on boring product-data plumbing
  • OpenAI Evals Bring Acceptance Tests to AI Workflow Releases
  • Debugging PHP: A Practical Workflow for Faster Fixes
  • AI Shopping Makes Product Data Integrity a Technical Ops Job
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.