Expand description
Helpers for slicing strings into token-aware chunks for embeddings and documentation.
Structs§
- Chunker
Config - Configuration for text chunking
- Text
Chunk - Represents a chunk of text with metadata
Functions§
- chunk_
text - Chunks text into overlapping segments based on token count