AI Help

How do I stop a RAG chatbot from using superseded versions of a document?

Version documents explicitly and filter retrieval to the approved active version. Verify that superseded chunks stop appearing.

Steps to follow

  1. Store a stable document ID, version and active status with indexed material. Define which version takes precedence.
  2. Update retrieval filters or index membership when publishing a new version. Reconcile old and new ingestion before switching traffic.
  3. Ask questions whose answers changed and inspect returned file IDs and passages. Account for documented deletion or indexing delays.

Example in practice

Illustrative example. A 2026 travel policy must supersede the 2025 allowance. Test with the old amount to check whether retired material still surfaces.

Related AI help

Official guidance

OpenAI documentation