API Reference chunx v#0.2.0

Copy Markdown View Source

Modules

Text chunking strategies.

Struct representing a text chunk with metadata.

Defines the shared callback types for chunkers.

Splits text through an ordered sequence of structural boundaries.

Splits text where adjacent sentence embeddings become less similar.

Splits text at sentence boundaries, with optional whole-sentence overlap.

Splits text at token offsets, with optional overlap.

Splits text at word boundaries, with optional overlap.

Struct representing a sentence chunk with metadata.

Defines the tokenizer interface used by chunkers.