version: "3.1" intents: - strict_flow - free_flow - chat - goodbye - affirm - deny - provide_phone responses: # utter_form_filling: # - text: "Form filled" utter_strict_flow: - text: "Strict flow enabled" utter_ask_data: - text: "Enter details" utter_ask_first_name: - text: "What is your first name ?" utter_ask_middle_name: - text: "What is your middle name ?" utter_ask_last_name: - text: "What is your last name ?" utter_ask_email: - text: "What is your email ?" utter_ask_us_number: - text: "Do you have the U.S. Phone Number ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_phone: - text: "Provide me your phone number" utter_ask_confirm_location: - text: "Just to confirm: do you live at this address ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_confirm_mail_address: - text: "Would you like to receive mail related to this application at this address ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_preferred_language: - text: "Is your preferred language for reading, writing, and speaking English ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_able_to_read_write: - text: "Are you able to read and write more than your name ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_born_in_us: - text: "Were you born in the U.S. or a U.S. territory ? U.S. territories include American Samoa, Guam, Northern Mariana Islands, Puerto Rico, and U.S. Virgin Islands. ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_become_citizen_us: - text: "Are you actively going through the process of becoming a U.S. citizen ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_legal_resident_us: - text: "Are you a legal resident of the U.S. ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_permanent_resident_number: - text: "What's your Permanent Resident Card Number ? (Optional)" utter_ask_serve_military: - text: "Did you serve or are you serving in the U.S. military ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_military_benefit: - text: "Are you receiving or eligible to receive a military or civilian federal agency benefit?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_medicare_benefit: - text: "Are you currently receiving Medicare benefits ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_social_security_benefit: - text: "Are you currently receiving Social Security benefits ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_supplemental_security_income: - text: "Are you currently receiving Supplemental Security Income (SSI) ?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_current_spouse_first_name: - text: "What is your current spouse first name ?" utter_ask_current_spouse_last_name: - text: "What is your current spouse last name ?" utter_ask_current_spouse_social_security_number: - text: "What is your current spouse social security number ?" utter_ask_prior_marriages: - text: "Do you have any prior marriages?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_prior_marriages_duration: - text: "Did any of your prior marriages last 10 years or more?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_prior_marriages_death: - text: "Did any of your prior marriages end due to your spouse's death?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_have_children: - text: "Do you have any children?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_parent_support: - text: "Do you have a parent who receives one-half support from you?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_used_other_names: - text: "Have you used any other names? Examples may include maiden name(s) or past name adjustments." buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_ssn: - text: "Please enter these social security numbers (SSN)" utter_ask_used_other_ssn: - text: "Have you used any other social security number (SSN)?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_bank_account_for_deposit: - text: "Do you have a bank account that you can use to receive direct deposit payments?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_routing_number: - text: "Routing Number" utter_ask_account_number: - text: "Account Number" utter_ask_able_to_work: - text: "Are you currently able to work regardless of your illness, injury, or conditions?" buttons: - title: "Yes" payload: "/affirm" - title: "No" payload: "/deny" utter_ask_perform_usual_job_responsibilities: - text: "Are you able to perform your usual job responsibilities?" buttons: - title: "Yes" payload: "/affirm" - title: "No" payload: "/deny" utter_ask_condition_last_14_months: - text: "Is the illness, injury, or condition expected to last more than 14 months?" buttons: - title: "Yes" payload: "/affirm" - title: "No" payload: "/deny" utter_ask_condition_end_in_death: - text: "Has a medical professional described any of your specific conditions as one that's expected to end in death?" buttons: - title: "Yes" payload: "/affirm" - title: "No" payload: "/deny" utter_ask_condition_require_work_changes: - text: "Did your condition, injury, or illness require changes to your work activity while you were working?" buttons: - title: "Yes" payload: "/affirm" - title: "No" payload: "/deny" utter_ask_earned_more_than_1470_in_2024: - text: "Have you made more than $1470 during any month in 2024 since the date(s) you provided above?" buttons: - title: "Yes" payload: "/affirm" - title: "No" payload: "/deny" utter_ask_intend_to_work_in_2024: - text: "Do you intend to work in 2024?" buttons: - title: "Yes" payload: "/affirm" - title: "No" payload: "/deny" utter_ask_received_money_from_employer: - text: "Have you received money from your employer on or after the date that you became unable to work?" buttons: - title: "Yes" payload: "/affirm" - title: "No" payload: "/deny" utter_ask_expect_to_receive_money_from_employer: - text: "Do you expect to receive any money from your employer in the future?" buttons: - title: "Yes" payload: "/affirm" - title: "No" payload: "/deny" utter_ask_school_name: - text: "What is your school name ?" utter_ask_school_city: - text: "What is your school city ?" utter_ask_school_state: - text: "What is your school state ?" utter_ask_school_country: - text: "What is your school country ?" utter_ask_special_education: - text: "Have you ever received special education through an individualized education plan (IEP) or similar program?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_specialized_job_training: - text: "Have you completed any type of specialized job training, including trade or vocational school?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_company_name: - text: "What is your company name ?" utter_ask_business_type: - text: "Type of Business" utter_ask_end_date_last_worked: - text: "Is this end date the last day that you physically worked for this company?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_job_title: - text: "What is your job title" utter_ask_pay_amount: - text: "Pay Amount Per Pay Period (US dollars):" utter_ask_lifting_ability: - text: "What about lifting?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_supervised_others: - text: "Did you supervise other people?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_cared_for_children: - text: "Have you cared for children under the age of three (3) full-time?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_self_employed_last_15_years: - text: "Have you been self-employed in the last 15 years?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_self_employed_2023: - text: "Were you self-employed during 2023?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_profit_self_employed_2023: - text: "Did you profit more than $400 from the self-employed job in 2023?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_self_employed_2024: - text: "Were you self-employed during 2024?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_profit_self_employed_2024: - text: "Did you profit more than $400 from the self-employed job in 2024?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_worked_outside_us: - text: "Have you ever worked outside of the U.S.?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_worked_outside_us_2024: - text: "Did you work outside of the U.S. for salary, wages, or self-employment in 2024?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_illness_expected_duration: - text: "Is the illness, injury, or condition expected to last more than 14 months?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_worked_outside_2023: - text: "Did you work outside of the U.S. for salary, wages, or self-employment during 2023?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_earnings_subject_us_social_security: - text: "Were all earnings subject to U.S. social security tax during 2023?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_eligible_foreign_social_security: - text: "Are you eligible for benefits under a foreign social security system?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_special_payments: - text: "Do any of the total earnings include special payments paid during one year but earned in another?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_no_social_security_taxes: - text: "Have you ever worked a job in which U.S. social security taxes were not deducted or withheld?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_spouse_receiving_pension: - text: "Are you or your spouse receiving a pension or annuity based on this work for which taxes were not deducted or withheld?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_future_pension_annuity: - text: "Do you expect to receive a pension or annuity in the future for this work, for which taxes were not deducted or withheld?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_government_pension_or_annuity: - text: "Is the pension or annuity based on government employment?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_lump_sum_payment: - text: "Did you receive a lump sum payment of any kind instead of a pension or annuity for this work for which taxes were not deducted or withheld?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_vision_impairment: - text: "Do you have 20/200 or less vision?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_impaired_vision_with_glasses_contacts: - text: "Do you still experience impaired vision even with glasses or contacts?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_partial_or_total_deafness: - text: "Are you partially or totally deaf?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_use_hearing_aids: - text: "Please share if you use any hearing aids?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_history_of_seizures: - text: "Next help us understand if you experience any seizure-related symptoms due to your illness, injury, or condition. Do you or have you previously experienced seizures?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_mental_illness_treatment: - text: "Have you seen a doctor or been treated for any mental illnesses, injuries, or conditions since you've been unable to work?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_physical_illness_treatment: - text: "Have you seen at least one doctor or been treated for any physical illnesses, injuries, or conditions since you've been unable to work?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_emergency_room_visit: - text: "Have you seen a medical professional or been to a medical facility for an emergency room visit?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_medical_tests_or_medications: - text: "Have you seen a medical professional or been to a medical facility for any medical tests or medications ordered by this facility?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_mental_health_treatment: - text: "Have you seen a medical professional or been to a medical facility for any mental health treatment or evaluations?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_inpatient_stays: - text: "Have you seen a medical professional or been to a medical facility for any inpatient or overnight stays?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_outpatient_visits: - text: "Have you seen a medical professional or been to a medical facility for any outpatient or same-day visits?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_had_surgeries: - text: "Have you seen a medical professional or been to a medical facility for any surgeries?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_had_physical_therapy: - text: "Have you seen a medical professional or been to a medical facility for any physical therapy?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_medical_records: - text: "Please tell us if any of the following organizations may have your medical records due to past evaluations or treatment related to your illnesses, injuries, or conditions?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_doctor_in_prison: - text: "Doctors in prison or jail?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_public_welfare: - text: "Public welfare?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_attorney_records: - text: "Records held by an attorney/lawyer?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_disability_insurance: - text: "Short-term or long-term disability insurance (Excluding private health insurance)?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_vocational_rehab: - text: "Vocational rehabilitation service?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_workers_compensation: - text: "Worker's compensation?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_other_records: - text: "Other records, please explain (Excluding private health insurance)?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_medical_tests_completed: - text: "Have you had any medical tests completed related to your illnesses, injuries, or conditions?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_ask_taking_medications: - text: "Are you taking any medications (i.e. prescribed or over-the-counter) for your illnesses, injuries, or conditions?" buttons: - title: yes payload: "/affirm" - title: no payload: "/deny" utter_goodbye: - text: Bye # session_config: # session_expiration_time: 60 # carry_over_slots_to_new_session: true actions: - action_chat - action_free_flow - action_submit_form slots: data: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: form_rasa requested_slot: data first_name: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: first_name middle_name: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: middle_name last_name: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: last_name email: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: email us_number: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: us_number - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: us_number phone: type: text influence_conversation: true mappings: - type: from_entity entity: phone conditions: - active_loop: basic_form requested_slot: phone confirm_location: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: confirm_location - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: confirm_location confirm_mail_address: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: confirm_mail_address - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: confirm_mail_address preferred_language: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: preferred_language - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: preferred_language able_to_read_write: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: able_to_read_write - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: able_to_read_write born_in_us: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: born_in_us - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: born_in_us become_citizen_us: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: become_citizen_us - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: become_citizen_us legal_resident_us: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: legal_resident_us - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: legal_resident_us permanent_resident_number: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: permanent_resident_number - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: permanent_resident_number serve_military: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: serve_military - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: serve_military military_benefit: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: military_benefit - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: military_benefit medicare_benefit: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: medicare_benefit - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: medicare_benefit social_security_benefit: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: social_security_benefit - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: social_security_benefit supplemental_security_income: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: supplemental_security_income - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: supplemental_security_income current_spouse_first_name: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: current_spouse_first_name current_spouse_last_name: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: current_spouse_last_name current_spouse_social_security_number: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: current_spouse_social_security_number prior_marriages: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: prior_marriages - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: prior_marriages prior_marriages_duration: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: prior_marriages_duration - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: prior_marriages_duration prior_marriages_death: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: prior_marriages_death - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: prior_marriages_death have_children: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: have_children - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: have_children parent_support: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: parent_support - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: parent_support used_other_names: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: used_other_names - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: used_other_names ssn: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: ssn used_other_ssn: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: used_other_ssn - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: used_other_ssn routing_number: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: routing_number account_number: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: account_number bank_account_for_deposit: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: bank_account_for_deposit - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: bank_account_for_deposit able_to_work: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: able_to_work - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: able_to_work perform_usual_job_responsibilities: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: perform_usual_job_responsibilities - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: perform_usual_job_responsibilities condition_last_14_months: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: condition_last_14_months - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: condition_last_14_months condition_end_in_death: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: condition_end_in_death - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: condition_end_in_death condition_require_work_changes: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: condition_require_work_changes - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: condition_require_work_changes earned_more_than_1470_in_2024: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: earned_more_than_1470_in_2024 - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: earned_more_than_1470_in_2024 intend_to_work_in_2024: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: intend_to_work_in_2024 - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: intend_to_work_in_2024 received_money_from_employer: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: received_money_from_employer - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: received_money_from_employer expect_to_receive_money_from_employer: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: expect_to_receive_money_from_employer - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: expect_to_receive_money_from_employer school_name: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: school_name school_city: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: school_city school_state: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: school_state school_country: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: school_country special_education: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: special_education - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: special_education specialized_job_training: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: specialized_job_training - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: specialized_job_training company_name: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: company_name business_type: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: business_type end_date_last_worked: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: end_date_last_worked - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: end_date_last_worked job_title: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: job_title pay_amount: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: basic_form requested_slot: pay_amount lifting_ability: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: lifting_ability - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: lifting_ability supervised_others: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: supervised_others - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: supervised_others cared_for_children: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: cared_for_children - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: cared_for_children self_employed_last_15_years: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: self_employed_last_15_years - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: self_employed_last_15_years self_employed_2023: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: self_employed_2023 - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: self_employed_2023 profit_self_employed_2023: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: profit_self_employed_2023 - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: profit_self_employed_2023 self_employed_2024: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: self_employed_2024 - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: self_employed_2024 profit_self_employed_2024: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: profit_self_employed_2024 - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: profit_self_employed_2024 worked_outside_us: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: worked_outside_us - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: worked_outside_us worked_outside_us_2024: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: worked_outside_us_2024 - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: worked_outside_us_2024 illness_expected_duration: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: illness_expected_duration - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: illness_expected_duration worked_outside_2023: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: worked_outside_2023 - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: worked_outside_2023 earnings_subject_us_social_security: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: earnings_subject_us_social_security - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: earnings_subject_us_social_security eligible_foreign_social_security: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: eligible_foreign_social_security - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: eligible_foreign_social_security special_payments: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: special_payments - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: special_payments no_social_security_taxes: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: no_social_security_taxes - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: no_social_security_taxes spouse_receiving_pension: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: spouse_receiving_pension - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: spouse_receiving_pension future_pension_annuity: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: future_pension_annuity - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: future_pension_annuity government_pension_or_annuity: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: government_pension_or_annuity - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: government_pension_or_annuity lump_sum_payment: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: lump_sum_payment - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: lump_sum_payment vision_impairment: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: vision_impairment - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: vision_impairment impaired_vision_with_glasses_contacts: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: impaired_vision_with_glasses_contacts - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: impaired_vision_with_glasses_contacts partial_or_total_deafness: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: partial_or_total_deafness - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: partial_or_total_deafness use_hearing_aids: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: use_hearing_aids - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: use_hearing_aids history_of_seizures: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: history_of_seizures - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: history_of_seizures mental_illness_treatment: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: mental_illness_treatment - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: mental_illness_treatment physical_illness_treatment: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: physical_illness_treatment - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: physical_illness_treatment emergency_room_visit: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: emergency_room_visit - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: emergency_room_visit medical_tests_or_medications: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: medical_tests_or_medications - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: medical_tests_or_medications mental_health_treatment: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: mental_health_treatment - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: mental_health_treatment inpatient_stays: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: inpatient_stays - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: inpatient_stays outpatient_visits: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: outpatient_visits - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: outpatient_visits had_surgeries: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: had_surgeries - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: had_surgeries had_physical_therapy: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: had_physical_therapy - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: had_physical_therapy medical_records: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: medical_records - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: medical_records doctor_in_prison: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: doctor_in_prison - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: doctor_in_prison public_welfare: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: public_welfare - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: public_welfare attorney_records: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: attorney_records - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: attorney_records disability_insurance: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: disability_insurance - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: disability_insurance vocational_rehab: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: vocational_rehab - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: vocational_rehab workers_compensation: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: workers_compensation - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: workers_compensation other_records: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: other_records - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: other_records medical_tests_completed: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: medical_tests_completed - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: medical_tests_completed taking_medications: type: bool influence_conversation: true mappings: - type: from_intent value: true intent: affirm conditions: - active_loop: basic_form requested_slot: taking_medications - type: from_intent value: false intent: deny conditions: - active_loop: basic_form requested_slot: taking_medications forms: form_rasa: required_slots: - data basic_form: required_slots: - first_name - middle_name - last_name - email - us_number - phone - confirm_location - confirm_mail_address - preferred_language - able_to_read_write - born_in_us - become_citizen_us - legal_resident_us - permanent_resident_number - serve_military - military_benefit - medicare_benefit - social_security_benefit - supplemental_security_income - current_spouse_first_name - current_spouse_last_name - current_spouse_social_security_number - prior_marriages - prior_marriages_duration - prior_marriages_death - have_children - parent_support - used_other_names - ssn - used_other_ssn - bank_account_for_deposit - routing_number - account_number - able_to_work - perform_usual_job_responsibilities - condition_last_14_months - condition_end_in_death - condition_require_work_changes - earned_more_than_1470_in_2024 - intend_to_work_in_2024 - received_money_from_employer - expect_to_receive_money_from_employer - school_name - school_city - school_state - school_country - special_education - specialized_job_training - company_name - business_type - end_date_last_worked - job_title - pay_amount - lifting_ability - supervised_others - cared_for_children - self_employed_last_15_years - self_employed_2023 - profit_self_employed_2023 - self_employed_2024 - profit_self_employed_2024 - worked_outside_us - worked_outside_us_2024 - illness_expected_duration - worked_outside_2023 - earnings_subject_us_social_security - eligible_foreign_social_security - special_payments - no_social_security_taxes - spouse_receiving_pension - future_pension_annuity - government_pension_or_annuity - lump_sum_payment - vision_impairment - impaired_vision_with_glasses_contacts - partial_or_total_deafness - use_hearing_aids - history_of_seizures - mental_illness_treatment - physical_illness_treatment - emergency_room_visit - medical_tests_or_medications - mental_health_treatment - inpatient_stays - outpatient_visits - had_surgeries - had_physical_therapy - medical_records - doctor_in_prison - public_welfare - attorney_records - disability_insurance - vocational_rehab - workers_compensation - other_records - medical_tests_completed - taking_medications entities: - phone session_config: carry_over_slots_to_new_session: true # rasa run --enable-api --cors "*"