Jev. 条件判定、選択肢の選択、段階評価に対応。下の 3 つの API 形式のいずれでも Jev を呼び出せます。 Jev はテキスト、JSON オブジェクト、テキスト配列に対応。画像には非対応。呼び出しは同期です。
コンテキストウィンドウ
64K
リリース日
2026-09-23
機能
判定
利用可能なプロバイダー
TypeSafe
対応プロトコル
openai
プロバイダー
TypeSafe
provider.type: "typesafe"入力トークン
$0.042/M
出力トークン
$0/M
対応プロトコル
openai
/openai/v1/decisions/typesafe/v1/systemone/v1/decisionsドキュメント
Jev の判断(Decisions)利用ガイド。初回のリクエストから、本番環境での低い信頼度の結果の扱いまでを説明します。
コード例
import jsonimport osimport urllib.requestbody = 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です。従量課金制、月額料金なし。
HTTP:input と questions 配列を送信。回答も配列です。
OpenAI SDK:ベース URL は https://api.ofox.ai/openai/v1。input と questions 配列を使用します。
TypeSafe SDK:ベース URL は https://api.ofox.ai/typesafe。state と questions マップを使用し、同じキーで回答します。
条件判定、選択肢の選択、段階評価に対応。どの形式でも両方の判断モデルを呼び出せます。
Jev はテキスト、JSON オブジェクト、テキスト配列に対応。画像には非対応。呼び出しは同期です。
TypeSafe: Jevは以下の機能に対応:判定。Ofox.ai統合APIですべての機能にアクセスできます。