JEV 中文指南 · 独立资料与开发者社区 官方信息请以 TypeSafe AI 为准

开发者 / 05

让 JEV 成为
你的决策层。

用清晰的问题定义取代模糊提示词,让模型输出直接服务于你的代码和工作流。

● ● ●REQUESTGUIDE
JSON
{ "state": "…", "questions": [ { "type": "choice" }, { "type": "score" }, { "type": "noul" } ] }
本站示意,以官方 docs 为准。

基本请求结构

一次请求包含一个 state 和多个 questions。多个问题可以共享同一状态。下面的 JSON 是本站示意,不是官方 schema,请以 TypeSafe 文档为准。

{
  "state": "客户说:我的信用卡被扣了两次钱。",
  "questions": [
    { "id": "topic", "type": "choice", "options": ["billing", "account", "technical"] },
    { "id": "priority", "type": "score", "levels": ["low", "medium", "high"] },
    { "id": "needs_human", "type": "noul" }
  ]
}

把概率接入业务规则

高置信度自动执行,中间区域请求确认,低置信度转人工或调用更强模型。

{
  "decisions": [
    { "id": "topic", "type": "choice", "value": "billing", "p": 0.91 },
    { "id": "priority", "type": "score", "value": "high", "p": 0.84 },
    { "id": "needs_human", "type": "noul", "value": 0.93 }
  ]
}

high   p >= 0.85  → act
medium 0.50–0.85  → confirm
low    p <  0.50  → escalate