목차
Run a typed evaluation
Jev는 JSON 상태를 이름이 지정된 질문으로 평가하고 boolean, choice 또는 score 형식의 답변을 반환합니다. Bearer 인증으로 POST /v1/evaluations를 호출하세요. 컨텍스트 창은 32K tokens입니다. /v1/models?output_modalities=decisions 또는 /v1/models?output_modalities=all에서 Jev를 확인할 수 있습니다. 기본 텍스트 전용 모델 목록에는 decisions 전용 모델이 포함되지 않습니다. Jev는 evaluations endpoint에서만 사용할 수 있으며 채팅 형식 endpoint는 HTTP 400을 반환합니다. 현재 목록 가격은 입력 1M tokens당 $0.042, 출력 1M tokens당 $0입니다. 사용하려면 충분한 크레딧이 필요합니다.
/v1/evaluations인증
Authorization필수Authorization 헤더에 Bearer 토큰으로 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.