pvanand commited on
Commit
0fd0849
1 Parent(s): d670f62

Update data/stories.yml

Browse files
Files changed (1) hide show
  1. data/stories.yml +47 -22
data/stories.yml CHANGED
@@ -1,30 +1,55 @@
1
  version: "3.1"
2
-
3
  stories:
4
 
5
- - story: happy path
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  steps:
7
- - intent: greet
8
- - action: utter_greet
9
- - intent: mood_great
10
- - action: utter_happy
 
 
 
 
11
 
12
- - story: sad path 1
13
  steps:
14
- - intent: greet
15
- - action: utter_greet
16
- - intent: mood_unhappy
17
- - action: utter_cheer_up
18
- - action: utter_did_that_help
19
- - intent: affirm
20
- - action: utter_happy
21
 
22
- - story: sad path 2
23
  steps:
24
- - intent: greet
25
- - action: utter_greet
26
- - intent: mood_unhappy
27
- - action: utter_cheer_up
28
- - action: utter_did_that_help
29
- - intent: deny
30
- - action: utter_goodbye
 
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
+