mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-23 16:53:04 +03:00
64 lines
1.3 KiB
JSON
64 lines
1.3 KiB
JSON
{
|
|
"actions": {
|
|
"setup": {
|
|
"type": "dialog",
|
|
"utterance_samples": [
|
|
"I want to know my MBTI personality type"
|
|
],
|
|
"answers": [
|
|
"Alright, let's go!"
|
|
],
|
|
"next_action": "quiz"
|
|
},
|
|
"quiz": {
|
|
"type": "logic",
|
|
"loop": {
|
|
"expected_item": {
|
|
"type": "resolver",
|
|
"name": "form"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"resolvers": {
|
|
"form": {
|
|
"intents": {
|
|
"1_a": {
|
|
"utterance_samples": [
|
|
"Interact with many",
|
|
"Including strangers",
|
|
"[Like|Love] to [interact|communicate|talk]"
|
|
],
|
|
"value": "1_a"
|
|
},
|
|
"1_b": {
|
|
"utterance_samples": [
|
|
"Interact with a few",
|
|
"Know to [me|you]"
|
|
],
|
|
"value": "1_b"
|
|
},
|
|
"2_a": {
|
|
"utterance_samples": [
|
|
"Realistic than speculative",
|
|
"Not a dreamer",
|
|
"Believe in science"
|
|
],
|
|
"value": "2_a"
|
|
},
|
|
"2_b": {
|
|
"utterance_samples": [
|
|
"Speculative than realistic",
|
|
"Speculative",
|
|
"[like|love] to dream",
|
|
"A dreamer"
|
|
],
|
|
"value": "2_b"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"answers": {
|
|
}
|
|
}
|