Jev example · Orders & returns

A broken item on arrival

Use a clear damage policy.

Workflows & decisionschoicenoulscore

State

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

{
  "request": "The blender jar arrived shattered.",
  "order": {
    "delivered_days_ago": 1
  },
  "evidence": "Photo confirms broken jar",
  "policy": "Damage reported within 7 days with a photo qualifies for replacement."
}

Typed questions (3)

Next step

choice

Apply the policy in the state and choose the best next step.

Try in Playground
  • fulfill | Continue normal fulfillment
  • replace | Replacement is supported
  • return | Return or refund review is supported
  • investigate | Resolve conflicting records before promising action
  • clarify | Ask for missing details

Enough evidence

noul

Is enough evidence supplied to choose a supported next step under the given policy?

Try in Playground

Customer impact

score

Rate current impact from the stated facts.

Try in Playground
  • Minor inconvenience
  • Delayed use
  • Important activity blocked
  • Immediate serious disruption

Try changing the scenario

Remove the photo evidence.

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