ai_text_chunker
Split large text into smaller semantic chunks to optimize LLM context windows and prepare data for vector databases or RAG systems.
Instructions
Split large text into smaller semantic chunks for LLM context optimization or vector databases (RAG).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The input text to chunk. | |
| strategy | No | The chunking strategy: 'character', 'word', 'sentence', or 'paragraph'. Defaults to 'paragraph'. | paragraph |
| chunkSize | No | The maximum character size of each chunk. Defaults to 1000. | |
| chunkOverlap | No | The number of overlapping characters between consecutive chunks. Defaults to 200. |