Your answer
choiceWhich dish satisfies all of the alien's stated rules?
- moon_cubes | Moon cubes
- star_salad | Star salad
- comet_soup | Comet soup
- none | No dish qualifies
Jev example · Weird worlds
Find a meal that follows the visitor's fictional rules.
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
}
}
}Which dish satisfies all of the alien's stated rules?
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.