Playground
Defina perguntas tipadas sobre qualquer estado e inspecione a decisão. Grátis, sem cadastro.
Exemplos
2. Perguntas
Até 8 perguntas, respondidas de forma independente sobre o mesmo estado.
3. Resultados
Execute a requisição para ver respostas tipadas com probabilidades.
4. Chame do seu código
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"
}
}
}
}'