Jev example · Orders & returns

Delivered, but not to the customer

Handle conflicting delivery records.

Workflows & decisionschoicenoulscore

State

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

{
  "request": "Tracking says delivered but I have no package.",
  "tracking": {
    "status": "delivered",
    "photo": "Different building entrance"
  },
  "address": "Customer confirms correct order address",
  "policy": "Investigate delivery evidence before issuing a 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

Make the delivery photo match the customer's entrance.

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