-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
366 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
version: "2.0" | ||
|
||
nlu: | ||
- intent: greet | ||
examples: | | ||
- hey | ||
- hello | ||
- hi | ||
- hello there | ||
- good morning | ||
- good evening | ||
- hey there | ||
- let's go | ||
- hey dude | ||
- goodmorning | ||
- goodevening | ||
- good afternoon | ||
- intent: goodbye | ||
examples: | | ||
- good bye | ||
- bye | ||
- see you | ||
- good night | ||
- goodbye | ||
- have a nice day | ||
- exit | ||
- intent: affirm | ||
examples: | | ||
- yes | ||
- s | ||
- ok | ||
- okay | ||
- indeed | ||
- of course | ||
- yaa | ||
- yeah | ||
- y | ||
- correct | ||
- intent: deny | ||
examples: | | ||
- no | ||
- never | ||
- n | ||
- I don't think so | ||
- don't like that | ||
- no way | ||
- not really | ||
- nope | ||
- intent: day | ||
examples: | | ||
- less than 24 hours | ||
- more than 24 hours | ||
- less | ||
- more | ||
- l | ||
- m | ||
- intent: head_symptom | ||
examples: | | ||
- headache | ||
- pain in head | ||
- head ache | ||
- head | ||
- h | ||
- intent: head_whole | ||
examples: | | ||
- whole | ||
- w | ||
- hole | ||
- intent: head_sides | ||
examples: | | ||
- sides | ||
- side | ||
- s | ||
- intent: head_crown | ||
examples: | | ||
- crown | ||
- crowns | ||
- c | ||
- intent: head_eyes | ||
examples: | | ||
- eyes | ||
- eye | ||
- e | ||
- intent: flu_symptom | ||
examples: | | ||
- flu | ||
- cough | ||
- cold | ||
- fever | ||
- f | ||
- runny rose | ||
- vomitting | ||
- body ache | ||
- intent: vision_symptom | ||
examples: | | ||
- vision | ||
- v | ||
- intent: stomach_symptom | ||
examples: | | ||
- stomachache | ||
- pain in stomach | ||
- stomach ache | ||
- stomach | ||
- intent: bot_challenge | ||
examples: | | ||
- are you a bot? | ||
- are you a human? | ||
- am I talking to a bot? | ||
- am I talking to a human? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: "2.0" | ||
|
||
rules: | ||
|
||
- rule: Say goodbye anytime the user says goodbye | ||
steps: | ||
- intent: goodbye | ||
- action: utter_goodbye | ||
|
||
- rule: Say 'I am a bot' anytime the user challenges | ||
steps: | ||
- intent: bot_challenge | ||
- action: utter_iamabot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,189 @@ | ||
version: "2.0" | ||
|
||
stories: | ||
|
||
- story: user greet | ||
steps: | ||
- intent: greet | ||
- action: utter_greet | ||
|
||
- story: user bye | ||
steps: | ||
- action: utter_goodbye | ||
|
||
- story: head main | ||
steps: | ||
- intent: head_symptom | ||
- action: utter_day | ||
- intent: day | ||
- action: utter_head_stomach_symptom | ||
|
||
- story: head stomach ache | ||
steps: | ||
- action: utter_head_stomach_symptom | ||
- intent: affirm | ||
- action: utter_head_stomach_response | ||
- action: utter_did_that_help | ||
|
||
- story: headache area | ||
steps: | ||
- action: utter_head_stomach_symptom | ||
- intent: deny | ||
- action: utter_head_symptom | ||
|
||
- story: headache whole | ||
steps: | ||
- intent: head_whole | ||
- action: utter_head_whole_response | ||
- action: utter_did_that_help | ||
|
||
- story: headache side | ||
steps: | ||
- intent: head_sides | ||
- action: utter_head_sides_response | ||
- action: utter_did_that_help | ||
|
||
- story: headache crown | ||
steps: | ||
- intent: head_crown | ||
- action: utter_head_crown_response | ||
- action: utter_did_that_help | ||
|
||
- story: headache eyes | ||
steps: | ||
- intent: head_eyes | ||
- action: utter_head_eyes_response | ||
- action: utter_did_that_help | ||
|
||
- story: flu | ||
steps: | ||
- intent: flu_symptom | ||
- action: utter_day | ||
- intent: day | ||
- action: utter_flu_response | ||
- action: utter_did_that_help | ||
|
||
- story: dry vision | ||
steps: | ||
- intent: vision_symptom | ||
- action: utter_day | ||
- intent: day | ||
- action: utter_vision_types | ||
- intent: affirm | ||
- action: utter_dry_eyes_response | ||
- action: utter_did_that_help | ||
|
||
- story: allergy vision | ||
steps: | ||
- intent: vision_symptom | ||
- action: utter_day | ||
- intent: day | ||
- action: utter_vision_types | ||
- intent: deny | ||
- action: utter_allergy_eyes_response | ||
- action: utter_did_that_help | ||
|
||
- story: gas stomach | ||
steps: | ||
- intent: stomach_symptom | ||
- action: utter_day | ||
- intent: day | ||
- action: utter_stomach_types | ||
- intent: affirm | ||
- action: utter_gas_response | ||
- action: utter_did_that_help | ||
|
||
- story: poison stomach | ||
steps: | ||
- intent: stomach_symptom | ||
- action: utter_day | ||
- intent: day | ||
- action: utter_stomach_types | ||
- intent: deny | ||
- action: utter_poison_response | ||
- action: utter_did_that_help | ||
|
||
- story: back pain | ||
steps: | ||
- intent: back_pain_symptom | ||
- action: utter_back_pain_response | ||
|
||
|
||
- story: fever | ||
steps: | ||
- intent: fever_symptom | ||
- action: utter_fever_response | ||
|
||
- story: cough | ||
steps: | ||
- intent: cough_symptom | ||
- action: utter_cough_response | ||
|
||
- story: sore throat | ||
steps: | ||
- intent: sore_throat_symptom | ||
- action: utter_sore_throat_response | ||
|
||
- story: fatigue | ||
steps: | ||
- intent: fatigue_symptom | ||
- action: utter_fatigue_response | ||
|
||
- story: skin rash | ||
steps: | ||
- intent: skin_rash_symptom | ||
- action: utter_skin_rash_response | ||
- story: anxiety | ||
steps: | ||
- intent: anxiety_symptom | ||
- action: utter_anxiety_response | ||
|
||
- story: depression | ||
steps: | ||
- intent: depression_symptom | ||
- action: utter_depression_response | ||
|
||
- story: allergies | ||
steps: | ||
- intent: allergy_symptom | ||
- action: utter_allergy_response | ||
|
||
- story: hypertension | ||
steps: | ||
- intent: hypertension_symptom | ||
- action: utter_hypertension_response | ||
|
||
- story: joint pain | ||
steps: | ||
- intent: joint_pain_symptom | ||
- action: utter_joint_pain_response | ||
|
||
- story: insomnia | ||
steps: | ||
- intent: insomnia_symptom | ||
- action: utter_insomnia_response | ||
|
||
- story: shortness of breath | ||
steps: | ||
- intent: shortness_of_breath_symptom | ||
- action: utter_shortness_of_breath_response | ||
|
||
- story: nausea | ||
steps: | ||
- intent: nausea_symptom | ||
- action: utter_nausea_response | ||
|
||
- story: diarrhea | ||
steps: | ||
- intent: diarrhea_symptom | ||
- action: utter_diarrhea_response | ||
|
||
- story: migraine | ||
steps: | ||
- intent: migraine_symptom | ||
- action: utter_migraine_response | ||
|
||
- story: hearing loss | ||
steps: | ||
- intent: hearing_loss_symptom | ||
- action: utter_hearing_loss_response |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# This file contains the different endpoints your bot can use. | ||
|
||
# Server where the models are pulled from. | ||
# https://rasa.com/docs/rasa/model-storage#fetching-models-from-a-server | ||
|
||
#models: | ||
# url: http://my-server.com/models/default_core@latest | ||
# wait_time_between_pulls: 10 # [optional](default: 100) | ||
|
||
# Server which runs your custom actions. | ||
# https://rasa.com/docs/rasa/custom-actions | ||
|
||
action_endpoint: | ||
url: "http://localhost:5055/webhook" | ||
# Tracker store which is used to store the conversations. | ||
# By default the conversations are stored in memory. | ||
# https://rasa.com/docs/rasa/tracker-stores | ||
|
||
#tracker_store: | ||
# type: redis | ||
# url: <host of the redis instance, e.g. localhost> | ||
# port: <port of your redis instance, usually 6379> | ||
# db: <number of your database within redis, e.g. 0> | ||
# password: <password used for authentication> | ||
# use_ssl: <whether or not the communication is encrypted, default false> | ||
|
||
#tracker_store: | ||
# type: mongod | ||
# url: <url to your mongo instance, e.g. mongodb://localhost:27017> | ||
# db: <name of the db within your mongo instance, e.g. rasa> | ||
# username: <username used for authentication> | ||
# password: <password used for authentication> | ||
|
||
# Event broker which all conversation events should be streamed to. | ||
# https://rasa.com/docs/rasa/event-brokers | ||
|
||
#event_broker: | ||
# url: localhost | ||
# username: username | ||
# password: password | ||
# queue: queue | ||
|
||
#action_endpoint: | ||
#url: 'http://localhost:5005/webhook' |