-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscheme_template
More file actions
103 lines (93 loc) · 1.97 KB
/
scheme_template
File metadata and controls
103 lines (93 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/// Template for bot dialog flow logic description
"start": {
"intent_name": "",
"intent_id": "",
"context": {}
},
"intent_list": [
{
"intent_name": "",
"intent_id": "",
"start_on_event": {
"event_tuype": "complete_intent",
"event_description": "Complete Weclome intent"
},
"start_event_data": {
"event_options": [
{
"time_after_event": 0,
"duration": 60,
"goto_next": {
"intent_name": "",
"intent_id": "",
}
},
{
"time_after_event": 31,
"duration": 60,
"goto_next": {
"intent_name": "3-Needs-detection",
"intent_id": "", // intent id is required !
}
},
{
"time_after_event": 91,
"duration": 60,
"goto_next": {
"intent_name": "",
"intent_id": "",
}
}
],
},
"action_on_complete": {
"action": "",
"action_name": "",
"action_type": ""
},
},
{
// other intent
}
],
"end": {
"intent_name": "",
"intent_id": "",
"context": {}
},
/// типы событий и опций для срабтывания следующего интента
"events": [
{
"event_type": "complete_intent", // события связанные с окончание интентов
"event_name": "",
"event_options": {
"time_after_event_options": [ // список временных интервалов после предыдущего интента
{
"time_after_event": 0,
"duration": 60,
"goto_next": {
"intent_name": "",
"intent_id": "",
}
},
///...
],
"event_success": { // флаг выполнения интента
"value": "[True/False]",
"goto_next_true": {
"intent_name": "",
"intent_id": "",
},
"goto_next_false": {
"intent_name": "",
"intent_id": "",
}
},
"input_context_data": { // data in context of previous intent
"var_name": "",
"var_type": "",
"value": ""
}
}
}
]