chunk_document
Split large documents into smaller overlapping chunks for embedding and semantic search. Provide content and document ID to prepare text for ingestion and retrieval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| metadata | No | Optional metadata to associate with the chunks. | |
| chunkSize | No | The target size of each chunk in words (tokenized by whitespace). | |
| documentId | Yes | ||
| chunkOverlap | No | The number of words to overlap between consecutive chunks. |