Jev example · Customer support

A calm cancellation

Avoid treating every cancellation as an angry escalation.

Workflows & decisionschoicenoulscore

State

This is the context Jev receives before answering the typed question.

{
  "message": "Please cancel my plan at renewal. I enjoyed the service; I just no longer need it.",
  "account": {
    "renewal_in_days": 18
  }
}

Typed questions (3)

Primary request

choice

What is the customer's primary request in the latest message?

Try in Playground
  • refund | Money back or reversing a charge
  • access | Account or login help
  • troubleshooting | Help with broken product behavior
  • cancel | Ending a subscription
  • human | Explicitly requesting a person
  • other | Other or unclear

Time sensitive

noul

Does the record establish a current time-sensitive problem, beyond emphatic wording alone?

Try in Playground

Frustration

score

Rate the customer's expressed frustration.

Try in Playground
  • Calm
  • Concerned or mildly frustrated
  • Clearly upset
  • Highly escalated

Try changing the scenario

Add an explicit request for a human.

Catalog source: TypeSafeAI/typesafe-playground, reused under MIT. This is an independent community catalog, not an official TypeSafe AI product.

Background source: Inspired by TypeSafe workflow evals; examples authored for this playground