heyal commited on
Commit
d020c00
·
1 Parent(s): f3187df

adding rasa files

Browse files
Files changed (12) hide show
  1. Dockerfile +41 -0
  2. actions/actions.py +0 -0
  3. compose.yml +49 -0
  4. config.yml +50 -0
  5. credentials.yml +33 -0
  6. data/nlu.yml +222 -0
  7. data/rules.yml +13 -0
  8. data/stories.yml +220 -0
  9. domain.yml +192 -0
  10. endpoints.yml +42 -0
  11. models/bio.tar.gz +3 -0
  12. requirements.txt +1 -0
Dockerfile ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # syntax=docker/dockerfile:1
2
+
3
+ # Comments are provided throughout this file to help you get started.
4
+ # If you need more help, visit the Dockerfile reference guide at
5
+ # https://docs.docker.com/engine/reference/builder/
6
+
7
+ ARG PYTHON_VERSION=3.8
8
+ FROM python:${PYTHON_VERSION}-slim as base
9
+
10
+ # Copy the requirements file into the container.
11
+ COPY requirements.txt .
12
+
13
+ # Install the dependencies from the requirements file.
14
+ RUN python -m pip install --no-cache-dir -r requirements.txt
15
+
16
+ # Prevents Python from writing pyc files.
17
+ ENV PYTHONDONTWRITEBYTECODE=1
18
+
19
+ # Keeps Python from buffering stdout and stderr to avoid situations where
20
+ # the application crashes without emitting any logs due to buffering.
21
+ ENV PYTHONUNBUFFERED=1
22
+
23
+ WORKDIR /app
24
+ # Copy the source code into the container.
25
+ COPY . .
26
+
27
+ # Create a non-privileged user that the app will run under.
28
+ # See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user
29
+ # Switch to the non-privileged user to run the application.
30
+ USER 1001
31
+
32
+ # set entrypoint for interactive shells
33
+ ENTRYPOINT [ "rasa" ]
34
+
35
+ # Expose the port that the application listens on.
36
+ EXPOSE 7860
37
+
38
+ # List of Models: central+careersv1.0.tar.gz,Arpit-v1.0.tar.gz,Maisam+Arpit+Anand+Pankaj-bot-v1.0.tar.gz
39
+
40
+ # Run the application.
41
+ CMD ["run","--model","models/Maisam+Arpit+Anand+Pankaj-bot-v1.0.tar.gz","--enable-api","--port","7860"]
actions/actions.py ADDED
File without changes
compose.yml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Comments are provided throughout this file to help you get started.
2
+ # If you need more help, visit the Docker compose reference guide at
3
+ # https://docs.docker.com/compose/compose-file/
4
+
5
+ # Here the instructions define your application as a service called "server".
6
+ # This service is built from the Dockerfile in the current directory.
7
+ # You can add other services your application may depend on here, such as a
8
+ # database or a cache. For examples, see the Awesome Compose repository:
9
+ # https://github.com/docker/awesome-compose
10
+ services:
11
+ server:
12
+ build:
13
+ context: .
14
+ ports:
15
+ - 7860:7860
16
+
17
+ # The commented out section below is an example of how to define a PostgreSQL
18
+ # database that your application can use. `depends_on` tells Docker Compose to
19
+ # start the database before your application. The `db-data` volume persists the
20
+ # database data between container restarts. The `db-password` secret is used
21
+ # to set the database password. You must create `db/password.txt` and add
22
+ # a password of your choosing to it before running `docker compose up`.
23
+ # depends_on:
24
+ # db:
25
+ # condition: service_healthy
26
+ # db:
27
+ # image: postgres
28
+ # restart: always
29
+ # user: postgres
30
+ # secrets:
31
+ # - db-password
32
+ # volumes:
33
+ # - db-data:/var/lib/postgresql/data
34
+ # environment:
35
+ # - POSTGRES_DB=example
36
+ # - POSTGRES_PASSWORD_FILE=/run/secrets/db-password
37
+ # expose:
38
+ # - 5432
39
+ # healthcheck:
40
+ # test: [ "CMD", "pg_isready" ]
41
+ # interval: 10s
42
+ # timeout: 5s
43
+ # retries: 5
44
+ # volumes:
45
+ # db-data:
46
+ # secrets:
47
+ # db-password:
48
+ # file: db/password.txt
49
+
config.yml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # The config recipe.
2
+ # https://rasa.com/docs/rasa/model-configuration/
3
+ recipe: default.v1
4
+
5
+ # The assistant project unique identifier
6
+ # This default value must be replaced with a unique assistant name within your deployment
7
+ assistant_id: 20230808-130215-muffled-batter
8
+
9
+ # Configuration for Rasa NLU.
10
+ # https://rasa.com/docs/rasa/nlu/components/
11
+ language: en
12
+
13
+ pipeline: null
14
+ # # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
15
+ # # If you'd like to customize it, uncomment and adjust the pipeline.
16
+ # # See https://rasa.com/docs/rasa/tuning-your-model for more information.
17
+ # - name: WhitespaceTokenizer
18
+ # - name: RegexFeaturizer
19
+ # - name: LexicalSyntacticFeaturizer
20
+ # - name: CountVectorsFeaturizer
21
+ # - name: CountVectorsFeaturizer
22
+ # analyzer: char_wb
23
+ # min_ngram: 1
24
+ # max_ngram: 4
25
+ # - name: DIETClassifier
26
+ # epochs: 100
27
+ # constrain_similarities: true
28
+ # - name: EntitySynonymMapper
29
+ # - name: ResponseSelector
30
+ # epochs: 100
31
+ # constrain_similarities: true
32
+ # - name: FallbackClassifier
33
+ # threshold: 0.3
34
+ # ambiguity_threshold: 0.1
35
+
36
+ # Configuration for Rasa Core.
37
+ # https://rasa.com/docs/rasa/core/policies/
38
+ policies: null
39
+ # # No configuration for policies was provided. The following default policies were used to train your model.
40
+ # # If you'd like to customize them, uncomment and adjust the policies.
41
+ # # See https://rasa.com/docs/rasa/policies for more information.
42
+ # - name: MemoizationPolicy
43
+ # - name: RulePolicy
44
+ # - name: UnexpecTEDIntentPolicy
45
+ # max_history: 5
46
+ # epochs: 100
47
+ # - name: TEDPolicy
48
+ # max_history: 5
49
+ # epochs: 100
50
+ # constrain_similarities: true
credentials.yml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file contains the credentials for the voice & chat platforms
2
+ # which your bot is using.
3
+ # https://rasa.com/docs/rasa/messaging-and-voice-channels
4
+
5
+ rest:
6
+ # # you don't need to provide anything here - this channel doesn't
7
+ # # require any credentials
8
+
9
+
10
+ #facebook:
11
+ # verify: "<verify>"
12
+ # secret: "<your secret>"
13
+ # page-access-token: "<your page access token>"
14
+
15
+ #slack:
16
+ # slack_token: "<your slack token>"
17
+ # slack_channel: "<the slack channel>"
18
+ # slack_signing_secret: "<your slack signing secret>"
19
+
20
+ #socketio:
21
+ # user_message_evt: <event name for user message>
22
+ # bot_message_evt: <event name for bot messages>
23
+ # session_persistence: <true/false>
24
+
25
+ #mattermost:
26
+ # url: "https://<mattermost instance>/api/v4"
27
+ # token: "<bot token>"
28
+ # webhook_url: "<callback URL>"
29
+
30
+ # This entry is needed if you are using Rasa Enterprise. The entry represents credentials
31
+ # for the Rasa Enterprise "channel", i.e. Talk to your bot and Share with guest testers.
32
+ rasa:
33
+ url: "http://localhost:5002/api"
data/nlu.yml ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: "3.1"
2
+
3
+ nlu:
4
+
5
+ - intent: greet
6
+ examples: |
7
+ - hey
8
+ - hello
9
+ - hi
10
+ - hello there
11
+ - good morning
12
+ - good evening
13
+ - moin
14
+ - hey there
15
+ - let's go
16
+ - hey dude
17
+ - goodmorning
18
+ - goodevening
19
+ - good afternoon
20
+
21
+ - intent: goodbye
22
+ examples: |
23
+ - cu
24
+ - good by
25
+ - cee you later
26
+ - good night
27
+ - bye
28
+ - goodbye
29
+ - have a nice day
30
+ - see you around
31
+ - bye bye
32
+ - see you later
33
+
34
+ - intent: affirm
35
+ examples: |
36
+ - yes
37
+ - y
38
+ - indeed
39
+ - of course
40
+ - that sounds good
41
+ - correct
42
+
43
+ - intent: deny
44
+ examples: |
45
+ - no
46
+ - n
47
+ - never
48
+ - I don't think so
49
+ - don't like that
50
+ - no way
51
+ - not really
52
+
53
+ - intent: mood_great
54
+ examples: |
55
+ - perfect
56
+ - great
57
+ - amazing
58
+ - feeling like a king
59
+ - wonderful
60
+ - I am feeling very good
61
+ - I am great
62
+ - I am amazing
63
+ - I am going to save the world
64
+ - super stoked
65
+ - extremely good
66
+ - so so perfect
67
+ - so good
68
+ - so perfect
69
+
70
+ - intent: mood_unhappy
71
+ examples: |
72
+ - my day was horrible
73
+ - I am sad
74
+ - I don't feel very well
75
+ - I am disappointed
76
+ - super sad
77
+ - I'm so sad
78
+ - sad
79
+ - very sad
80
+ - unhappy
81
+ - not good
82
+ - not very good
83
+ - extremly sad
84
+ - so saad
85
+ - so sad
86
+
87
+ - intent: bot_challenge
88
+ examples: |
89
+ - are you a bot?
90
+ - are you a human?
91
+ - am I talking to a bot?
92
+ - am I talking to a human?
93
+
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?
102
+ - How can the test be ordered?
103
+ - How can I get the test?
104
+ - intent: q_3
105
+ examples: |
106
+ - Can I use the test on my young child?
107
+ - Is the test good for children?
108
+ - Does the test work for children?
109
+ - Is the test suitable for kids?
110
+ - What is the minimal age to make the 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 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?
155
+ - intent: q_18
156
+ examples: |
157
+ - How do I activate my sample?
158
+ - intent: q_19
159
+ examples: |
160
+ - Can I activate samples from several people in only one my.biomes.world user account?
161
+ - intent: q_20
162
+ examples: |
163
+ - How should I name my sample?
164
+ - intent: q_21
165
+ examples: |
166
+ - Do I need to keep the instructions with the activation code for my sample?
167
+ - intent: q_22
168
+ examples: |
169
+ - What can I do if I no longer have the card with the activation code for my sample and my sample is not yet activated?
170
+ - intent: q_23
171
+ examples: |
172
+ - Where can I find out more about the BIOMES Dashboard?
173
+ - intent: q_24
174
+ examples: |
175
+ - What is my.BIOMES.world?
176
+ - intent: q_25
177
+ examples: |
178
+ - What is a dashboard?
179
+ - What do you mean by the dashboard?
180
+ - intent: q_26
181
+ examples: |
182
+ - How do I create a user account for my dashboard at my.BIOMES.world?
183
+ - intent: q_27
184
+ examples: |
185
+ - When will I receive my results in the dashboard?
186
+ - When will I see the results on the dashboard?
187
+ - How long will it take to see my results on the dashboard?
188
+ - intent: q_28
189
+ examples: |
190
+ - Can I have my data deleted from the dashboard again later on?
191
+ - intent: q_29
192
+ examples: |
193
+ - How do I apply a voucher code?
194
+ - How to use a voucher code
195
+ - How do I use a voucher code
196
+ - intent: q_30
197
+ examples: |
198
+ - The specified payment methods do not work for me. Is it possible to issue me with an invoice?
199
+ - intent: q_31
200
+ examples: |
201
+ - What payment methods are available?
202
+ - How can I pay?
203
+ - intent: q_32
204
+ examples: |
205
+ - How can I exercise my right of withdrawal?
206
+ - intent: q_33
207
+ examples: |
208
+ - I have exercised my right of withdrawal, how do I get my money back?
209
+ - intent: q_34
210
+ examples: |
211
+ - Will it cost anything if I send my sample to your lab?
212
+ - intent: q_35
213
+ examples: |
214
+ - Do you also send the test abroad?
215
+ - Can I get the test if I am abroad?
216
+ - Do you also send the test out of the country?
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?
data/rules.yml ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: "3.1"
2
+
3
+ rules:
4
+
5
+ - rule: Say goodbye anytime the user says goodbye
6
+ steps:
7
+ - intent: goodbye
8
+ - action: utter_goodbye
9
+
10
+ - rule: Say 'I am a bot' anytime the user challenges
11
+ steps:
12
+ - intent: bot_challenge
13
+ - action: utter_iamabot
data/stories.yml ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: "3.1"
2
+
3
+ stories:
4
+
5
+ - story: happy path
6
+ steps:
7
+ - intent: greet
8
+ - action: utter_greet
9
+ - intent: mood_great
10
+ - action: utter_happy
11
+
12
+ - story: sad path 1
13
+ steps:
14
+ - intent: greet
15
+ - action: utter_greet
16
+ - intent: mood_unhappy
17
+ - action: utter_cheer_up
18
+ - action: utter_did_that_help
19
+ - intent: affirm
20
+ - action: utter_happy
21
+
22
+ - story: sad path 2
23
+ steps:
24
+ - intent: greet
25
+ - action: utter_greet
26
+ - intent: mood_unhappy
27
+ - action: utter_cheer_up
28
+ - action: utter_did_that_help
29
+ - intent: deny
30
+ - action: utter_goodbye
31
+
32
+ - story: s_0
33
+ steps:
34
+ - intent: q_0
35
+ - action: utter_0
36
+
37
+ - story: s_1
38
+ steps:
39
+ - intent: q_1
40
+ - action: utter_1
41
+
42
+ - story: s_2
43
+ steps:
44
+ - intent: q_2
45
+ - action: utter_2
46
+
47
+ - story: s_3
48
+ steps:
49
+ - intent: q_3
50
+ - action: utter_3
51
+
52
+ - story: s_4
53
+ steps:
54
+ - intent: q_4
55
+ - action: utter_4
56
+
57
+ - story: s_5
58
+ steps:
59
+ - intent: q_5
60
+ - action: utter_5
61
+
62
+ - story: s_6
63
+ steps:
64
+ - intent: q_6
65
+ - action: utter_6
66
+
67
+ - story: s_7
68
+ steps:
69
+ - intent: q_7
70
+ - action: utter_7
71
+
72
+ - story: s_8
73
+ steps:
74
+ - intent: q_8
75
+ - action: utter_8
76
+
77
+ - story: s_9
78
+ steps:
79
+ - intent: q_9
80
+ - action: utter_9
81
+
82
+ - story: s_10
83
+ steps:
84
+ - intent: q_10
85
+ - action: utter_10
86
+
87
+ - story: s_11
88
+ steps:
89
+ - intent: q_11
90
+ - action: utter_11
91
+
92
+ - story: s_12
93
+ steps:
94
+ - intent: q_12
95
+ - action: utter_12
96
+
97
+ - story: s_13
98
+ steps:
99
+ - intent: q_13
100
+ - action: utter_13
101
+
102
+ - story: s_14
103
+ steps:
104
+ - intent: q_14
105
+ - action: utter_14
106
+
107
+ - story: s_15
108
+ steps:
109
+ - intent: q_15
110
+ - action: utter_15
111
+
112
+ - story: s_16
113
+ steps:
114
+ - intent: q_16
115
+ - action: utter_16
116
+
117
+ - story: s_17
118
+ steps:
119
+ - intent: q_17
120
+ - action: utter_17
121
+
122
+ - story: s_18
123
+ steps:
124
+ - intent: q_18
125
+ - action: utter_18
126
+
127
+ - story: s_19
128
+ steps:
129
+ - intent: q_19
130
+ - action: utter_19
131
+
132
+ - story: s_20
133
+ steps:
134
+ - intent: q_20
135
+ - action: utter_20
136
+
137
+ - story: s_21
138
+ steps:
139
+ - intent: q_21
140
+ - action: utter_21
141
+
142
+ - story: s_22
143
+ steps:
144
+ - intent: q_22
145
+ - action: utter_22
146
+
147
+ - story: s_23
148
+ steps:
149
+ - intent: q_23
150
+ - action: utter_23
151
+
152
+ - story: s_24
153
+ steps:
154
+ - intent: q_24
155
+ - action: utter_24
156
+
157
+ - story: s_25
158
+ steps:
159
+ - intent: q_25
160
+ - action: utter_25
161
+
162
+ - story: s_26
163
+ steps:
164
+ - intent: q_26
165
+ - action: utter_26
166
+
167
+ - story: s_27
168
+ steps:
169
+ - intent: q_27
170
+ - action: utter_27
171
+
172
+ - story: s_28
173
+ steps:
174
+ - intent: q_28
175
+ - action: utter_28
176
+
177
+ - story: s_29
178
+ steps:
179
+ - intent: q_29
180
+ - action: utter_29
181
+
182
+ - story: s_30
183
+ steps:
184
+ - intent: q_30
185
+ - action: utter_30
186
+
187
+ - story: s_31
188
+ steps:
189
+ - intent: q_31
190
+ - action: utter_31
191
+
192
+ - story: s_32
193
+ steps:
194
+ - intent: q_32
195
+ - action: utter_32
196
+
197
+ - story: s_33
198
+ steps:
199
+ - intent: q_33
200
+ - action: utter_33
201
+
202
+ - story: s_34
203
+ steps:
204
+ - intent: q_34
205
+ - action: utter_34
206
+
207
+ - story: s_35
208
+ steps:
209
+ - intent: q_35
210
+ - action: utter_35
211
+
212
+ - story: s_36
213
+ steps:
214
+ - intent: q_36
215
+ - action: utter_36
216
+
217
+ - story: s_37
218
+ steps:
219
+ - intent: q_37
220
+ - action: utter_37
domain.yml ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: "3.1"
2
+
3
+ intents:
4
+ - greet
5
+ - goodbye
6
+ - affirm
7
+ - deny
8
+ - mood_great
9
+ - mood_unhappy
10
+ - bot_challenge
11
+ - q_0
12
+ - q_1
13
+ - q_2
14
+ - q_3
15
+ - q_4
16
+ - q_5
17
+ - q_6
18
+ - q_7
19
+ - q_8
20
+ - q_9
21
+ - q_10
22
+ - q_11
23
+ - q_12
24
+ - q_13
25
+ - q_14
26
+ - q_15
27
+ - q_16
28
+ - q_17
29
+ - q_18
30
+ - q_19
31
+ - q_20
32
+ - q_21
33
+ - q_22
34
+ - q_23
35
+ - q_24
36
+ - q_25
37
+ - q_26
38
+ - q_27
39
+ - q_28
40
+ - q_29
41
+ - q_30
42
+ - q_31
43
+ - q_32
44
+ - q_33
45
+ - q_34
46
+ - q_35
47
+ - q_36
48
+ - q_37
49
+
50
+ responses:
51
+ utter_greet:
52
+ - text: "Hey! How are you?"
53
+
54
+ utter_cheer_up:
55
+ - text: "Here is something to cheer you up:"
56
+ image: "https://i.imgur.com/nGF1K8f.jpg"
57
+
58
+ utter_did_that_help:
59
+ - text: "Did that help you?"
60
+
61
+ utter_happy:
62
+ - text: "Great, carry on!"
63
+
64
+ utter_goodbye:
65
+ - text: "Bye"
66
+
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
+
73
+ utter_1:
74
+ - text: "First of all, it is important to understand that INTEST.pro cannot (yet) be classified as a medical product, but rather falls into the category of lifestyle product. This means that we do not provide our customers with suggestions for therapy, but rather recommendations for action. According to German law, only authorised medical devices and medical practitioners are allowed to offer diagnosis and treatment. For this reason, we are not allowed to detect any parasites or viruses in our assessments to date. Fungi (which, as with bacteria, come in both harmful and beneficial forms) will be integrated into the analysis at a later stage. INTEST.pro strictly involves a microbiome analysis, during which substances are not detected."
75
+
76
+ utter_2:
77
+ - text: "You can order INTEST.pro in our online shop via the following link: https://biomes.world/en/shop/intest-pro?wcacra=6094739"
78
+
79
+ utter_3:
80
+ - text: "INTEST.pro is designed for people aged 15 and over. From this age onwards, the human microbiota is considered fully grown. For younger ages, the interpretation must be different, i.e. other reference values must be applied. BIOMES is due to launch an intestinal flora analysis specifically for children in the near future. "
81
+
82
+ utter_4:
83
+ - text: "Profiling your intestinal microbiota makes sense, especially when there are complaints. But even if there aren't any complaints, it's a good way to understand yourself and your state of health. It offers a snapshot and says a lot about the current health of your gut and your general well-being. In the long-term, a sub-optimal lifestyle and nutrition can lead to intestinal complaints, immune deficiencies, intolerances and even more serious issues, such as allergies and chronic intestinal diseases. It is advisable to perform one or more follow-up tests to really detect any chan"
84
+
85
+ utter_5:
86
+ - text: "Here you can see a sample analysis: https://biomes.world/dashboard/demo_en.html"
87
+
88
+ utter_6:
89
+ - text: "Yes. Please always state which medicines, antibiotics and probiotics you are taking when you want to carry out an analysis. This plays an important role in the assessment, as it influences your microbiome."
90
+
91
+ utter_7:
92
+ - text: "INTEST.pro always has the same informative value and can be applied at any time. The microbiota, i.e. the composition of all the microorganisms in our gut, is constantly changing, just not to such an extent that we notice it immediately. We can see which bacteria are present in your gut and in what ratio. This allows us to draw conclusions about your intestinal health. It is correct that antibiotics have quite an effect on your intestinal flora. They cannot be trained to target specific bacteria and end up killing even the good ones. After a course of antibiotics, we, therefore, recommend enjoying a probiotic and fibre-rich diet, or if you need things to work faster, a probiotic food supplement such as from our range of analytics-based food supplements. The high-quality bacterial cultures, vitamins and minerals were carefully compiled by BIOMES scientists and are produced in Germany in strict adherence to the highest quality standards. They can be purchased under the BIOM.uniq brand and are recommended on the basis of the INTEST.pro intestinal flora analysis. Working with such a stool analysis only ever provides a snapshot. Therefore, after each analysis, it is a good idea to do a follow-up test to see what progress has been made. We recommend doing this after a period of 4-6 months. An active, varied lifestyle and good nutrition can keep the intestinal flora in balance (which means that there is a sufficient number of beneficial bacteria in the gut). "
93
+
94
+ utter_8:
95
+ - text: "There is an increasing number of doctors, pharmacies and naturopaths who use INTEST.pro for their patients and clients. Our distribution network that covers this customer base will continue to expand in the future, meaning that, going forward, on our website ' www.biomes.world ' we'll be able to refer patients and customers to appropriate consultation centres for further advice or therapy. Every pharmacy in Germany should also be able to order INTEST.pro and BIOMES probiotics on a wholesale "
96
+
97
+ utter_9:
98
+ - text: "Not at present. However, given that preventive measures are gaining ever more public attention and that the test is able to deliver highly significant results, we're confident that this will be the case going forwar"
99
+
100
+ utter_10:
101
+ - text: "The INTEST.pro self-test kit contains everything you need, in order to take a stool sample: Using the cotton swab provided, simply dab some stool from the toilet paper and stir it into the solution in the tube provided. There is a white granulate found at the bottom of the tube. A pinhead-sized amount is quite sufficient. If the amount of stool on the toilet paper is not enough, simply try to collect the stool another way and take a swab. Please ensure that the cotton swab does not come into contact with toilet water or other utensils. Once this is done, simply put the tube into the enclosed stamped envelope, which you then send to our laboratory. Take a look at our explanatory video on the biomes.world homepage."
102
+
103
+ utter_11:
104
+ - text: "If you can't wipe a sample off the toilet paper, try to catch the stool in another way, such as by using a chamber pot or a sheet of plastic over the toilet. Make sure that the stool and the cotton swab do not come into contact with anything else, in order to ensure that the result is not falsifie"
105
+
106
+ utter_12:
107
+ - text: "Thanks to the use of a DNA-stabilising solution, the DNA in your intestinal bacteria remains preserved and can be assessed for up to approx. 2 years, even with slight temperature fluctuations. The tube containing the sample is also sturdy and should survive shipping unscathed."
108
+
109
+ utter_13:
110
+ - text: "The all-important DNA-stabilising solution found in sample tubes can be used for up to 2 years. This means that the kit can be stored for this maximum amount of time after receipt. You can also take the sample at a later date and then send it in to our laboratory. "
111
+
112
+ utter_14:
113
+ - text: "In our laboratory, your sample is analysed for any microorganisms using state-of-the-art, high-throughput sequencing. By tapping into our knowledge base and applying a deep learning algorithm, we interpret your individual intestinal profile and determine how close you are to the healthy comparison group. You'll get information about every bacterium living in your gut and its exact influence on your quality of lif"
114
+
115
+ utter_15:
116
+ - text: "In your assessment area (your dashboard), there is a 'PDF report' button located in the bottom-left hand corner. You have the option of creating and printing a short or long version of your report. If you can't find the button, it could be because the zoom setting in your view is too low.
117
+ For data protection reasons, we are not allowed to send you your report by email as a PDF document. Alternatively, we can send you a hard copy of your report by "
118
+
119
+ utter_16:
120
+ - text: "You can find instructions on how to register your account and activate your sample in the video via this link:
121
+ https://www.youtube.com/watch?v=d-VkjHycHXw&feature=emb_logo "
122
+
123
+ utter_17:
124
+ - text: "The sample needs to be activated, in order that we can match it correctly in the lab and you can see your results in the dashboard. Until then, it remains anonymous. Please note that the analysis in our laboratory takes 2-4 weeks. Please activate your sample shortly after you have placed it in the post. Only then can you be notified by email when your analysis is ready."
125
+
126
+ utter_18:
127
+ - text: "In your dashboard (https://my.biomes.world/), there is a human icon in the top-right hand corner, next to which you can see the name of your account. Click on the icon and select 'Activate sample'. Please then indicate as to whether the sample is yours or someone else's. You can also create multiple profiles, which then allow you, in turn, to manage multiple samples, for example, for other people, such as children, parents or siblings. It is best to label profiles by name and the respective sample consecutively ' but it is entirely up to you. Each sample must be activated in an existing (or new) profile with the corresponding activation code. You can find the code in the instruction leaflet from your self-test kit. All you need to do is fill in the necessary fields from the extensive questionnaire as best as you can. Then click on 'Submit questionnaire' to finish and you're done. You should get an indication that your sample is now activated and either still in transit or already in the lab for activated sample should now appear under 'My samples' ' your sample overview, which you can access again via the human icon at the top-right. As soon as the results are available, you can click on the sample and your assessment will open. As long as the sample analysis is still ongoing, you can see the individual steps of the laboratory proce"
128
+
129
+ utter_19:
130
+ - text: "Yes, you can. You only need one user account at my.biomes.world and there you have the option of activating several samples. You have to assign each of the samples to an existing (or new) profile and then simply name them as you wish. In the menu bar in the top-right hand corner, you can access the sample assessment under 'My samples"
131
+
132
+ utter_20:
133
+ - text: "You can name your sample anything you like. It is recommended that you choose the profile name according to the respective person and name the sample with 'First sample', 'Second sample', etc. You can find it under this name in the menu bar in the Da"
134
+
135
+ utter_21:
136
+ - text: "Once you have activated your sample using the activation code, strictly speaking, you no longer need to keep it. Every tube is linked to exactly one activation code that belongs to one profile. Buyer of a kit, name of the profile and sample can all be different in each case."
137
+
138
+ utter_22:
139
+ - text: "If this happens, please contact support@biomes.world, who will send you your code by email. It is absolutely essential that we can match your sample."
140
+
141
+ utter_23:
142
+ - text: "Feel free to watch this video for an introduction to our online dashboard:
143
+ https://www.youtube.com/watch?v=adC9Av_8Mrk&feature=emb_logo"
144
+
145
+ utter_24:
146
+ - text: "The my.BIOMES.world is the dashboard for your INTEST.pro assessment, where you can find your results."
147
+
148
+ utter_25:
149
+ - text: "A dashboard is an online-based platform where your analysis results are made available to you. To access it, you need to create a user account at my.BIOMES.world, which you can then use to log in later on. Only you have access to your dashboard with your own login data that you have chosen."
150
+
151
+ utter_26:
152
+ - text: "If you haven't yet registered on my.biomes.world/en, you need to create a user account. To do this, go to my.biomes.world, click on 'Register' and enter your email address and a password of your choosing. After you have confirmed your registration via the email sent to your inbox, you can log in at my.biomes.wor"
153
+
154
+ utter_27:
155
+ - text: "The complete analysis process ' consisting of several sub-steps ' takes 2-4 weeks depending on the sample. As soon as your results are made available in your personal dashboard, we'll notify you by "
156
+
157
+ utter_28:
158
+ - text: "If you would like us to delete your data, simply email us at support@biomes.world and we'll remove your account (and any test results linked to it) from our system. Afterwards, you won't be able to retrieve your results again ' e.g. if you want to do another intestinal flora analysis and compare the res"
159
+
160
+ utter_29:
161
+ - text: "Enter the voucher code you received in the designated field during the order process in the shopping basket. Depending on the voucher, the corresponding amount will be deducted from the total amount."
162
+
163
+ utter_30:
164
+ - text: "We'll be happy to send you an invoice with your desired products and our account details. Feel free to send us an email at support@biomes.world and we'll manually trigger your order. We'll then send you the invoice by email or, if you wish, by"
165
+
166
+ utter_31:
167
+ - text: "The payment options are PayPal, credit card, SEPA direct debit, giropay and eps online bank transfer (the latter is only possible from Austria)."
168
+
169
+ utter_32:
170
+ - text: "You can cancel your contract within 14 days without stating any reason. The withdrawal period is 14 days from the day on which you have, or a third party named by you has ' who is not the carrier ' taken possession of the goods. To exercise your right of withdrawal, please send us an email at support@biomes.world with a clear statement of your decision to withdraw from this contr"
171
+
172
+ utter_33:
173
+ - text: "If you cancel the contract, we'll refund all the amounts we have received from you, including the delivery costs (with the exception of any additional costs resulting from the fact that you have chosen a type of delivery other than the cheapest standard delivery offered by us), without delay and at the latest within 14 days from the day on which we received the notification of your withdrawal from this contract. In order to refund you, we'll use the same means of payment that you used for the original transaction, unless expressly agreed otherwise; in no case will you be charged for this reimbursement. If you have any questions, please contact us at support@biomes.wo"
174
+
175
+ utter_34:
176
+ - text: "No, shipping is included in the price. We have an agreement with DHL, which also guarantees us the return shipment of a sample within Germany. We also ship the kit outside of Germany with UPS, which will incur additional shipping costs. You can view these costs during the order process in our online shop. In this case, returning a sample to our laboratory is also free of charge, provided that it is carried out in accordance with the options specified."
177
+
178
+ utter_35:
179
+ - text: "The INTEST.pro test kit is shipped abroad and the sample is returned to the BIOMES laboratory in Germany via UPS. Additional shipping costs apply for deliveries abroad, the amount of which may vary from country to country. You can see which countries are delivered to from the list found in the order process in our online shop when it comes to the delivery address.
180
+ In your kit, you will find all the utensils needed for return shipment. In order to be able to view the information and, in due course, the assessment of your sample, it is necessary to activate the sample. During this process, you can also choose from two return shipping options. Print the label and drop off your package at the nearest UPS Access Point or simply arrange for a UPS representative to pick it up. Feel free to use the instructions from your test kit. If you have any questions, please contact support@biomes.world."
181
+
182
+ utter_36:
183
+ - text: "Please go to the newsletter registration page: https://biomes.world/de/newsletter-anmeldung and fill in all the necessary fields.
184
+ A link will be sent to your email address, which you must open to confirm your newsletter subscription. Go to your email inbox, open this email and click on the confirmation link inside. As long as the link has not been clicked on, we are not allowed to send you a newsletter! If you have completed all the steps and are one of our newsletter subscribers, you'll not only receive the latest information on BIOMES and the world of the microbiome, but also a voucher code that will discount the order value of a BIOMES product of your choice by EUR 5.00"
185
+
186
+ utter_37:
187
+ - text: "If you have any further questions, please do not hesitate to contact us. We're on hand to help Monday to Friday from 10 am to 5 pm by phone at + 49 (0) 3375 585 62 40 or by email at support@biomes.worl"
188
+
189
+
190
+ session_config:
191
+ session_expiration_time: 60
192
+ carry_over_slots_to_new_session: True
endpoints.yml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file contains the different endpoints your bot can use.
2
+
3
+ # Server where the models are pulled from.
4
+ # https://rasa.com/docs/rasa/model-storage#fetching-models-from-a-server
5
+
6
+ #models:
7
+ # url: http://my-server.com/models/default_core@latest
8
+ # wait_time_between_pulls: 10 # [optional](default: 100)
9
+
10
+ # Server which runs your custom actions.
11
+ # https://rasa.com/docs/rasa/custom-actions
12
+
13
+ #action_endpoint:
14
+ # url: "http://localhost:5055/webhook"
15
+
16
+ # Tracker store which is used to store the conversations.
17
+ # By default the conversations are stored in memory.
18
+ # https://rasa.com/docs/rasa/tracker-stores
19
+
20
+ #tracker_store:
21
+ # type: redis
22
+ # url: <host of the redis instance, e.g. localhost>
23
+ # port: <port of your redis instance, usually 6379>
24
+ # db: <number of your database within redis, e.g. 0>
25
+ # password: <password used for authentication>
26
+ # use_ssl: <whether or not the communication is encrypted, default false>
27
+
28
+ #tracker_store:
29
+ # type: mongod
30
+ # url: <url to your mongo instance, e.g. mongodb://localhost:27017>
31
+ # db: <name of the db within your mongo instance, e.g. rasa>
32
+ # username: <username used for authentication>
33
+ # password: <password used for authentication>
34
+
35
+ # Event broker which all conversation events should be streamed to.
36
+ # https://rasa.com/docs/rasa/event-brokers
37
+
38
+ #event_broker:
39
+ # url: localhost
40
+ # username: username
41
+ # password: password
42
+ # queue: queue
models/bio.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a520cd682ca39b75b8caef049a1fdfaffacf70b79dd5088ae2f9f10bf46fe1f5
3
+ size 28758798
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ rasa