EasyDeepLearn
LLMs & GenAI · section 10 of 18

Vector databases & hybrid search

1 interview question on vector databases & hybrid search, each answered in full. Free to read, no account needed.

How do you handle content updates and stale embeddings in production RAG?

medium
  • (1) Track document versions; re-embed changed docs and upsert.
  • (2) Delete stale vectors — tombstone or hard delete.
  • (3) Backfill jobs when embedding model changes (full re-embed of the corpus, staged rollout).
  • (4) Version namespaces: keep old + new embeddings in parallel, canary rollout with a small % of traffic on the new model.
  • (5) Idempotent IDs (stable across re-embeddings) simplify updates.
  • Avoid full-corpus re-embeds for minor changes.
#vector-db#productionPermalink & quiz →

Practise LLMs & GenAI