-
Notifications
You must be signed in to change notification settings - Fork 1
/
domain.yml
175 lines (175 loc) · 4.37 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
version: '2.0'
config:
store_entities_as_slots: true
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- greet:
use_entities: true
- goodbye:
use_entities: true
- state_entry:
use_entities: true
- crop_entry:
use_entities: true
- price:
use_entities: true
- ferti:
use_entities: true
- recommend:
use_entities: true
- statistics:
use_entities: true
- about_us:
use_entities: true
- agribot:
use_entities: true
- nitrogen_entry:
use_entities: true
- phosphorous_entry:
use_entities: true
- potassium_entry:
use_entities: true
- cities:
use_entities: true
- power_hydrogen:
use_entities: true
- rainfall_entry:
use_entities: true
- ferti_recommendation:
use_entities: true
- bot_challenge:
use_entities: true
- add_data:
use_entities: true
- out_of_scope:
use_entities: true
entities:
- location
- crop
- potassium
- phosphorous
- nitrogen
- ph
- rainfall
- city
slots:
location:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
crop:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
nitrogen:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
phosphorous:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
potassium:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
ph:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
rainfall:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
city:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
responses:
utter_greet:
- buttons:
- payload: /about_us
title: About us
- payload: /agribot
title: chat with AGRIBOT
text: Welcome to AGRIGROW!, All your farming needs at one place.
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! and will work more to assist you in all ways
utter_goodbye:
- text: Bye
utter_iamabot:
- text: I am a bot, powered by Rasa.
utter_greet1:
- text: Hey i can help you know the msp of various crops.please enter your crop
utter_tc_as:
- text: Great! your crop is {crop} now please enter your state
utter_ferti:
- text: oh yes i can give you fertilizer information statewise! please enter your state
utter_ask_name:
- text: May i know your name please
utter_ask_number:
- text: May i know your mobile number please
utter_ask_land:
- text: May i know land registered in your name please
utter_ask_quantity:
- text: May i know the quantity u want to register please
utter_ask_aadharno:
- text: May i know your aadhar id please
utter_about_us:
- image: https://media.discordapp.net/attachments/776855480177000504/824305503857147914/2Q.png
text: Here's the link our website.
utter_agribot:
- buttons:
- payload: /statistics
title: crop statistics
- payload: /ferti_recommendation
title: fertilizer recommendation
- payload: /recommend
title: crop recommendation
text: Hi there! I am AGRIBOT, an agricultural AI chatbot to serve you with the following needs in agriculture sector.
utter_statistics:
- buttons:
- payload: /price
title: crop price
- payload: /ferti
title: fertilizers
text: select the field in which you want to know information.
utter_ask_crop:
- text: please type your crop name
utter_ask_nitrogen:
- text: please enter nitrogen value
utter_ask_phos:
- text: enter phosphorous value
utter_ask_potas:
- text: enter potassium value
utter_ask_ph:
- text: please enter ph value
utter_ask_rainfall:
- text: amount of rainfall in your region
utter_ask_city:
- text: please enter city name
utter_ask_crop1:
- text: your crop name please
actions:
- action_get_price
- action_get_fertilizers
- action_ferti_recommendation
- action_crop_recommendation
forms:
form_info: {}
e2e_actions: []