Simplex FastCD / 决策 API
实验性 API · 限时免费输入文字和图片,
获得结构化判断。
把问题、候选项和相关信息交给 FastCD,获得单选、多选、判断或评分结果,接入应用中的分类、路由和任务决策。
Choice
Choice
从 1–1024 个候选中选择,并查看所有候选的概率分布。
Multi-choice
Multi-choice
从最多 1024 个候选中选出多个相关选项,最多返回 256 项。
Reasoning
Reasoning
开启 reasoning,在结构化决策前进行推理,并设置推理 token 预算。
Multimodal
Multimodal
将上下文与最多 4 张图片结合,依据视觉信息作出决策。
Noul
Noul
针对当前状态的自然语言问题,获得“是”的概率。
Score
Score
根据 1–1024 个有序等级进行评估,返回从零开始的下标期望值。
一个请求,结构化答案
直接融入
你的应用。
使用 Bearer 鉴权与标准 JSON。响应包含答案、候选概率、原始 logits、基础模型与用量。置信度衡量候选分布的集中程度,并非经过校准的正确率保证。
{
"model": "simplex-fastcd",
"state": {
"message": "I was charged twice for my subscription."
},
"questions": {
"route": {
"type": "choice",
"instructions": "Choose the department best suited to help.",
"criteria": {
"billing": "Payments and invoices",
"support": "Technical issues",
"sales": "New purchases"
}
},
"topics": {
"type": "multi_choice",
"instructions": "Select all relevant topics.",
"criteria": {
"billing": "Payment or invoices",
"refund": "Reimbursement",
"technical": "Technical errors"
},
"min_choices": 0,
"max_choices": 2
},
"needs_refund": {
"type": "noul",
"instructions": "Does this message describe a potential duplicate charge?"
},
"urgency": {
"type": "score",
"instructions": "Assess how urgently this needs attention.",
"criteria": [
"low",
"medium",
"high"
]
}
},
"reasoning_max_tokens": 128
}