-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdomain.yml
114 lines (107 loc) · 3.5 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
114
version: "3.1"
intents:
- affirm
- deny
- goodbye
- greet
- is_bot_or_human
- search_jobs
- stop
- thankyou
- out_of_scope
- ask_why
- options
- chitchat:
use_entities: []
entities:
- title
- employment_type
- GPE
slots:
title:
type: text
influence_conversation: true
mappings:
- type: from_entity
entity: title
employment_type:
type: categorical
mappings:
- type: from_entity
entity: employment_type
values:
- FULL_TIME
- PART_TIME
- TEMPORARY
- CONTRACTOR
location:
type: text
influence_conversation: true
mappings:
- type: from_entity
entity: GPE
forms:
job_search_form:
required_slots:
- title
- location
- employment_type
actions:
- action_reset_all_slots
- action_search_jobs
- validate_job_search_form
responses:
utter_greet:
- text: Woof woof! Hello there, human friend! I am Rover and I'm here to help you and cheer you on. Let's start this job search adventure together.
utter_goodbye:
- text: I hope our conversation has brought some joy and wagging tails to your day. Bye-bye for now!
- text: Woof woof! Thank you, and have a great day!
- text: Remember that my virtual paws are always open to chat with you again in the future. Bye-bye!
utter_iamabot:
- text: I am a virtual dog, powered by Rasa.
utter_youarewelcome:
- text: Woof woof! You're welcome!
utter_ask_title:
- text: Sure thing! What type of job are you looking for?
utter_ask_location:
- text: Where would you like to work?
utter_ask_employment_type:
- buttons:
- payload: '/inform_employment_type{{"employment_type": "FULL_TIME"}}'
title: Full Time
- payload: '/inform_employment_type{{"employment_type": "PART_TIME"}}'
title: Part Time
- payload: '/inform_employment_type{{"employment_type": "TEMPORARY"}}'
title: Temporary
- payload: '/inform_employment_type{{"employment_type": "CONTRACTOR"}}'
title: Contractor
text: "What employment type?"
utter_ask_stop:
- text: Are you sure you want to stop the form?
utter_ask_continue:
- text: Would you like to continue the form?
utter_ask_rephrase:
- text: I'm sorry, I didn't quite understand that. Could you rephrase?
utter_default:
- text: I'm sorry, I can't help you.
utter_out_of_scope:
- text: Sorry, I can't handle that request.
utter_stopping_form:
- text: Stopping the job search process
utter_chitchat/ask_howdoing:
- text: As a chatbot, I don't experience emotions in the way that a real dog would.
utter_chitchat/ask_freetime:
- text: When I'm not helping job seekers find their dream jobs, I'm constantly learning and updating my knowledge base, so that I can provide even better assistance in the future.
- text: In my free time, I love to learn about new topics and explore the world around me.
utter_chitchat/ask_name:
- text: Woof woof! Hello there, my name is Rover! I'm so excited to help you with your job search and make a new friend.
- text: Woof woof! Hey there, I'm Rover, a happy-go-lucky pup with a wagging tail and a heart full of love.
utter_explain:
- text: I need to know the job title so I can help you find a job.
utter_received:
- text: Upload recieved!
utter_examples:
- text: Some examples are web developer, software engineer, IT, software development, etc.
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true