-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
75 lines (74 loc) · 1.44 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
version: '2.0'
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- greet
- bot_challenge
- deny
- affirm
- weather_city:
use_entities:
- city
- stop
- weather_time:
use_entities:
- time
- appreciate
- goodbye
- weather_condition
- out_of_scope
entities:
- city
- time
slots:
city:
type: text
influence_conversation: true
time:
type: any
influence_conversation: false
responses:
utter_happy:
- text: Great, carry on!
utter_unhappy:
- text: Ok, as you wish.
utter_goodbye:
- text: Bye
utter_iamabot:
- text: I am a bot, powered by Rasa.
utter_weather_greet:
- text: Hi. I am weatherbot. Do you want to learn the weather condition?
utter_ask_city:
- text: Please provide the city name
utter_ask_time:
- text: Please provide the date
utter_results:
- text: |-
Thanks for providing the data.
utter_weather_condition:
- text: '{Weather_Condition}'
utter_out_of_scope:
- text: Sorry, I can't handle that request.
utter_pleasure:
- text: With a great pleasure...
utter_ask_continue:
- text: Do you want to proceed?
actions:
- action_slot_reset
- action_submit
- action_weather_api
- utter_ask_continue
- utter_happy
- utter_unhappy
- utter_weather_greet
- action_chat_restart
forms:
weather_details_form:
required_slots:
city:
- type: from_entity
entity: city
time:
- type: from_entity
entity: time