JEV GUIDE · Independent resources for developers Official access and pricing: TypeSafe AI

FOR DEVELOPERS / 05

Make JEV
your decision layer.

Describe the decision you need, then connect confidence thresholds to your workflow.

● ● ●REQUESTGUIDE
JSON
{ "state": "…", "questions": [ { "type": "choice" }, { "type": "score" }, { "type": "noul" } ] }
Illustration only. Confirm against official docs.

Request shape

One state, several questions. Shared state makes batching cheap. This JSON is a site illustration, not the official schema — confirm against TypeSafe docs.

{
  "state": "My card was charged twice.",
  "questions": [
    { "id": "topic", "type": "choice", "options": ["billing", "account", "technical"] },
    { "id": "priority", "type": "score", "levels": ["low", "medium", "high"] },
    { "id": "needs_human", "type": "noul" }
  ]
}

Use confidence

High confidence can act, the middle can ask for confirmation, and low confidence can escalate.

{
  "decisions": [
    { "id": "topic", "type": "choice", "value": "billing", "p": 0.91 },
    { "id": "priority", "type": "score", "value": "high", "p": 0.84 },
    { "id": "needs_human", "type": "noul", "value": 0.93 }
  ]
}

high   p >= 0.85  → act
medium 0.50–0.85  → confirm
low    p <  0.50  → escalate