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
Related terms
Definitions that connect to this one.
Second requestA follow-up call that is only justified when code cannot build the second request until it has the first answer.PatternsNoulThe yes/no primitive: one probability from 0 to 1, where the value is the answer and no separate confidence is returned.PrimitivesParallel questionsBatching many questions into one request instead of many calls, which is dramatically cheaper and faster with identical answers.Patterns
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.