विषय-सूची
Run a typed evaluation
Jev नामित प्रश्नों के आधार पर JSON state का मूल्यांकन करता है और boolean, choice या score प्रकार के उत्तर देता है। Bearer authentication के साथ POST /v1/evaluations कॉल करें; मॉडल की context window 32K tokens की है। Jev को /v1/models?output_modalities=decisions या /v1/models?output_modalities=all से खोजें; डिफ़ॉल्ट text-only मॉडल सूची में केवल decisions देने वाले मॉडल नहीं होते। Jev केवल evaluations endpoint के माध्यम से उपलब्ध है; chat-आकार के endpoint HTTP 400 लौटाते हैं। वर्तमान सूची मूल्य प्रति 1M input tokens $0.042 और प्रति 1M output tokens $0 है। उपयोग के लिए खाते में पर्याप्त credits होने चाहिए।
/v1/evaluationsप्राधिकरण
Authorizationआवश्यकAuthorization हेडर में bearer token के रूप में API कुंजी।
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"stateआवश्यकThe state or evidence to evaluate. It may be a string, object, or array.
"The support agent issued a full refund."questionsआवश्यकOne or more named questions evaluated in parallel.
typeआवश्यकThe typed answer requested for this question.
instructionsआवश्यकInstructions 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.