docs: add incremental updates API reference and usage guide#264
docs: add incremental updates API reference and usage guide#264galshubeli wants to merge 2 commits into
Conversation
Adds docs/incremental-updates.md covering the v1.1.0 incremental primitives — update(), delete_document(), apply_changes(), finalize() — with parameters, return shapes, graph-impact tables, and the update_concurrency=1 invariant. Linked from the docs index. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughA new comprehensive documentation page describes the v1.1.0 incremental graph update API: ChangesIncremental Updates Documentation
🎯 1 (Trivial) | ⏱️ ~5 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
docs/incremental-updates.mddocumenting the v1.1.0 incremental primitives:update(),delete_document(),apply_changes(), andfinalize().UpdateResult/DeleteDocumentResult/ApplyChangesResult/FinalizeResult), and an explicit table of what changes in the graph (chunks, scoped orphan entities, staleRELATEScleanup, no-op short-circuit).update_concurrency=1invariant and thedeletes → updates → addsdispatch order fromapply_changes().docs/index.mdunder "Next Steps".No code changes — docs only.
Test plan
docs/incremental-updates.mdand confirm tables/code blocks look rightingestion.md,storage.md,configuration.md,../graphrag_sdk/examples/07_incremental_updates.py)graphrag_sdk/src/graphrag_sdk/api/main.pyandcore/models.py🤖 Generated with Claude Code
Summary by CodeRabbit