Rasa stories

I have a story defined like below:

- story: story1
  steps:
    - intent: safety
    - action: utter_affirm_concern
    - action: utter_diduhave
    - or:
      - intent: affirm
      - intent: deny
    - action: utter_happy
    - action: utter_answer
    - action: utter_feeling

When the particular intent is detected, the bot replies with the just following action(specified in the story), but the upcoming action doesn’t work. Instead, it says action_default_fallback(0.30)

intent-->safety{"major_concern":"safety"}(1.0)
slot{"major_concern":"safety"}
action_unlikely_intent(1.0)
utter_affirm_concern(0.88)
"Ah yes, I hear this a lot."
action_default_fallback(0.30)

The integration is with telegram and facebook channels.

@nik202 please help me on this.

If you want the safety intent to always be followed by utter_affirm_concern and utter_diduhave, add the following rule:

- rule: rule1
  steps:
    - intent: safety
    - action: utter_affirm_concern
    - action: utter_diduhave

Otherwise, add more stories with this behavior.

1 Like