> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pipellm.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Jev / System One

> 使用 Jev 进行类型化判断。

通过普通 HTTP 调用 `jev-1.13.0`，使用 PipeLLM API Key。该路由返回类型化判断，不使用聊天消息格式，也不支持流式输出。

<ParamField body="model" type="string" required>
  `jev-1.13.0`
</ParamField>

<ParamField body="state" type="string | object | array" required>
  待判断的文本或应用状态。
</ParamField>

<ParamField body="questions" type="object" required>
  按自定义名称组织的问题，每项包含 `type` 和 `instructions`。支持 `noul`、`choice`、`score`；后两者还需要 `criteria`。
</ParamField>

<RequestExample>
  ```bash cURL theme={"dark"}
  curl https://api.pipellm.ai/v1/systemone \
    -H "Authorization: Bearer $PIPELLM_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "jev-1.13.0",
      "state": "The service is reachable.",
      "questions": {
        "reachable": {
          "type": "noul",
          "instructions": "Does the state say the service is reachable?"
        }
      }
    }'
  ```
</RequestExample>

以下为响应结构示例，概率和用量随请求变化。

<ResponseExample>
  ```json theme={"dark"}
  {
    "model": "jev-1.13.0",
    "answers": {"reachable": {"type": "noul", "noul": 0.99}},
    "usage": {"input_tokens": 300, "output_tokens": 20}
  }
  ```
</ResponseExample>

## 返回与计费

`answers` 的键与问题名一一对应。`noul` 返回 0–1 的概率；`choice` 返回选项与概率分布；`score` 返回评分。置信度不能当作正确性保证。

实际模型版本和 `usage.input_tokens`、`usage.output_tokens` 原样保留。当前按输入 Token 计费，售价 **`$0.042 / 百万输入 Token`**；输出不收费。最终以控制台价格为准。

请求格式错误返回 `400`；认证、余额和限流使用 [统一错误格式](/zh/api-reference/errors)。完整问题格式见 [TypeSafe HTTP API](https://docs.typesafe.ai/api)，调用地址和密钥请使用本文的 PipeLLM 配置。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.