Jev example · Orders & returns

A gift after the event

Time pressure from a deadline that has already passed.

Workflows & decisionschoicenoulscore

State

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

{
  "request": "The birthday was yesterday and the gift still hasn't arrived. Can I return it when it gets here?",
  "tracking": {
    "status": "in_transit",
    "delay_days": 3
  },
  "policy": "Unopened items may be returned within 30 days."
}

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

Change the item to an excluded personalized product.

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