Inhalt
Run a typed evaluation
Jev bewertet einen JSON-Zustand anhand benannter Fragen und gibt typisierte Antworten als boolean, choice oder score zurück. Rufen Sie POST /v1/evaluations mit Bearer-Authentifizierung auf; das Kontextfenster umfasst 32K Tokens. Jev finden Sie über /v1/models?output_modalities=decisions oder /v1/models?output_modalities=all. Die standardmäßige reine Text-Modellliste enthält keine Modelle, die ausschließlich decisions ausgeben. Jev ist nur über den evaluations-Endpunkt verfügbar; chatförmige Endpunkte antworten mit HTTP 400. Der aktuelle Listenpreis beträgt $0.042 je 1 Mio. Eingabe-tokens und $0 je 1 Mio. Ausgabe-tokens. Es müssen ausreichend Credits verfügbar sein.
/v1/evaluationsAutorisierung
AuthorizationerforderlichAPI-Schlüssel als Bearer-Token im Authorization-Header.
Body
modelThe optional evaluation model in the request body. Omit it to use the default typesafe-ai/jev; any other value is rejected as model_not_available.
"typesafe-ai/jev"stateerforderlichThe state or evidence to evaluate. It may be a string, object, or array.
"The support agent issued a full refund."questionserforderlichOne or more named questions evaluated in parallel.
typeerforderlichThe typed answer requested for this question.
instructionserforderlichInstructions describing what this question should decide.
criteriaRequired for choice questions as an option-to-description record; required for score questions as an ordered array of at least two criteria; optional for boolean questions.