2022-07-03 19:47:10 +03:00
|
|
|
{
|
|
|
|
"actions": {
|
2022-07-04 16:50:57 +03:00
|
|
|
"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"
|
|
|
|
],
|
2022-07-04 16:50:57 +03:00
|
|
|
"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-04 16:50:57 +03:00
|
|
|
]
|
2022-07-03 19:47:10 +03:00
|
|
|
},
|
|
|
|
"guess": {
|
|
|
|
"type": "logic",
|
2022-07-04 16:50:57 +03:00
|
|
|
"answers": [
|
|
|
|
"Alright, I'm calling my friend Akinator..."
|
|
|
|
]
|
2022-07-03 19:47:10 +03:00
|
|
|
},
|
|
|
|
"replay": {
|
|
|
|
"type": "logic",
|
|
|
|
"loop": {
|
|
|
|
"expected_item": {
|
|
|
|
"type": "resolver",
|
2022-07-04 16:50:57 +03:00
|
|
|
"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": {
|
|
|
|
}
|
|
|
|
}
|