Skip to main content

Module adaptive_chunking

Module adaptive_chunking 

Source
Expand description

Adaptive chunk sizing from a rough “prefrontal” budget controller (tight → signatures, generous → full bodies).

Structs§

ChunkResult
One slice of source text chosen for inclusion.

Functions§

adaptive_chunk
Split content into prioritized chunks sized to budget_tokens spread across total_items sibling slices.