Reading the output. Highlighted regions are bytes shared with the adjacent chunk (overlap). Stats show: chunk count, mean/min/max tokens, total tokens (corpus size + overlap inflation). For a fair comparison, watch how each strategy handles sentence boundaries near your target size.
Picking a strategy
| Source type | Suggested | Why |
|---|---|---|
| Long-form prose | Recursive or sentence | Preserves sentence-level coherence. |
| Technical docs with headings | Paragraph | Headings act as natural boundaries. |
| Source code | AST-based (not shown) | Splitting on tokens breaks scope. None of the four shown handle code well. |
| Mixed-quality scrapes | Fixed with high overlap | Bad input deserves redundant chunks. |