目次
Run a typed evaluation
Jev は JSON の state と名前付き questions を評価し、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 が返ります。現在の掲載価格は入力 100 万 tokens あたり $0.042、出力 100 万 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.