1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-30 12:17:42 +03:00
leon/skills/games/akinator/nlu/en.json

111 lines
2.3 KiB
JSON
Raw Normal View History

2022-07-03 19:47:10 +03:00
{
"actions": {
"choose_thematic": {
2022-07-03 19:47:10 +03:00
"type": "dialog",
"utterance_samples": [
"[Let's play|I want to play|I wanna play] with Akinator"
],
"slots": [
{
"name": "thematic",
"item": {
"type": "entity",
"name": "thematic"
},
"questions": [
"What thematic would you like to play with?",
"What thematic do you choose?"
],
"suggestions": [
"Characters",
"Objects",
"Animals"
]
}
],
"entities": [
{
"type": "enum",
"name": "thematic",
"options": {
"characters": {
"synonyms": ["characters", "character"]
},
"objects": {
"synonyms": ["objects", "object"]
},
"animals": {
"synonyms": ["animals", "animal"]
}
}
}
],
"next_action": "setup"
},
"setup": {
"type": "logic",
2022-07-03 19:47:10 +03:00
"answers": [
"Alright, I'm calling my friend Akinator..."
]
2022-07-03 19:47:10 +03:00
},
"guess": {
"type": "logic",
"answers": [
"Alright, I'm calling my friend Akinator..."
]
2022-07-03 19:47:10 +03:00
},
"replay": {
"type": "logic",
"loop": {
"expected_item": {
"type": "resolver",
"name": "answer"
2022-07-03 19:47:10 +03:00
}
}
}
},
"resolvers": {
"answer": {
"intents": {
"yes": {
"utterance_samples": [
"[Yes|Yep|Yup|Yeah]",
"Sure",
"Correct"
],
"value": "yes"
},
"no": {
"utterance_samples": [
"[No|Nope|Nah]"
],
"value": "no"
},
"idk": {
"utterance_samples": [
"I do not know",
"Don't know",
"Not sure"
],
"value": "idk"
},
"probably": {
"utterance_samples": [
"Probably",
"Probably yes"
],
"value": "probably"
},
"probably_not": {
"utterance_samples": [
"Probably [no|not]"
],
"value": "probably_not"
}
}
}
},
"answers": {
}
}