Jev example · Party games

Draft the game-night snack

Make a tiny preference judgment, not a correctness test.

Fun & gameschoice

State

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

{
  "event": "A four-person board-game night",
  "preferences": [
    "salty",
    "sweet",
    "salty",
    "no preference"
  ],
  "budget": "Enough for one shared snack",
  "options": [
    "popcorn",
    "brownies",
    "mixed pretzels and chocolate"
  ]
}

Typed questions (1)

Snack pick

choice

Which snack would you recommend for this group's game night?

Try in Playground
  • popcorn | Popcorn
  • brownies | Brownies
  • mix | Mixed pretzels and chocolate

Try changing the scenario

Give everyone the same preference, then try a split vote.

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