Commit graph

1 commit

Author SHA1 Message Date
Brandon Wolfgang
dae610d2b2 feat: add configurable text chunking with overlap
- Implement chunkText with configurable chunk size and overlap defaults
- Normalize input text and return no chunks for empty or whitespace-only content
- Assign sequential indices to chunks while preserving configured overlap
- Validate chunk size and overlap constraints
- Add tests for empty input, chunk boundaries, overlap, indexing, and invalid sizes
2026-10-22 10:01:12 -05:00