bhavnicksm / chonkie

🦛 CHONK your texts with Chonkie ✨ - The no-nonsense RAG chunking library
https://pypi.org/project/chonkie/
MIT License
1.69k stars 61 forks source link

Add initial batching support via `chunk_batch` fn + update DOCS #28

Closed bhavnicksm closed 1 week ago

bhavnicksm commented 1 week ago

This pull request includes updates to the TokenChunker class and its documentation to improve usability and performance. Key changes include the addition of multiprocessing for batch chunking, enhanced documentation, and the ability to handle both single and batch inputs using the __call__ method.

Documentation Improvements:

Code Enhancements: