-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
113 lines (113 loc) · 2.68 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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
version: '2.0'
config:
store_entities_as_slots: true
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- contact:
use_entities: true
- greet:
use_entities: true
- goodbye:
use_entities: true
- affirm:
use_entities: true
- deny:
use_entities: true
- mood_great:
use_entities: true
- mood_unhappy:
use_entities: true
- bot_challenge:
use_entities: true
- price:
use_entities: true
- location:
use_entities: true
- appointment:
use_entities: true
- age:
use_entities: true
- name:
use_entities: true
- request_names:
use_entities: true
- service_type:
use_entities: true
- getdata:
use_entities: true
entities:
- contact
- age
- name
- test_location
slots:
age:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
name:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
contact:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
test_location:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
responses:
utter_greet:
- buttons:
- payload: I want to know about the price of Covid test
title: Price
- payload: I want to know about to facility location
title: Location
- payload: I want appointment my Covid-19 Test
title: Appointment
text: Hey! How are you? What can I help you with?
utter_cheer_up:
- image: https://i.imgur.com/nGF1K8f.jpg
text: 'Here is something to cheer you up:'
utter_did_that_help:
- text: Did that help you?
utter_happy:
- text: Great, carry on!
utter_goodbye:
- text: Bye
utter_iamabot:
- text: I am a bot, I am able to help with Covid-19 Test Queries.
utter_location:
- text: Covid-19 Lab is located at 123-A DHA Phase 8
utter_price:
- text: Covid-19 swab test is for Rs. 8000
utter_appointment:
- text: Ok, let me ask you a few details to get started
utter_ask_age:
- text: what's your age?
utter_ask_name:
- text: what's your name?
utter_ask_contact:
- text: what's your contact number?
utter_slots_values:
- text: Appointment registered, details are {name}, {age}, {contact} at {test_location}. Time between 0900 to 2100.
utter_submit:
- text: Ok. Thanks!
utter_ask_service_type:
- buttons:
- payload: I want to get tested in home
title: Home
- payload: I will visit the laboratory
title: Laboratory
text: Where would you like to get tested?
actions:
- action_get_information
forms: {}
e2e_actions: []