version: "2.0" intents: - greet - goodbye - affirm - deny - mood_great - mood_unhappy - bot_challenge - tell_name - my_name: use_entities: - name - mygender: use_entities: - gender - myage: use_entities: - age - inform entities: - name - gender - age - absent - suicide - depression - guilt - insomnia_middle_night - insomnia_early_night slots: name: type: text gender: type: text age: type: text suicide: type: any influence_conversation: false depression: type: any influence_conversation: false guilt: type: any influence_conversation: false insomnia_early_night: type: any influence_conversation: false insomnia_middle_night: type: any influence_conversation: false responses: utter_greet: - text: "Hey! How are you?" utter_name: - text: My name is Innovate Yourself. utter_ask_name: - text: "What is your name?" utter_ask_number: - text: "What is number?" utter_cheer_up: - text: "Here is something to cheer you up:" image: "https://i.imgur.com/nGF1K8f.jpg" utter_did_that_help: - text: "Did that help you?" utter_happy: - text: "Great, carry on!" utter_goodbye: - text: "Bye" utter_iamabot: - text: "I am a bot, powered by Rasa." utter_details_thanks: - text: "Thanks for providing the given details \nName: {Name}\n and you are {Gender}\n You are {Age} old \n and you are having {suicide}\n{depression}\n{guilt}\n{Insomniya_night}\n{Insomniya_early} symptoms.\nLet me get back to you with some suggestions." utter_ask_gender: - text: "What is your gender?" utter_ask_age: - text: "What is your age?" utter_ask_suicide: - text: "Please select one of the following option, That will help me to understand thoughts of SUICIDE\n 0. Absent.\n 1. Feels life is not worth living.\n 2. Wishes he/she were dead or any thoughts of possible death to self.\n 3. Ideas or gestures of suicide.\n 4. Attempts at suicide (any serious attempt rate 4)." utter_ask_depression: - text: "Please select one of the following option, That will help me to understand your mood in terms of sadness \t hopeless\t helpless\t worthless.\n 0. Absent.\n 1. These feeling states indicated only on questioning.\n 2. These feeling states spontaneously reported verbally.\n 3. Communicates feeling states non-verbally, i.e. through facial expression, posture, voice and tendency to weep.\n 4. Patient reports virtually only these feeling states in his/her spontaneous verbal and non-verbal communication." utter_ask_guilt: - text: "Please select one of the following option, That will help me to understand your FEELINGS OF GUILT.\n 0. Absent.\n 1. Self reproach, feels he/she has let people down.\n 2. Ideas of guilt\n 3. Present illness is a punishment. Delusions of guilt.\n 4. Hears accusatory or denunciatory voices and/or experiences threatening visual hallucinations." utter_ask_insomnia_early_night: - text: "Please select one of the following option, That will help me to understand INSOMNIA middle of night\n 0. No difficulty falling asleep.\n 1. Complains of occasional difficulty falling asleep, i.e.more than 1⁄2 hour.\n 2. Complains of nightly difficulty falling asleep" utter_ask_insomnia_middle_night: - text: "More about insomnia early night\n 0. No problem.\n 1. Patient complains of being restless and disturbed during the night.\n 2. Waking during the night – any getting out of bed rates 2 (except for purposes of voiding)." actions: - action_submit - action_submit_score forms: user_details_form: name: - type: from_entity entity: name gender: - type: from_entity entity: gender age: - type: from_entity entity: age depression: - type: from_entity entity: depression suicide: - type: from_entity entity: suicide guilt: - type: from_entity entity: guilt insomnia_middle_night: - type: from_entity entity: insomnia_middle_night insomnia_early_night: - type: from_entity entity: insomnia_early_night session_config: session_expiration_time: 60 carry_over_slots_to_new_session: true