Jev. 支持真假判断、选项选择和等级评分。下方三种 API 格式都可以调用 Jev。 Jev 支持文本、JSON 对象和文本数组,不支持图片。Decisions 为同步调用。
上下文窗口
64K
发布日期
2026-09-23
能力
判断
可用供应商
TypeSafe
支持的协议
openai
供应商
TypeSafe
provider.type: "typesafe"输入 Token
$0.042/M
输出 Token
$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"])
常见问题
TypeSafe: Jev 在 Ofox.ai 上的价格为输入 $0.042/百万 Token,输出 $0/百万 Token。按量计费,无月费。
直接发送 HTTP 请求:input + questions 数组,答案也按数组返回。
OpenAI SDK:服务地址设为 https://api.ofox.ai/openai/v1,使用 input + questions 数组,答案按数组返回。
TypeSafe SDK:服务地址设为 https://api.ofox.ai/typesafe,使用 state + questions 映射,答案按同名键返回。
支持真假判断、选项选择和等级评分。选择下方 API 格式查看调用示例。
Jev 支持文本、JSON 对象和文本数组,不支持图片。Decisions 为同步调用。
TypeSafe: Jev 支持以下能力:判断。通过 Ofox.ai 统一 API 访问所有功能。