Structural chunking divides a document into chunks by following its structure (headings, sections, paragraphs, tables) rather than cutting at a fixed length. Each chunk stays coherent and carries its context, which improves the relevance of the retrieved passages.
Example
One chunk per "##" section of a Markdown file, with the chapter title kept.