Jev score
jev_scoreRate any text or data against a custom ordered scale you define, returning a numeric score, level legend, probability distribution, and confidence.
Instructions
Ask one question whose answer is a position on an ordered scale you define.
Use for degree, severity, or intensity. criteria lists the levels from lowest to highest; a three-level scale returns a score from 0 to 2, and values between integers are positions between levels — the score is the probability-weighted mean of level numbers, not a percentage or a category id. Give every level a self-contained description ("no deadline expressed", "wants a response soon", "explicit deadline"), never a relative one like "more urgent than the level below".
Returns the score, the legend mapping level numbers to their descriptions, the full distribution, and confidence. Two different distributions can produce the same score, so read probabilities when the difference matters — all weight on level 1 and an even split between 0 and 2 both average to 1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model alias. Omit to use the server default (`openjev`). | |
| state | Yes | The content the questions are judged against: text, an object of named fields, or an array of records. Reference a nested field from `instructions` with a dotted path in backticks, e.g. `account.plan`. Fetch external records first — a URL here is not a request to browse — and note that this API accepts no image, audio, or file uploads. | |
| criteria | Yes | The ordered levels, lowest first. Each level is a self-contained description (a string, or an object/array holding meaning and examples). A three-level scale returns a score from 0 to 2; fractional scores fall between levels, so each level must stand on its own rather than say "same as the level below". | |
| question_id | No | Label for this question in the response. Defaults to the primitive name. | |
| instructions | Yes | The judgment to make, written out in full. A clear specific string is usually enough; use an object or array when the judgment, its scope, and its constraints belong together. The question id is not sent to the model, so never rely on it to carry meaning. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hints | No | Non-blocking advice about this request, when there is any. | |
| model | No | ||
| usage | No | ||
| answer | Yes | ||
| question_id | Yes |