Jev example · Weird worlds

Dinner with an alien

Find a meal that follows the visitor's fictional rules.

Fun & gameschoice

State

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

{
  "rules": {
    "temperature": "cold",
    "metal_forbidden": true
  },
  "menu": {
    "moon_cubes": {
      "temperature": "cold",
      "contains_metal": true
    },
    "star_salad": {
      "temperature": "cold",
      "contains_metal": false
    },
    "comet_soup": {
      "temperature": "hot",
      "contains_metal": false
    }
  }
}

Typed questions (1)

Your answer

choice

Which dish satisfies all of the alien's stated rules?

Try in Playground
  • moon_cubes | Moon cubes
  • star_salad | Star salad
  • comet_soup | Comet soup
  • none | No dish qualifies

Try changing the scenario

Make every dish violate one rule and see whether it chooses none.

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