TypeSafe: Jev

Decisions
typesafe/jev-latest

Jev. 条件判定、選択肢の選択、段階評価に対応。下の 3 つの API 形式のいずれでも Jev を呼び出せます。 Jev はテキスト、JSON オブジェクト、テキスト配列に対応。画像には非対応。呼び出しは同期です。

コンテキストウィンドウ
64K
リリース日
2026-09-23
機能
判定
利用可能なプロバイダー
TypeSafe
対応プロトコル
openai

プロバイダー

TypeSafeprovider.type: "typesafe"
入力トークン
$0.042/M
出力トークン
$0/M
対応プロトコル
openai/openai/v1/decisions/typesafe/v1/systemone/v1/decisions

ドキュメント

Jev の判断(Decisions)利用ガイド。初回のリクエストから、本番環境での低い信頼度の結果の扱いまでを説明します。

コード例

import json
import os
import urllib.request
body = json.loads('''{
"model": "typesafe/jev-latest",
"input": "I was charged twice. Please refund me today.",
"questions": [
{
"type": "predicate",
"name": "urgent",
"instructions": "Is this urgent?"
},
{
"type": "choice",
"name": "department",
"instructions": "Which team should handle this?",
"choices": [
{
"value": "billing",
"description": "Payments and refunds"
},
{
"value": "technical",
"description": "Bugs and outages"
},
{
"value": "other",
"description": "None of the above"
}
]
},
{
"type": "score",
"name": "severity",
"instructions": "How severe is this issue?",
"levels": [
{
"label": "Minor"
},
{
"label": "Workaround available"
},
{
"label": "Fully blocked"
}
]
}
]
}''')
request = urllib.request.Request("https://api.ofox.ai/v1/decisions", data=json.dumps(body).encode(), headers={
"Authorization": "Bearer " + os.environ["OFOXAI_API_KEY"],
"Content-Type": "application/json",
})
with urllib.request.urlopen(request) as response:
print(json.load(response)["answers"])

よくある質問

Ofox.aiでのTypeSafe: Jevの料金は、入力100万トークンあたり$0.042、出力100万トークンあたり$0です。従量課金制、月額料金なし。