定向邀请使用:OpenAI Decisions API进入 Playground

Laya · 决策模型

Laya Auto

Laya 的自动语言路由模型,用于结构化决策。

convaiinnovations/layachoicescorenoul

模型概览

Laya

模型 ID

convaiinnovations/laya

结构化输出

choice

score

noul

让端点选择语言路径,同时让应用保持同一种请求结构。

在线体验

用你自己的文本体验类型化决策

选择一个示例,或输入你的上下文,添加 choice、score 或是非问题,查看结构化答案和概率。

运行请求会消耗账户积分,实际消耗以返回结果为准。

查看 Laya API 接入说明
工作台

你想判断什么?

选择场景即可加载输入与规则,加载示例不消耗积分。

示例只会加载到当前草稿,不会保存配置或运行历史。

状态

输入所有问题共享的上下文。

文本

所有问题都会基于这份状态独立回答。

问题

为同一份状态定义最多 8 个类型化问题。

3 / 8

3. 运行判断

运行判断请求。

结果预览

Subject: Charged twice again!! Hi — this is the SECOND month in a row I've been billed twice for the Pro plan. I already emailed last month and nobody replied. I run my whole business on this. If it's not refunded today I'm cancelling and disputing the charge with my bank.

↓一段输入 → 多个结构化判断

点击“生成结构化决策”,查看带概率的类型化输出。

结果会以结构化格式返回,方便直接接入你的业务逻辑。

适用场景

为清晰的决策边界准备的模型页面。

让端点选择语言路径,同时让应用保持同一种请求结构。

01

混合语言输入

定义问题,获得类型化信号,再把结果接入工作流的下一步。

02

自动路由

定义问题,获得类型化信号,再把结果接入工作流的下一步。

03

统一 API 工作流

定义问题,获得类型化信号,再把结果接入工作流的下一步。

统一 contract

用同一套决策结构接入生产。

模型可以更换,但你的集成可以始终保持 state、类型化问题和可预测的响应 contract。

阅读 API 文档

请求示例

POST /laya/v1/systemone
{
  "model": "convaiinnovations/laya",
  "state": "A customer reports a duplicate charge and needs a fast resolution.",
  "questions": {
    "route": {
      "type": "choice",
      "criteria": {
        "billing": "send to billing support",
        "account": "send to account support",
        "urgent": "escalate for immediate review"
      }
    },
    "urgent": {
      "type": "noul",
      "instructions": "Does this request need attention now?"
    }
  }
}