choiceup to 255 options
One of a known set
billing0.72
shipping0.20
other0.08
Σ = 1.00
choice · probabilities · confidence
Always add an escape option like “other”.
Jev on one page.
Σ = 1.00
choice · probabilities · confidence
Always add an escape option like “other”.
score = 1.28
score · probabilities · confidence
Describe situations, not degrees.
noul (0–1) · no confidence
0.5 means “equally likely”, not “medium”.
jev-latest and jev-preview both point at jev-1.13.0. Pin the version once you tune thresholds.
Ask everything in one request; ignore what doesn’t apply.
The answer says what; confidence says whether to act.
Several Scores, normalised, weighted in your code.
Jev classifies; code, an LLM or a person handles it.
POST https://api.typesafe.ai/v1/systemone
Authorization: Bearer $TYPESAFE_API_KEY
{
"state": "My card was charged twice.",
"model": "jev-latest",
"questions": {
"department": {
"type": "choice",
"instructions": "Which team should handle this?",
"criteria": { "billing": "Charges and refunds",
"technical": "Bugs and integrations",
"other": "None of the above" }
},
"is_urgent": { "type": "noul", "instructions": "Does this convey urgency?" }
}
}