Split a document into chunks
Document to chunk
Chunked documents with metadata
Split multiple documents into chunks
Documents to chunk
Array of chunk results
Estimate the number of chunks that will be created
Document to estimate
Estimated number of chunks
Recursive text chunking strategy.
Splits text using a hierarchy of separators (paragraphs, sentences, words) to maintain semantic coherence while respecting size constraints.
The algorithm tries to split on:
Example