Skip to content

Docs

DSPy Decision Types

DSPy's experimental decision types put Jev behind one Predict: Noul, Choice, and Score annotations, per-field thresholds and cuts, and adapter translation that derives results from probability evidence.
Format
Docs
Reading time
2 min
Published by
Community
Author
DSPy
Last verified
Oct 2026

Highlights

  • Noul, Score, Choice, TypeSafe, and Predict's per-field decision configuration are experimental and may change without warning.
  • Configure with dspy.configure(lm=TypeSafe(jev-latest)); annotations such as Noul[(True, ...), (False, ...)] read like typed questions.
  • Per-field parameters set thresholds and cuts: 0.7 on urgent, cuts of 0.5 and 1.6 on severity, and set_criteria() overrides criteria.
  • Score takes 2 to 10 ordered levels; with probabilities [0.1, 0.3, 0.6] the value is 1.5, and cuts [0.5, 1.6] map it to level 1.
  • Unsupported outputs such as str, int, bare float, lists, and optional decision types raise ValueError before any provider request.

Watch out

Experimental API documentation, so the page warns these types may change without notice. Noul confidence is computed locally as distance from the threshold rather than a calibrated probability, and the page states no licence or pricing. Streaming, BestOfN, Refine, and generation controls are unsupported.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai