JJEV Gateway
Iniciar sesión

Playground

Define preguntas tipadas sobre cualquier estado e inspecciona la decisión. Gratis y sin registro.

Ejemplos

2. Preguntas

Hasta 8 preguntas, respondidas de forma independiente sobre el mismo estado.

3. Resultados

Ejecuta la solicitud para ver respuestas tipadas con probabilidades.

4. Llámalo desde tu código

curl
curl https://jevai.website/api/v1/systemone \
  -H "Authorization: Bearer $JEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "state": {
    "ticket": {
      "subject": "Duplicate charge",
      "message": "I was charged twice for order A-104. Please refund the duplicate."
    },
    "order": {
      "id": "A-104",
      "charges": [
        {
          "amount_usd": 49,
          "status": "captured"
        },
        {
          "amount_usd": 49,
          "status": "captured"
        }
      ]
    },
    "refund_policy": "Duplicate charges are eligible for a full refund of the duplicate amount."
  },
  "questions": {
    "refund_requested": {
      "type": "noul",
      "instructions": "Does `ticket.message` request a refund?"
    },
    "policy_supports_refund": {
      "type": "noul",
      "instructions": "Does `refund_policy` support the refund requested in `ticket.message`, given `order.charges`?"
    }
  }
}'