How do you handle document updates in a RAG system?
LLM Engineer Interview Questions: RAG Pipeline Design, Chunking Strategies, Hybrid Retrieval
Audio flashcard · 0:18Nortren·
How do you handle document updates in a RAG system?
0:18
For document updates, track each chunk's source document ID and version. When a document changes, delete the old chunks and reindex the new content. For frequent updates, schedule incremental sync jobs and use webhooks where possible. Always design ingestion to be idempotent so reruns produce the same state without duplicates.
---
docs.llamaindex.ai