-
Notifications
You must be signed in to change notification settings - Fork 3
/
domain.yml
92 lines (72 loc) · 1.69 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
version: "2.0"
intents:
- search_property
- get_recommendations
- schedule_viewing
- greet
- goodbye
slots:
location:
type: text
mappings:
- type: from_entity
entity: location
bedrooms:
type: text
mappings:
- type: from_entity
entity: bedrooms
bathrooms:
type: text
mappings:
- type: from_entity
entity: bathrooms
price:
type: float
mappings:
- type: from_entity
entity: price
viewing_date:
type: text
mappings:
- type: from_entity
entity: viewing_date
min_bedrooms:
type: text
mappings:
- type: from_entity
entity: min_bedrooms
max_price:
type: float
mappings:
- type: from_entity
entity: max_price
entities:
- location
- bedrooms
- bathrooms
- price
- viewing_date
- min_bedrooms
- max_price
actions:
- action_search_property
- action_schedule_viewing
- action_get_recommendations
responses:
utter_greet:
- text: "Hello! How can I assist you today?"
utter_goodbye:
- text: "Goodbye! If you have any more questions in the future, feel free to ask."
utter_search_properties:
- text: "Here are some properties that match your criteria: \n {property_listings}"
utter_recommendations:
- text: "Here are some property recommendations based on your preferences:\n{recommendations}"
utter_scheduled_viewing:
- text: "You have successfully scheduled a viewing for {location} on {viewing_date}."
utter_no_properties_found:
- text: "I couldn't find any properties matching your criteria."
utter_default:
- text: "I'm not sure I understand. Could you please rephrase that?"
fallback_responses:
- utter_default