Go to example tasks

Split Text into RAG & Embedding Chunks

Split documents into overlap-aware chunks for embeddings, vector databases and LLM context. Copy the task, adjust the visible inputs and run it as-is or on a schedule.

Try for free
Text Splitter & RAG Chunker API — Recursive Embedding Chunks
Text Splitter & RAG Chunker API — Recursive Embedding Chunkszenomastro/text-splitter-for-llm
Record type
Doc
Chunk #
Chunk id
+7 fields
Text
Number
Boolean
List
Object

Input

Text:Retrieval augmented generation uses chunks. This is a second sentence for a deterministic smoke test.
Chunk size:50
Chunk overlap:10
Split by:sentence

Output fields

Record type
Doc
Chunk #
Chunk id
Strategy
Next
Previous
Chars
Word count
~Tokens
Chunk text

How it works

Sign up on Apify01

Create your Apify account to access the Text Splitter & RAG Chunker API — Recursive Embedding Chunks.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay