@@ -28,8 +28,8 @@ Choose an option with Jev and return its probability distribution and confidence
2828| --------- | ---- | -------- | ----------- |
2929| ` apiKey ` | string | Yes | TypeSafe API key from https://console.typesafe.ai |
3030| ` model ` | string | No | Model ID or alias: jev-1.13.0, jev-latest, or jev-preview. Defaults to jev-1.13.0. |
31- | ` state ` | json | Yes | Content to evaluate: a text string, JSON object, or array. |
32- | ` instructions ` | json | Yes | The question to evaluate, as text, a JSON object, or an array. |
31+ | ` state ` | string | Yes | Content to evaluate: a text string, JSON object, or array. |
32+ | ` instructions ` | string | Yes | The question to evaluate, as text, a JSON object, or an array. |
3333| ` criteria ` | json | Yes | Map of 1–255 option names to descriptions \( text, object, array, or null\) . |
3434
3535#### Output
@@ -54,8 +54,8 @@ Score content against an ordered rubric with Jev, including probabilities and co
5454| --------- | ---- | -------- | ----------- |
5555| ` apiKey ` | string | Yes | TypeSafe API key from https://console.typesafe.ai |
5656| ` model ` | string | No | Model ID or alias: jev-1.13.0, jev-latest, or jev-preview. Defaults to jev-1.13.0. |
57- | ` state ` | json | Yes | Content to evaluate: a text string, JSON object, or array. |
58- | ` instructions ` | json | Yes | The question to evaluate, as text, a JSON object, or an array. |
57+ | ` state ` | string | Yes | Content to evaluate: a text string, JSON object, or array. |
58+ | ` instructions ` | string | Yes | The question to evaluate, as text, a JSON object, or an array. |
5959| ` criteria ` | array | Yes | Ordered array of 2–10 rubric descriptions, from lowest to highest score. |
6060
6161#### Output
@@ -81,8 +81,8 @@ Evaluate a yes/no question with Jev and return the probability that the answer i
8181| --------- | ---- | -------- | ----------- |
8282| ` apiKey ` | string | Yes | TypeSafe API key from https://console.typesafe.ai |
8383| ` model ` | string | No | Model ID or alias: jev-1.13.0, jev-latest, or jev-preview. Defaults to jev-1.13.0. |
84- | ` state ` | json | Yes | Content to evaluate: a text string, JSON object, or array. |
85- | ` instructions ` | json | Yes | The question to evaluate, as text, a JSON object, or an array. |
84+ | ` state ` | string | Yes | Content to evaluate: a text string, JSON object, or array. |
85+ | ` instructions ` | string | Yes | The question to evaluate, as text, a JSON object, or an array. |
8686| ` criteria ` | json | No | Optional object with true and false descriptions defining what yes and no mean. |
8787
8888#### Output
@@ -105,7 +105,7 @@ Evaluate multiple Choice, Score, and Noul questions against shared state in one
105105| --------- | ---- | -------- | ----------- |
106106| ` apiKey ` | string | Yes | TypeSafe API key from https://console.typesafe.ai |
107107| ` model ` | string | No | Model ID or alias: jev-1.13.0, jev-latest, or jev-preview. Defaults to jev-1.13.0. |
108- | ` state ` | json | Yes | Content to evaluate: a text string, JSON object, or array. |
108+ | ` state ` | string | Yes | Content to evaluate: a text string, JSON object, or array. |
109109| ` questions ` | json | Yes | Map of question IDs to \{ type, instructions, criteria\} . Types: choice \( option map\) , score \( 2–10 ordered levels\) , noul \( optional true/false descriptions\) . Answers use the same IDs. |
110110
111111#### Output
0 commit comments