All Questions
Rag And Retrieval easy

Your RAG index covers 2 million product documents, and about 1,000 of them change each day. A nightly full re-embedding job takes 10 hours. What is the better design?

  1. A Keep the full rebuild but run it weekly instead, since most documents rarely change at all.
  2. B Upsert only changed docs' chunks on change events, keyed by document ID and version.
  3. C Skip re-indexing entirely and let the LLM correct outdated details from its training data.
  4. D Append new chunks without deleting old ones, and rely on the reranker to prefer the newest.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions