version: “2.0”
entities:
- name
- phnumber
- state
- symp1
- symp10
- symp11
- symp12
- symp13
- symp2
- symp3
- symp4
- symp5
- symp6
- symp7
- symp8
- symp9
- zipcode
intents:
- email_entry
- zipcode_entry
- name_entry_old
- affirm
- greet_started
- phnumber_entry
- name_entry
- symptom
- symp9
- greet
- symp4
- symp5
- symp8
- corona_state
- symp6
- symp7
- symp13
- symp3
- symp12
- symp1
- symp11
- symp2
- symp10
- statewise
- essential
- deny
- goodbye responses: utter_ask_email:
- text: What is your email ID? utter_ask_name:
- text: Hey! What can I call you? utter_ask_name_old:
- text: Could you remind me your name? utter_ask_phnumber:
- text: What is your phone number(preferably whatsapp number)? utter_ask_state:
- text: Which state’s stats would you like to know? utter_ask_symptom1:
- buttons:
- payload: /symp1{“symp1”:“Yes”} title: Yes
- payload: /symp1{“symp1”:“No”} title: No text: Are you facing any difficulty in breathing or shortness of breath? utter_ask_symptom10:
- buttons:
- payload: /symp10{“symp10”:“Yes”} title: Yes
- payload: /symp10{“symp10”:“No”} title: No text: Do you have conjunctivitis? utter_ask_symptom11:
- buttons:
- payload: /symp11{“symp11”:“Yes”} title: Yes
- payload: /symp11{“symp11”:“No”} title: No text: Are you having any headaches? utter_ask_symptom12:
- buttons:
- payload: /symp12{“symp12”:“Yes”} title: Yes
- payload: /symp12{“symp12”:“No”} title: No text: Do you face the loss of taste or smell? utter_ask_symptom13:
- buttons:
- payload: /symp13{“symp13”:“Yes”} title: Yes
- payload: /symp13{“symp13”:“No”} title: No text: Do you have a rash on skin, or discolouration of fingers or toes? utter_ask_symptom2:
- buttons:
- payload: /symp2{“symp2”:“Yes”} title: Yes
- payload: /symp2{“symp2”:“No”} title: No text: Do you have chest pain or pressure? utter_ask_symptom3:
- buttons:
- payload: /symp3{“symp3”:“Yes”} title: Yes
- payload: /symp3{“symp3”:“No”} title: No text: Do you suffer from loss of speech or movement? utter_ask_symptom4:
- buttons:
- payload: /symp4{“symp4”:“Yes”} title: Yes
- payload: /symp4{“symp4”:“No”} title: No text: Do you have a fever? utter_ask_symptom5:
- buttons:
- payload: /symp5{“symp5”:“Yes”} title: Yes
- payload: /symp5{“symp5”:“No”} title: No text: Do you have a dry cough? utter_ask_symptom6:
- buttons:
- payload: /symp6{“symp6”:“Yes”} title: Yes
- payload: /symp6{“symp6”:“No”} title: No text: Are you feeling tired? utter_ask_symptom7:
- buttons:
- payload: /symp7{“symp7”:“Yes”} title: Yes
- payload: /symp7{“symp7”:“No”} title: No text: Do you have any aches and pains? utter_ask_symptom8:
- buttons:
- payload: /symp8{“symp8”:“Yes”} title: Yes
- payload: /symp8{“symp8”:“No”} title: No text: Do you have a sore throat? utter_ask_symptom9:
- buttons:
- payload: /symp9{“symp9”:“Yes”} title: Yes
- payload: /symp9{“symp9”:“No”} title: No text: Do you have diarrhoea? utter_ask_zipcode:
- text: What is your pincode? utter_firsttime:
- buttons:
- payload: /affirm title: Yes
- payload: /deny title: No text: Is this the first time you’re using this chatbot? utter_goodbye:
- text: Bye utter_greet:
- buttons:
- payload: /symptom title: Symptom checker
- payload: /statewise title: Statewise stats
- payload: /essential title: Essential services text: Hey! How can I help you? utter_greet_old:
- buttons:
- payload: /symptom title: Symptom checker
- payload: /statewise title: Statewise stats
- payload: /essential title: Essential services text: null utter_slot_values:
- buttons:
- payload: /affirm title: Yes
- payload: /deny
title: No
text: “Can you confirm that these are your details?\n - name: {name}\n - email:
\ {email}\n - phnumber: {phnumber}\n - pincode: {zipcode}\n” utter_submit:
- text: All done!
slots: email: type: unfeaturized name: type: unfeaturized phnumber: type: unfeaturized requested_slot: type: unfeaturized state: type: unfeaturized symp1: type: categorical values: - yes - no - other symp10: type: categorical values: - yes - no - other symp11: type: categorical values: - yes - no - other symp12: type: categorical values: - yes - no - other symp13: type: categorical values: - yes - no - other symp2: type: categorical values: - yes - no - other symp3: type: categorical values: - yes - no - other symp4: type: categorical values: - yes - no - other symp5: type: categorical values: - yes - no - other symp6: type: categorical values: - yes - no - other symp7: type: categorical values: - yes - no - other symp8: type: categorical values: - yes - no - other symp9: type: categorical values: - yes - no - other zipcode: type: unfeaturized
session_config: carry_over_slots_to_new_session: true session_expiration_time: 60
actions:
- action_corona_tracker
- action_fetch
- action_submit
- action_symp_analysis
- action_symp_update
- utter_ask_email
- utter_ask_name
- utter_ask_name_old
- utter_ask_phnumber
- utter_ask_state
- utter_ask_symptom1
- utter_ask_symptom10
- utter_ask_symptom11
- utter_ask_symptom12
- utter_ask_symptom13
- utter_ask_symptom2
- utter_ask_symptom3
- utter_ask_symptom4
- utter_ask_symptom5
- utter_ask_symptom6
- utter_ask_symptom7
- utter_ask_symptom8
- utter_ask_symptom9
- utter_firsttime
- utter_goodbye
- utter_greet
- utter_greet_old
- utter_slot_values
- utter_submit
forms: details_form: name_entry: - type: from_intent intent: name email_entry: - type: from_entity intent: email phnumber_entry: - type: from_entity intent: phnumber zipcode_entry: - type: from_entity intent: zipcode