Update data/stories.yml
Browse files- data/stories.yml +47 -22
data/stories.yml
CHANGED
@@ -1,30 +1,55 @@
|
|
1 |
version: "3.1"
|
2 |
-
|
3 |
stories:
|
4 |
|
5 |
-
- story:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
steps:
|
7 |
-
- intent:
|
8 |
-
- action:
|
9 |
-
- intent:
|
10 |
-
|
|
|
|
|
|
|
|
|
11 |
|
12 |
-
- story:
|
13 |
steps:
|
14 |
-
- intent:
|
15 |
-
|
16 |
-
|
17 |
-
-
|
18 |
-
|
19 |
-
-
|
20 |
-
- action: utter_happy
|
21 |
|
22 |
-
- story:
|
23 |
steps:
|
24 |
-
- intent:
|
25 |
-
|
26 |
-
|
27 |
-
-
|
28 |
-
|
29 |
-
-
|
30 |
-
|
|
|
1 |
version: "3.1"
|
|
|
2 |
stories:
|
3 |
|
4 |
+
- story: greeting path
|
5 |
+
steps:
|
6 |
+
- intent: greeting
|
7 |
+
- action: utter_greeting
|
8 |
+
# Resets current slot values on greeting
|
9 |
+
- action: action_reset_slots
|
10 |
+
|
11 |
+
- story: bot capabilities path
|
12 |
+
steps:
|
13 |
+
- intent: bot_capabilities
|
14 |
+
- action: utter_bot_capabilities
|
15 |
+
|
16 |
+
- story: project help without role (developer response)
|
17 |
+
steps:
|
18 |
+
- intent: project_help
|
19 |
+
- action: action_general_help
|
20 |
+
- intent: inform_role
|
21 |
+
entities:
|
22 |
+
- user_role: "developer"
|
23 |
+
- slot_was_set:
|
24 |
+
- user_role: "developer"
|
25 |
+
- action: action_help_with_role
|
26 |
+
|
27 |
+
- story: project help without role (client response)
|
28 |
steps:
|
29 |
+
- intent: project_help
|
30 |
+
- action: action_general_help
|
31 |
+
- intent: inform_role
|
32 |
+
entities:
|
33 |
+
- user_role: "client"
|
34 |
+
- slot_was_set:
|
35 |
+
- user_role: "client"
|
36 |
+
- action: action_help_with_role
|
37 |
|
38 |
+
- story: project help with role developer
|
39 |
steps:
|
40 |
+
- intent: project_help
|
41 |
+
entities:
|
42 |
+
- user_role: "developer"
|
43 |
+
- slot_was_set:
|
44 |
+
- user_role: "developer"
|
45 |
+
- action: action_help_with_role
|
|
|
46 |
|
47 |
+
- story: project help with role client
|
48 |
steps:
|
49 |
+
- intent: project_help
|
50 |
+
entities:
|
51 |
+
- user_role: "client"
|
52 |
+
- slot_was_set:
|
53 |
+
- user_role: "client"
|
54 |
+
- action: action_help_with_role
|
55 |
+
|