Class ContentChunker

  • All Implemented Interfaces:

    
    public final class ContentChunker
    
                        

    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.