-
Notifications
You must be signed in to change notification settings - Fork 1
/
domain.yml
69 lines (69 loc) · 1.53 KB
/
domain.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: '2.0'
config:
store_entities_as_slots: true
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- greet:
use_entities: true
- goodbye:
use_entities: true
- check_capital:
use_entities: true
- check_population:
use_entities: true
- nlu_fallback:
use_entities: true
entities:
- country
slots:
capital_slot:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
population_slot:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
form_validated:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
requested_slot:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
responses:
utter_greet:
- text: Hey! How are you?
actions:
- action_greet
- action_goodbye
- action_default_fallback
- action_ask_capital_slot
- validate_check_population_form
- action_submit_check_capital_form
- action_ask_population_slot
- validate_check_capital_form
- action_submit_check_population_form
forms:
check_capital_form:
required_slots:
capital_slot:
- entity: country
type: from_entity
- intent: null
type: from_text
check_population_form:
required_slots:
population_slot:
- entity: country
type: from_entity
- intent: null
type: from_text
e2e_actions: []