You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FEAT: check for documents updation to feed for re-chunking #1
The ingest.ts runs without checking if the documents have updated or not, we need a regular updation workflows which only chunks the part of the documents that have updated and no the whole document. We can't rely on git diff for this !
Document updation changes were optimized in PR #2 through the built-in method of llamaindex DocStoreStrategy.UPSERT_AND_DELETE, but the boundary-shift problem still remains a bottleneck to our optimization, now we'll use CDC strategies to fix that.
boundary-shift problem -
Imagine splitting a book into chapters of exactly 50 pages each. If someone inserts a single paragraph on page 2, every "chapter" after it shifts by a paragraph — so all of your 50-page boundaries now fall in different places, and the system thinks the whole book is new, even though only one paragraph changed.
Activity
ayush00git commentedon May 27, 2026
Document updation changes were optimized in PR #2 through the built-in method of llamaindex
DocStoreStrategy.UPSERT_AND_DELETE, but the boundary-shift problem still remains a bottleneck to our optimization, now we'll use CDC strategies to fix that.boundary-shift problem -
Imagine splitting a book into chapters of exactly 50 pages each. If someone inserts a single paragraph on page 2, every "chapter" after it shifts by a paragraph — so all of your 50-page boundaries now fall in different places, and the system thinks the whole book is new, even though only one paragraph changed.