version: "3.1" intents: - greet - goodbye - affirm - deny - mood_great - mood_unhappy - bot_challenge - buy_pizza - inform entities: - pizza_type - pizza_size - alg.entity 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_pizza_size: - text: "What size would you like" utter_ask_pizza_type: - text: "what kind off pizza would you like?" slots: pizza_size: type: text influence_conversation: true mappings: - type: from_entity entity: pizza_size conditions: - active_loop: simple_pizza_form - type: from_entity entity: alg.entity conditions: - active_loop: simple_pizza_form pizza_type: type: text influence_conversation: true mappings: - type: from_entity entity: pizza_type conditions: - active_loop: simple_pizza_form - type: from_entity entity: alg.entity conditions: - active_loop: simple_pizza_form - active_loop: test_loop forms: simple_pizza_form: required_slots: - pizza_size - pizza_type session_config: session_expiration_time: 60 carry_over_slots_to_new_session: true # actions: # - validate_simple_pizza_form