Start if conversation

I have resolved this using slots.

For every intent I have these story:

  • story: -story-1 steps:

    • slot_was_set:
      • start_conv: false
    • intent: greet
    • action: action_greet
  • story: -story-2 steps:

    • slot_was_set:
      • start_conv: false
    • intent: goodbye
    • action: action_greet
  • story: -story-3 steps:

    • slot_was_set:
      • start_conv: false
    • intent: product_price
    • action: action_greet

Now every real story always starts with this:

  • story: onroad_price greet1 steps:

    • slot_was_set:
      • start_conv: true
    • intent: onroad_price
    • action: action_onroad_price_query
    • intent: assert_yes
    • action: action_onroad_price_answer
  • story: onroad_price greet2 steps:

    • slot_was_set:
      • start_conv: true
    • intent: onroad_price
    • action: action_onroad_price_query
    • intent: assert_no
    • action: utter_more_help