feat: add batch delete documents support to API, SDK, CLI, and tests#151
Open
mdehsan873 wants to merge 3 commits intomorphik-org:mainfrom
Open
feat: add batch delete documents support to API, SDK, CLI, and tests#151mdehsan873 wants to merge 3 commits intomorphik-org:mainfrom
mdehsan873 wants to merge 3 commits intomorphik-org:mainfrom
Conversation
- Added /documents/batch_delete API endpoint for deleting multiple documents at once - Implemented service method to handle deletion and error resilience - Updated SDK (sync + async) to expose batch_delete_documents() - Added CLI command: `morphik batch-delete <doc_ids...>` - Added test cases in both async and sync SDKs to verify batch deletion
Bug Report
Comments? Email us. |
…t deletion - Added limit check for batch size (MAX_BATCH_DELETE) to prevent abuse - Integrated telemetry metadata tracking for batch_delete_documents API - Enhanced error handling with specific logs and user-safe error messages
Bug Report
Comments? Email us. |
Author
|
@ArnavAgrawal03 or @Adityav369 Can you please review this PR? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
morphik batch-delete <doc_ids...>