Daftar isi
Run a typed evaluation
Jev mengevaluasi state JSON berdasarkan pertanyaan bernama dan mengembalikan jawaban bertipe boolean, choice, atau score. Panggil POST /v1/evaluations dengan autentikasi Bearer; jendela konteks model berukuran 32K tokens. Temukan Jev melalui /v1/models?output_modalities=decisions atau /v1/models?output_modalities=all; daftar model teks default tidak menyertakan model yang hanya menghasilkan decisions. Jev hanya tersedia melalui evaluations endpoint; endpoint berbentuk chat mengembalikan HTTP 400. Harga katalog saat ini adalah $0.042 per 1M tokens input dan $0 per 1M tokens output. Akun harus memiliki credits yang cukup.
/v1/evaluationsOtorisasi
AuthorizationwajibAPI key sebagai bearer token di header Authorization.
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"statewajibThe state or evidence to evaluate. It may be a string, object, or array.
"The support agent issued a full refund."questionswajibOne or more named questions evaluated in parallel.
typewajibThe typed answer requested for this question.
instructionswajibInstructions 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.