-
Notifications
You must be signed in to change notification settings - Fork 17
/
rules.yml
50 lines (42 loc) · 1.01 KB
/
rules.yml
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
version: "3.1"
rules:
- rule: greeting
steps:
- intent: greet
- action: utter_greet
- rule: goodbye
steps:
- intent: goodbye
- action: utter_goodbye
- rule: list restaurants
steps:
- intent: list_restaurants
- action: action_list_restaurants
- action: action_reset_routing
- rule: health advice
steps:
- intent: health_advice
- action: utter_cant_advice_on_health
- action: action_reset_routing
- rule: hotel search
steps:
- intent: hotel_search
- action: action_search_hotel
- action: utter_hotel_inform_rating
- action: action_reset_routing
- rule: activate restaurant form
steps:
- intent: request_restaurant
- action: restaurant_form
- active_loop: restaurant_form
- rule: submit restaurant form
condition:
- active_loop: restaurant_form
steps:
- action: restaurant_form
- active_loop: null
- slot_was_set:
- requested_slot: null
- action: utter_restaurant_form_submit
- action: utter_restaurant_available
- action: action_reset_routing