Chunking

Sentence Chunk

Sentence chunking endpoint.

Chunks text at sentence boundaries while respecting token limits.

post/v1/chunk/sentence

Headers

authorizationstring nullable

Request body

ocrstring

OCR provider (mistral or gemini)

tokenizerstring

Tokenizer to use

chunk_sizeinteger

Size of each chunk

chunk_overlapinteger

Overlap between chunks

min_sentences_per_chunkinteger

Minimum sentences per chunk

min_characters_per_sentenceinteger

Minimum characters per sentence

approximateboolean

Use approximate chunking

include_delim'prev' | 'next' nullable

Where to include delimiter

Response

Successful Response

{"stackTrail":"paths:/v1/chunk/sentence:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.