TypeSafe · Jev · System One model

How Jev answers, and how sure it is

Independent, unofficial explainer. Not affiliated with or endorsed by TypeSafe AI. Content checked against docs.typesafe.ai on 5 October 2026; interactive values are simulated unless marked as docs examples. Checked against real Jev (typesafe/jev-1.13-20260917) the same day: field names and confidence formulas match, values within 0.05 of the docs. Rerun it with tools/validate_jev.py.

Jev doesn't write text. Your code sends it a piece of text and a typed question; it returns a typed answer with probabilities. This page explains the three question types, how each one measures its confidence, and how to turn that into decisions.

70-second tour · press play, or try every control yourself below
1 · you sendTextstate: a ticket, a message, a document
andA typed questionNoul, Choice or Score, with instructions
2 · JevJevevaluates each question, in parallel
3 · you getA typed answera value plus probabilities, and usually a confidence
4 · your codeDecidesact, ask, or hand to a person
The three question types

Pick the shape of the answer

Each tab explains one type with fixed cases, an interactive tool and the real API call. A good reading order is left to right.

1Noulyes or no

Is the customer asking for a human agent?

no0.5yes
noul = 0.84the probability of yes

Confidence: not returned. The distance from 0.5 is the certainty; your threshold makes the decision.

2Choiceone of several, no order

Which team should handle this?

shipping
billing
returns
choice = "returns"confidence 0.42

Confidence: how far the top probability climbs from the even split 1/n towards certainty.

3Scorea level on an ordered scale

How severe is the reported issue?

cosmetic
workaround
blocking
score = 1.11confidence 0.84

Confidence: how far the probability sits from the peak level, compared with total ignorance.

The idea behind every confidence number

Distance from "no idea"

Each type has its own picture of total ignorance. Confidence measures how far the answer is from it, rescaled so ignorance is 0 and certainty is 1.

NoulIgnorance = 0.5a coin flip, in the middle of the dial
no0.5yes
ChoiceIgnorance = 1/nevery option equally likely: a floor
A
B
C
ScoreIgnorance = flat spreadits average distance, MADunif, is the yardstick
0
1
2
3
4

Probability and confidence answer different questions. The probability says which answer; confidence says how sure. A top probability of 0.61 sounds like "61% sure", but with 3 options the floor is already 0.33, so confidence is only 0.42. Whether a 0.8 really comes true 80% of the time is a third question, calibration, which only your own labelled data can answer.

Putting it to work

From number to decision

How to use

Choice, Score or Noul?

A side-by-side table, three quick tests, what goes wrong with the wrong type, and a worked example: "Is the customer angry and asking for a refund?"

Thresholds

The cut-offs are yours

The Low / Medium / High bands on every tab use illustrative cut-offs of 0.5 and 0.7. TypeSafe's docs set thresholds per action, by the cost of being wrong: a balance check can act on less certainty than a money transfer.

Sources: Confidence · Noul · Choice · Score · Confidence-gated routing