Skip to content

feat: Implement large file processing support in Compass SDK #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ai-yann
Copy link

@ai-yann ai-yann commented Mar 31, 2025

  • Added functionality to handle files larger than 50MB by automatically chunking them into smaller parts for processing.
  • Introduced new methods for reading files in chunks and processing them in parallel.
  • Updated the CompassParserClient to support chunked file processing, including progress tracking with tqdm.
  • Enhanced error handling for chunk processing and ensured consistent metadata across chunks.
  • Added unit tests to verify the new large file processing capabilities.

This update improves the SDK's ability to manage large documents efficiently.

Resolves #91

- Added functionality to handle files larger than 50MB by automatically chunking them into smaller parts for processing.
- Introduced new methods for reading files in chunks and processing them in parallel.
- Updated the `CompassParserClient` to support chunked file processing, including progress tracking with `tqdm`.
- Enhanced error handling for chunk processing and ensured consistent metadata across chunks.
- Added unit tests to verify the new large file processing capabilities.

This update improves the SDK's ability to manage large documents efficiently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for huge files larger than 50 MB
1 participant