Skip to main content

Overview

HTML splitter parses HTML DOM to intelligently group content into semantic blocks. Follows a multi-stage pipeline: parse & sanitize, segment by tags, chunk text within blocks, and merge small chunks. Preserves document structure and extracts rich metadata. Splitter Class: HTMLChunker Config Class: HTMLChunkingConfig

Dependencies

Examples

Parameters