Go to example tasks

Split Japanese documents into RAG chunks with overlap

Cleans Japanese documents and splits them into chunks for retrieval-augmented generation (RAG). Chunks end at sentence boundaries (。!? and line breaks) instead of in the middle of a word, with an overlap you choose, and keep the metadata fields you name (for example url and title). Each chunk row has its position in the document, ready to embed and load into a vector database.

Try for free
Japanese Text Normalizer & RAG Chunker
Japanese Text Normalizer & RAG Chunkerquietworkslab/japanese-text-normalizer
Document index
Chunk index
Characters
Text
+1 field
Text
Number
Boolean
List
Object

Input

Texts:第1章 サービスの概要 本サービスは、社内の文書を検索しやすくするための仕組みです。文書を取り込むと、自動で段落に分けて索引を作ります。 第2章 使い方 管理画面から文書をアップロードしてください。PDF、Word、テキストに対応しています。取り込みには数分かかることがあります。検索欄に質問を入力すると、関係する段落が表示されます。 第3章 よくある質問 取り込める文書の数に上限はありますか? 現在は1組織あたり1万件までです。上限を増やしたい場合はお問い合わせください。
Split into chunks:true
Maximum chunk length:200
Chunk overlap:40

Output fields

Document index
Chunk index
Characters
Text
Metadata

How it works

Sign up on Apify or log in

The Japanese Text Normalizer & RAG Chunker Actor is ready to run with the inputs already set for "Split Japanese documents into RAG chunks with overlap". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Split Japanese documents into RAG chunks with overlap" task

The Japanese Text Normalizer & RAG Chunker Actor will start running based on the input automatically. You can also change all the input fields, like texts, split into chunks, and more, to match your specific use case.

Receive the "Split Japanese documents into RAG chunks with overlap" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as document index, chunk index, characters, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Split Japanese documents into RAG chunks with overlap" task via API.

Image

Integrate "Split Japanese documents into RAG chunks with overlap" into your workflow

Connect "Split Japanese documents into RAG chunks with overlap" with 100+ integrations, or run it via API or MCP.

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

Frequently asked questions

The Japanese RAG chunking task splits after 。!? and at line breaks, never inside 「」 or (). Only a sentence longer than the chunk size is cut, preferably after 、 or a space.

The Japanese RAG chunking task accepts 200 to 100,000 characters per chunk, with an overlap of up to a third of the chunk size. This example uses 200 with an overlap of 40; choose the size your embedding model and retrieval work best with.

Yes. When you read from a dataset, the Japanese RAG chunking task copies the metadata fields you choose, such as url and title, into every chunk row.