Chunking
Parse text
Split large text documents into smaller, manageable chunks using different chunking strategies optimized for RAG (Retrieval-Augmented Generation) workflows. This endpoint supports multiple chunking algorithms including token-based, sentence-based, recursive, semantic, and specialized strategies.
POST
cURL
Related guide: Chunking guide. See the Chunking guide for a walkthrough with examples.
Authorizations
Body
application/json
- Token Chunker Strategy
- Sentence Chunker Strategy
- Recursive Chunker Strategy
- Semantic Chunker Strategy
- Agentic Chunker Strategy
- Fast Chunker Strategy
- Late Chunker Strategy
Splits text based on token count. Best for ensuring chunks fit within LLM context windows and maintaining consistent chunk sizes for embedding models.