Skip to content

Jev glossary

PatternsAutoformat

Structure recovery

Reconstruct Markdown from unformatted text in two requests: stitch split lines, then classify every block's type.
Category
Patterns
Also known as
Autoformat
Reading time
1 min
Related terms
3
Directory entries
1
Docs
docs.typesafe.ai
Added
2026-09-24

Definition

The cookbook processes a 28-line memo with 16 Noul line-pair questions that stitch split sentences, then 62 questions that classify each block's type and companions: 10,211 tokens in 0.8 seconds. Join cutoffs of 0.2 after dangling lines and 0.5 after terminal punctuation healed 11 line breaks.

It is a clean example of a justified second request: the blocks do not exist until the first pass has stitched the lines. Stitching and typing are separate judgment layers, so a bad stitch can produce a clean-looking document with the wrong structure.

Tagspatternsformattingbatching

From the Jev directory

Directory entries that go deeper on this term.

Reconstruct Markdown from unformatted text in two requests: 16 Noul line-pair questions stitch split sentences, then 62 questions classify each block's type and companions.
Jev CookbooksDocs#official#cookbook#formatting
Official

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai