Skip to main content
GrN.dk

Main navigation

  • Articles
  • Cases
  • 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

Illustrated infographic summarizing: Support bots need a deletion test before they learn the old help center

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-15

Tags

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

Review Greg on Google

Greg Nowak Google Reviews

 

Illustrated infographic summarizing: Shorter TLS certificates expose every renewal you never automated
Shorter TLS certificates expose every renewal you never automated
2026-07-26

Shorter TLS lifetimes leave less room for manual handoffs and faulty deploy hooks. Build a renewal path that protects service availability.

Illustrated infographic summarizing: One Timeout, Two Orders: Make AI Actions Safe to Retry
One Timeout, Two Orders: Make AI Actions Safe to Retry
2026-07-25

A timed-out AI action may already have succeeded. Stable keys, durable ledgers, queues and stored results prevent a routine retry from duplicating real work.

Illustrated infographic summarizing: Your AI Visibility Dashboard Needs a Methodology, Not More Charts
Your AI Visibility Dashboard Needs a Methodology, Not More Charts
2026-07-24

A practical framework for measuring AI-search visibility with fixed prompts, repeated tests, separate metrics, retained evidence, and honest reporting.

Illustrated infographic summarizing: AI Admin APIs Are Here—But Your Directory Is Still the Source of Truth
AI Admin APIs Are Here—But Your Directory Is Still the Source of Truth
2026-07-23

New AI admin APIs can automate access and spend controls, but reliable governance still starts with authoritative directory data and clear ownership.

Illustrated infographic summarizing: OpenAI Presence Arrived—But Is Your Workflow Ready for an Agent?
OpenAI Presence Arrived—But Is Your Workflow Ready for an Agent?
2026-07-22

Before an AI agent can take on real work, its workflow needs clear scope, permissions, handoffs, evaluation cases, and production monitoring.

Illustrated infographic summarizing: Chatbot Transcripts Quietly Became a Retention and Redaction Problem
Chatbot Transcripts Quietly Became a Retention and Redaction Problem
2026-07-21

Chatbot transcripts spread across providers, logs and support tools. Here is how to map each copy, redact sensitive data and test deletion properly.

Illustrated infographic summarizing: Cloudflare Service Keys Stop in September: Find Every Caller
Cloudflare Service Keys Stop in September: Find Every Caller
2026-07-20

Cloudflare Service Keys stop working on September 30, 2026. Here is how to find every caller, move to scoped API tokens and avoid a late outage.

Illustrated infographic summarizing: Your AI Workflow Needs an Acceptance Test Before It Meets Customers
Your AI Workflow Needs an Acceptance Test Before It Meets Customers
2026-07-19

A practical way to test AI workflows using realistic scenarios, tool checks, human rubrics, regression suites, and clear release gates.

Three cover candidates for The Goats Were Load-Bearing fanned on a dark background: an ember-lit door, three slow knocks, and a founders' ledger
The Goats Were Load-Bearing: a fantasy where the bill always comes due
2026-07-19

A teaser for the upcoming darkly comic fantasy novel The Goats Were Load-Bearing — a village, a door that must stay poor, and the worst possible time to sell the herd. Readers pick the cover.

Vegan Power game: the yellow player catches falling fruit while a chicken and a cow look on
Vegan Power: The Little Game About Eating Fruit, Not Friends
2026-07-19

Vegan Power is a free browser game where you catch fruit, dodge the animals, protect seven hearts, and chase a better high score.

More articles
RSS feed

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