Newbie: Conditional dialog flow

Hello, I am new to Rasa, and I have a simple dialog:

QUESTION: How do I activate the 2nd path to ask for the TV size?

Test:

// GOOD Your input → I want to buy something What would you like to buy? Your input → I want to buy a sofa What is the clour of your sofa?

// BAD Your input → I want to buy something What would you like to buy? Your input → I want to get a TV What is the clour of your sofa?

*** From stories.yml ***

  • story: General shopping start steps:

    • intent: shopping_start
    • action: utter_shopbot
    • intent: shopping_specific
    • or:
      • slot_was_set:
        • shopping_item: TV
      • slot_was_set:
        • shopping_item: sofa
    • checkpoint: check_product_choice
  • story: Sofa path steps:

    • checkpoint: check_product_choice
    • slot_was_set:
      • shopping_item: sofa
    • action: utter_sofa_colour
  • story: TV path steps:

    • checkpoint: check_product_choice
    • slot_was_set:
      • shopping_item: TV
    • action: utter_TV_size

*** from domain.yml ***

intents:

  • shopping_start
  • shopping_specific

entities:

  • product

slots: shopping_item: type: text influence_conversation: true mappings: - type: from_entity entity: product

responses: utter_shopbot:

  • text: “What would you like to buy?”

utter_shopbot_product:

  • text: “So you want to buy a {shopping_item}?”
  • text: “So you interested in getting a {shopping_item}?”

utter_TV_size:

  • text: “How large is the TV that you want?”

utter_sofa_colour:

  • text: “What is the clour of your sofa?”

*** from nlu.yml ***

  • intent: shopping_start examples: |

    • I want to buy something
    • I want to shop
  • intent: shopping_specific examples: |

    • I want to buy a [TV]{“entity”:“product”}
    • I want to buy a [sofa]{“entity”:“product”}
    • I want to purchase a [couch]{“entity”:“product”}
    • I want to get a [gift]{“entity”:“product”} for my mom