Skip to content

Jev glossary

PrimitivesStructured criteria

Structured instructions

Putting the question in one field and its supporting data, examples, or focus notes in others instead of one long string.
Category
Primitives
Also known as
Structured criteria
Reading time
1 min
Related terms
5
Directory entries
2
Docs
docs.typesafe.ai
Added
2026-09-24

Definition

Instructions and criteria accept objects and arrays. Structure helps when a question needs context or examples, when part of the question comes from your code, or when several questions share similar wording and need distinguishing data.

Common patterns include question plus focus, question plus compare (two state paths to contrast), and criteria entries with what, not_for, and examples. Keep a short, unambiguous question as a string; add structure only when it separates guidance that would otherwise blur.

Tagsprimitivesdesign

From the Jev directory

Directory entries that go deeper on this term.

Instructions, option descriptions, score levels, and noul criteria all accept JSON, so you can label question parts, pass schemas and taxonomies, and keep candidate paths alive.
Jev Practices & PatternsDocs#official#primitives#architecture
Official
Design AI-powered software by keeping code in control and giving System One narrow, structured decisions to make.
Jev Practices & PatternsDocs#official#patterns#architecture
Official

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai