TypeSafe: Jev

Decisions
typesafe/jev-latest

Jev. 支援真假判斷、選項選擇和等級評分。下方三種 API 格式都可以呼叫 Jev。 Jev 支援文字、JSON 物件和文字陣列,不支援圖片。Decisions 為同步呼叫。

上下文視窗
64K
發布日期
2026-09-23
能力
判斷
可用供應商
TypeSafe
支援的協定
openai

供應商

TypeSafeprovider.type: "typesafe"
輸入 Token
$0.042/M
輸出 Token
$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"])

常見問題

TypeSafe: Jev 在 Ofox.ai 上的價格為輸入 $0.042/百萬 Token,輸出 $0/百萬 Token。按量計費,無月費。