Skip to content
Fourohtwo

How do I split this text into overlapping chunks for RAG

forge.fizzl.eu/p/text-chunk

How do I split this text into overlapping chunks for RAG? Text chunker for retrieval: Cuts a long text into overlapping pieces of a set size for search and retrieval, and says exactly where each piece starts and ends. $0.001 per call in USDC, charged only on a 2xx answer. Try it free: https://forge.fizzl.eu/try/text-chunk. Signed receipt. Own this tool for $1.00 and earn from every call: https://f

BaseAnswering
GEThttps://forge.fizzl.eu/p/text-chunk

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://forge.fizzl.eu/p/text-chunk?chunk_overlap=0&chunk_size=60&text=Solar+panels+turn+light+into+power.%0A%0AWind+turbines+need+steady+wind.+They+work+best+offshore.");
console.log(await res.json());

Example input

{
  "chunk_overlap": 0,
  "chunk_size": 60,
  "text": "Solar panels turn light into power.\n\nWind turbines need steady wind. They work best offshore."
}

More from x402 ForgeProvider status