-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdomain.yml
66 lines (66 loc) · 1.64 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
version: '3.0'
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- greet
- bot_challenge
- mood_great
- goodbye
- affirm
- deny
- mood_unhappy
- thanks
- out_of_scope
- help
- request_country
- inform_country_only
- request_capital
- request_population
entities:
- country
slots:
country:
type: text
influence_conversation: true
mappings:
- type: from_entity
entity: country
responses:
utter_out_of_scope:
- text: Sorry, I'm not sure how to respond to that. Type "help" for assistance.
utter_default:
- text: I didn't quite understand that. Could you rephrase?
utter_greet:
- text: Hey! How are you?
utter_thanks:
- text: You are welcome anytime.
utter_cheer_up:
- text: 'Here is something to cheer you up:'
image: https://i.imgur.com/nGF1K8f.jpg
utter_did_that_help:
- text: Did that help you?
utter_happy:
- text: Awesome!, I am here for you.
utter_goodbye:
- text: Bye, Have a good day.
utter_iamabot:
- text: I am a bot, powered by Rasa.
utter_help:
- text: "I can help you find the capital and population of any country around the world.
\nyou can ask me things like:
\n- What do you know about Greece?
\n- what is the population of Australia?
\n- Tell me the capital of Japan."
utter_continue:
- text: so tell me, what country do you want search for?
utter_ask_country:
- text: I can search for capital and population for any country around the world. Just ask for it.
actions:
- action_display_countries
- action_inform_capital_pop
- validate_country_form
forms:
country_form:
required_slots:
- country