version: "3.1" intents: - greet - goodbye - affirm - deny - mood_great - mood_unhappy - bot_challenge - request_names entities: - first_name - last_name - phone_num - email_id slots: first_name: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: name_form requested_slot: first_name last_name: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: name_form requested_slot: last_name phone_num: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: name_form requested_slot: phone_num email_id: type: text influence_conversation: true mappings: - type: from_text conditions: - active_loop: name_form requested_slot: email_id forms: name_form: required_slots: - first_name - last_name - phone_num - email_id responses: utter_greet: - text: "Hey! How are you?" 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_ask_first_name: - text: "What is your first name?" utter_ask_last_name: - text: "What is your last name?" utter_ask_phone_num: - text: "What is your phone number?" utter_ask_email_id: - text: "What is your email id?" utter_submit: - text: Ok. Thanks! utter_slots_values: - text: I will remember that your name is {first_name} {last_name} number {phone_num} and id is {email_id}! actions: - utter_slots_values - utter_submit - get_slot_data - slots_to_clear session_config: session_expiration_time: 60 carry_over_slots_to_new_session: true