heyal commited on
Commit
eadab4e
·
1 Parent(s): 381c958

updated model

Browse files
Files changed (4) hide show
  1. data/nlu.yml +37 -5
  2. data/stories.yml +16 -0
  3. domain.yml +14 -0
  4. models/bio.tar.gz +2 -2
data/nlu.yml CHANGED
@@ -94,8 +94,8 @@ nlu:
94
  - intent: q_0
95
  examples: |
96
  - What does the test involve?
97
- - How is the test done?
98
- - What's the test procedure?
99
  - intent: q_2
100
  examples: |
101
  - Where can I order the BIOMES intestinal test?
@@ -111,44 +111,61 @@ nlu:
111
  - What age range is suitable for the test
112
  - intent: q_4
113
  examples: |
114
- - When should I send in my stool sample when I'm experiencing symptoms or when I'm symptom
 
 
115
  - intent: q_5
116
  examples: |
117
  - Is a sample report available?
 
 
118
  - intent: q_6
119
  examples: |
120
  - Will medications or food supplements affect my results?
121
  - If I take food supplements and get tested, is it going to change the results?
 
122
  - intent: q_7
123
  examples: |
124
  - I have been taking antibiotics recently. Will an analysis then be useful or meaningful at all?
 
 
 
 
125
  - intent: q_8
126
  examples: |
127
  - Is the test also offered by doctors/pharmacies/naturopaths?
128
  - intent: q_9
129
  examples: |
130
  - Is the test covered by my health insurance provider?
 
 
131
  - intent: q_10
132
  examples: |
133
  - How do I take my stool sample?
 
134
  - intent: q_11
135
  examples: |
136
- - My stool is quite firm. I can't wipe anything off the piece of toilet paper. How should I take my sampl
137
  - intent: q_12
138
  examples: |
139
  - How long can my sample be used after being taken / transport?
140
  - intent: q_13
141
  examples: |
142
  - Can I also save the unused kit and use it at a later date?
 
 
 
143
  - intent: q_14
144
  examples: |
145
  - What happens to my stool sample in the laboratory?
146
  - intent: q_15
147
  examples: |
148
  - Can I also receive my assessment by email or post?
 
149
  - intent: q_16
150
  examples: |
151
  - How can I register?
 
152
  - intent: q_17
153
  examples: |
154
  - Why do I need to activate my sample?
@@ -217,6 +234,21 @@ nlu:
217
  - intent: q_36
218
  examples: |
219
  - How do I sign up for a newsletter?
 
220
  - intent: q_37
221
  examples: |
222
- - Who can I contact if I have any queries?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  - intent: q_0
95
  examples: |
96
  - What does the test involve?
97
+ - What does the test cover?
98
+ - What does the test check?
99
  - intent: q_2
100
  examples: |
101
  - Where can I order the BIOMES intestinal test?
 
111
  - What age range is suitable for the test
112
  - intent: q_4
113
  examples: |
114
+ - When should I send in my stool sample- when I'm experiencing symptoms or when there are none?
115
+ - Should I take the test when I have symptoms or is it better to take the test when I feel well?
116
+ - When is the best condition to take the test, is it when I feel symptoms?
117
  - intent: q_5
118
  examples: |
119
  - Is a sample report available?
120
+ - Can I see an analysis example?
121
+ - Can I see test results examples?
122
  - intent: q_6
123
  examples: |
124
  - Will medications or food supplements affect my results?
125
  - If I take food supplements and get tested, is it going to change the results?
126
+ - Are the test results affected by food supplements or medicines?
127
  - intent: q_7
128
  examples: |
129
  - I have been taking antibiotics recently. Will an analysis then be useful or meaningful at all?
130
+ - Does it make sense to take the test after taking antibiotics?
131
+ - Does antibiotics affect the test results?
132
+ - Should I wait with the test if I have taken antibiotics?
133
+ - Does antibiotics interfere with test results?
134
  - intent: q_8
135
  examples: |
136
  - Is the test also offered by doctors/pharmacies/naturopaths?
137
  - intent: q_9
138
  examples: |
139
  - Is the test covered by my health insurance provider?
140
+ - Are the test costs covered by my insurance?
141
+ - Will I get reimbursed by my health insurance?
142
  - intent: q_10
143
  examples: |
144
  - How do I take my stool sample?
145
+ - I need help with taking the stool sample
146
  - intent: q_11
147
  examples: |
148
+ - My stool is quite firm. I can't wipe anything off the piece of toilet paper. How should I take my sample?
149
  - intent: q_12
150
  examples: |
151
  - How long can my sample be used after being taken / transport?
152
  - intent: q_13
153
  examples: |
154
  - Can I also save the unused kit and use it at a later date?
155
+ - For how long can I keep the kit for later use?
156
+ - Does the kit expire?
157
+ - What's the expiration date of the kit?
158
  - intent: q_14
159
  examples: |
160
  - What happens to my stool sample in the laboratory?
161
  - intent: q_15
162
  examples: |
163
  - Can I also receive my assessment by email or post?
164
+ - Can you send me the test results by email or by mail?
165
  - intent: q_16
166
  examples: |
167
  - How can I register?
168
+ - I would like to register
169
  - intent: q_17
170
  examples: |
171
  - Why do I need to activate my sample?
 
234
  - intent: q_36
235
  examples: |
236
  - How do I sign up for a newsletter?
237
+ - I'd like to receive the newsletter
238
  - intent: q_37
239
  examples: |
240
+ - Who can I contact if I have any queries?
241
+ - How can I contact you for more questions?
242
+ - I might have more questions, who can I call?
243
+ - intent: test_results_request
244
+ examples: |
245
+ - I would like to see my test test_results
246
+ - Can you give me my analysis report?
247
+ - I need to see the analysis
248
+ - How can I see the analysis?
249
+ - I would like to see my analysis
250
+ - intent: recommendations_request
251
+ - What changes to my diet could support my microbiom?
252
+ - What food should I eat to improve my microbiom?
253
+ - What food recommendations could you give me?
254
+ - How can I improve the microbiom?
data/stories.yml CHANGED
@@ -29,6 +29,22 @@ stories:
29
  - intent: deny
30
  - action: utter_goodbye
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  - story: s_0
33
  steps:
34
  - intent: q_0
 
29
  - intent: deny
30
  - action: utter_goodbye
31
 
32
+ - story: test_results
33
+ steps:
34
+ - intent: test_results_request
35
+ - action: utter_results
36
+ - action: utter_ask_about_recs
37
+ - intent: affirm
38
+ - action: utter_recommendations
39
+
40
+ - story: test_results_n
41
+ steps:
42
+ - intent: test_results_request
43
+ - action: utter_results
44
+ - action: utter_ask_about_recs
45
+ - intent: deny
46
+ - action: utter_no_recommendations
47
+
48
  - story: s_0
49
  steps:
50
  - intent: q_0
domain.yml CHANGED
@@ -8,6 +8,8 @@ intents:
8
  - mood_great
9
  - mood_unhappy
10
  - bot_challenge
 
 
11
  - q_0
12
  - q_1
13
  - q_2
@@ -67,6 +69,18 @@ responses:
67
  utter_iamabot:
68
  - text: "I am a bot, powered by Rasa."
69
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  utter_0:
71
  - text: "We offer an analysis that covers nearly the entire spectrum of bacteria that live in the gut. Given that our work is DNA-based, the resulting analysis is very deep and precise. The areas we analyse and interpret include the following: The diversity of intestinal bacteria, proteobacteria, immune strength, immune regulation, the body's ability to digest foods (with regard to proteins, fats, carbohydrates), microbe-associated intolerances and allergies, indicators of inflammation and constipation, as well as sleep and general emotional state. Furthermore, we analyse the bacterial ratio responsible for calorie utilisation (here, the ratio of Firmicutes to Bacteroidetes). This allows us to determine whether you are more inclined to gain or lose weight. In addition to all these results of analysis, you'll also receive individual recommendations on how you can improve certain areas and help any missing bacteria to (re)colonise in your g"
72
 
 
8
  - mood_great
9
  - mood_unhappy
10
  - bot_challenge
11
+ - test_results_request
12
+ - recommendations_request
13
  - q_0
14
  - q_1
15
  - q_2
 
69
  utter_iamabot:
70
  - text: "I am a bot, powered by Rasa."
71
 
72
+ utter_results:
73
+ - text: "Here are your test results"
74
+
75
+ utter_recommendations:
76
+ - text: "We are happy to provide you with the following recommendations. *disclaimer*... *recommendations"
77
+
78
+ utter_ask_about_recs:
79
+ - text: "Would you like to get some nutrition and lifestyle recommendations based on the analysis of your test?"
80
+
81
+ utter_no_recommendations:
82
+ - text: "Sure! you are welcome to ask us again about recommendations any time if you change your mind."
83
+
84
  utter_0:
85
  - text: "We offer an analysis that covers nearly the entire spectrum of bacteria that live in the gut. Given that our work is DNA-based, the resulting analysis is very deep and precise. The areas we analyse and interpret include the following: The diversity of intestinal bacteria, proteobacteria, immune strength, immune regulation, the body's ability to digest foods (with regard to proteins, fats, carbohydrates), microbe-associated intolerances and allergies, indicators of inflammation and constipation, as well as sleep and general emotional state. Furthermore, we analyse the bacterial ratio responsible for calorie utilisation (here, the ratio of Firmicutes to Bacteroidetes). This allows us to determine whether you are more inclined to gain or lose weight. In addition to all these results of analysis, you'll also receive individual recommendations on how you can improve certain areas and help any missing bacteria to (re)colonise in your g"
86
 
models/bio.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b839651f5a9ad0046961c7a29c7b2c07a1e8c9fb22eae5ad8941181d12631d70
3
- size 29252729
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:633c7a916a8ce1bfc04ed806216d1de448a143148083a71e393e88924e111d4c
3
+ size 29246479