jev_evaluate
Run multiple judgment questions — yes/no, choice, or score — against one shared state, returning calibrated probabilities, confidence, and an auto/review/escalate gate for branching decisions.
Instructions
Ask Jev — a fast, calibrated judgment model — many typed questions about one shared state; returns probabilities plus a gate computed in code. Use it for any judgment you want to branch on when no other jev_* tool fits. Writing questions (Jev reads literally):
State the exact condition in
instructions; put boundary cases incriteria. If you would have to explain what you really meant, that explanation belongs in the instruction.One judgment per question; split compound ones and combine in code.
Batch every question sharing a state into ONE call. They run in parallel and cost only their own tokens, so speculative questions are nearly free.
Send only the state the question needs; point at parts by path, e.g.
ticket.messages[0].text.Choice: list every option, plus an
other/noneescape hatch.Never ask it to count, do arithmetic, or compare dates/numbers — compute those in code and pass the result in.
It selects from your options; it never generates text. Answers:
noulis P(yes), ~0.5 means unsure; choice/score carryconfidence;gateis auto/review/escalate. Budget: ~64k tokens state + all questions, ~32k state + longest question.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Override the configured model, e.g. `jev-1.13.0` to pin a version. | |
| state | Yes | The content to judge: a plain string, or structured data that questions reference by path. | |
| questions | Yes | Map of question id -> question. Ids are yours; answers come back under the same ids. | |
| thresholds | No | Override the server's configured gating thresholds for this call only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The versioned model id that actually answered. | |
| usage | Yes | Token usage. Jev charges for input tokens only. | |
| answers | Yes | One answer per question id, each augmented with a `gate` computed in code. | |
| latency_ms | Yes | Wall-clock time for the underlying API call(s), including retries. | |
| thresholds | Yes | The thresholds actually applied. |