
Segmenter
81
This flow segments a long article slice into smaller, coherent chunks based on topic shifts or idea boundaries, making large texts easier to manage and analyze. It is useful for preparing text for retrieval or detailed processing by breaking it into meaningful units.
81
text segmentationchunkingcontent processing
Run it
Your inputs & outputs are private.Only you can see what you run. The author of this flow — and everyone else — cannot.
Recent runs
Sign in to see your recent runs.
What it does
The flow takes a slice of text as input and identifies all chunk boundaries within it where the content shifts to a new idea or topic. It outputs a JSON object listing the exact start points of each chunk, effectively dividing the input text into consecutive, retrieval-sized segments.
How it works
Inputs ·text input: New Inputtext input: Previous sections
text model
GLM 5
GPT-5.6 Luna
Output:
step_1_outputOutputs ·json output: output_acd6
Example
Input
text value:
Lighthouses have guided ships safely to shore for more than two thousand years. The earliest famous example, the Pharos of Alexandria, was built around 280 BC and stood over 100 meters tall. In the 18th and 19th centuries, engineers made huge advances. John Smeaton's Eddystone Lighthouse in 1759 used interlocking granite blocks, a design inspired by oak tree roots, that withstood storms for over a century. The invention of the Fresnel lens in 1822 changed everything. Its concentric rings of glass bent light into a powerful beam visible from more than 30 kilometers away while using far less fuel. Today most lighthouses are automated, and GPS has replaced them for navigation, but many are preserved as museums and landmarks.
text value:
Output
json value:
{
"reasoning": "The slice divides into four coherent historical stages: ancient origins, 18th–19th-century engineering advances, the Fresnel lens, and the modern role of lighthouses. Each stage begins a new paragraph and idea, and the slice ends at the completion of the final chunk.",
"boundaries": [
"In the 18th and 19th centuries, engineers made huge advances.",
"The invention of the Fresnel lens in 1822 changed everything.",
"Today most lighthouses are automated, and GPS has replaced them for navigation, but many are preserved as museums and landmarks."
],
"slice_fully_segmented": true
}Published by
NI
Nazar Ilamanov@nazar-ilamanov
16 published flows · 4 published agents