Skip to content
JevDirectory.org
OfficialCookbooks & DemosVerified 2026-09-20

Cookbook: Structure Recovery

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.

Category
Cookbooks & Demos
Published by
TypeSafe AI
Author
Added
2026-09-20
Tagsofficialcookbookformattingbatchingconfidence

Highlights

  • Two round trips on a 28-line memo: 16 stitch questions then 62 classification questions, 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.
  • Asking whether a line picks up mid-sentence instead of whether it is the same paragraph kept blocks at 17 rather than collapsing to 12.
  • Type dictionaries act as the whole classifier spec, and companion questions ride the same request.

Watch out

Stitching and typing are two separate judgment layers, so a bad stitch can produce a clean-looking document with the wrong structure.

More like this

Semantic search over GitHub's Terms of Service: one request ranks all 218 lines with a Choice while a Noul checks whether the document contains an answer at all, including when it should say no.
Cookbooks & Demos#official#cookbook#search
Official
A two-stage extraction cascade: a mini model extracts, a Noul battery verifies each field in one request, and a 0.7 gate escalates to a reasoning model, sitting on the cost/quality frontier.
Cookbooks & Demos#official#cookbook#extraction
Official
Turn natural language into typed function calls: closed-set arguments become Choice questions, optional ones become Noul questions, and 54 questions ship in one request for a trading assistant.
Cookbooks & Demos#official#cookbook#tool-calling
Official
Back to all resources

From the community

Posts from builders shipping with Jev right now.

Full Jev video tutorial

The case against Jev-scored compaction

This is a terrible compaction strategy that fundamentally doesn't understand how compaction and context management work. Seems like a lot of people are confused so let's break this down. 1. Compaction isn't a filter The role of compaction is to clean up history to keep the Show more

tamara
tamara
@tamarajtran

found the perfect use case for @typesafeai Jev: instant compaction in 2026, why is compaction still a summarization prompt? Jev can make it instant by scoring every tool call and dropping what’s irrelevant

Reply