Jev example · Everyday debates

The pineapple jury

A taste debate with an explicit group preference.

Dilemmas & debateschoice

State

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

{
  "order": "One pizza for four friends.",
  "preferences": [
    "likes pineapple",
    "likes pineapple",
    "dislikes pineapple",
    "no preference"
  ],
  "available": [
    "plain cheese",
    "pineapple",
    "half pineapple and half plain"
  ],
  "constraint": "All options cost the same."
}

Typed questions (1)

Pizza verdict

choice

What pizza would you suggest for this group?

Try in Playground
  • plain | Plain cheese
  • pineapple | Pineapple
  • half | Half pineapple and half plain

Try changing the scenario

Remove the half-and-half option or give the group a unanimous preference.

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