JJEV Gateway
登录

Playground 测试台

针对任意状态定义类型化问题,并查看决策结果。免费使用,无需注册。

示例

2. 问题

最多 8 个问题,基于同一状态分别独立作答。

3. 结果

运行请求后,即可查看带概率的类型化答案。

4. 从代码中调用

curl
curl https://jevai.website/api/v1/systemone \
  -H "Authorization: Bearer $JEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "state": {
    "conversation_so_far": "User asked to debug a 500 on /checkout. We found a null customer_id. User then asked about adding Apple Pay.",
    "candidate_to_keep": "The /checkout 500 is caused by a null customer_id on guest carts."
  },
  "questions": {
    "still_relevant": {
      "type": "noul",
      "instructions": "Should `candidate_to_keep` stay in the compressed context?"
    },
    "topic": {
      "type": "choice",
      "instructions": "Which topic is the conversation on now?",
      "criteria": {
        "debug": "The original outage",
        "feature": "A new feature request",
        "both": "Both are still active"
      }
    }
  }
}'