Content Chunker
Converts MaterializedContainerSection objects into Chunk objects with intelligent text splitting.
For container sections with small total content (aggregated from leaves), creates a single chunk containing all leaf content. For large leaf sections within containers, splits them individually into multiple chunks.
Types
Link copied to clipboard
data class DefaultConfig constructor(val maxChunkSize: Int = 1500, val overlapSize: Int = 200) : ContentChunker.Config
Configuration for the splitter