打分
scoreRates a state description from 2 to 10 against given criteria and returns the rating with its range, or a clear error when evaluation is unavailable.
Instructions
何时使用:需要按 criteria 给 state 打 2–10 分(风险、质量、适配度等)时。何时不使用:需要分类(用 classify)、多选一(用 route 或 gate)、或分数语义与 2–10 量纲不符时。返回 score ∈ [2, 10] 与 range;服务不可用或应答越界返回明确错误。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | 待打分对象的状态描述(必填;上限 20000 字符) | |
| server | No | 可选:覆盖服务地址(http://host:port,等价于 --server;上限 2048 字符) | |
| criteria | Yes | 打分标准列表(必填;1–100 个非空字符串,单项上限 2000 字符) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| range | Yes | ||
| score | Yes | ||
| state | Yes | ||
| usage | No | ||
| server | No | ||
| criteria | Yes | ||
| question | Yes | ||
| confidence | No |