Jev: decide (multiple typed questions)
jev_decideAsk the Jev decision model multiple typed questions—choices, scores, true/false, or image boxes—about a text or JSON state and get structured answers with calibrated probabilities in one call.
Instructions
Ask TypeSafe AI's Jev decision model one or more typed questions (choice, score, noul and/or box) about a state in a single call. Returns typed answers with calibrated probabilities. The state may be text or structured JSON. Images: pass them in assets and write each image's reference in the state, instructions, or criteria where it belongs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional Jev model id override (default: jev-latest). | |
| state | Yes | The situation to decide about: text, a JSON object, or a JSON array. | |
| assets | No | Images keyed by reference string. Write each reference in the state, instructions, or criteria where the image belongs. PNG or JPEG only, base64-encoded with no data: prefix. API limits: 16 MiB per image, 280-1568 px per side. | |
| questions | Yes | Map of question name to typed question. Each question has a type (choice | score | noul | box), instructions, and criteria: choice = object of option label -> description (string, structured object/array, or null; 2-255 options); score = array of at least 2 ordered level descriptions (strings or structured entries); noul = optional object of true/false descriptions; box = instructions only, no criteria (finds where something is in an image). Instructions may be text or structured JSON. | |
| long_context | No | Opt into Jev's 262k long-context limits (an experimental danger-zone feature: slower and less accurate). |