Stories not working

I have a stories path as follows :

  • greet
    • utter_greet
  • request_room
    • action_check_date
    • room_form
    • form{“name”: “room_form”}
  • enquire_price
    • action_check_price
    • utter_room_price
  • affirm+request_room
    • room_form
    • form{“name”: null}
    • utter_noworries
    • action_restart The above works and all is good.

When I add one more layer :

  • greet
    • utter_greet
  • request_room
    • action_check_date
    • room_form
    • form{“name”: “room_form”}
  • enquire_price
    • action_check_price
    • utter_room_price
  • enquire_facilities
    • utter_yes
  • affirm+request_room
    • room_form
    • form{“name”: null}
    • utter_noworries
    • action_restart

This still work. but when I added the below :

  • greet
    • utter_greet
  • request_room
    • action_check_date
    • room_form
    • form{“name”: “room_form”}
  • enquire_price
    • action_check_price
    • utter_room_price
  • affirm
    • room_form
  • enquire_price
    • action_check_price
    • utter_room_price
  • affirm
    • room_form
  • enquire_price
    • action_check_price
    • utter_room_price
  • affirm
    • room_form
    • form{“name”: null}
    • utter_noworries
    • action_restart

The story path with enquire_facilities no longer works and rasa doesn’t response that intent as it should. What must I do ? It seems it can only work for one layer of deviation from my form actions.

Are these separate stories or part of a single story?

If it’s one story, you need to increase the max_history hyperparameter in your featurizer, as described here. You will likely want it at 7 or 8, though you could even do 10 and it should start working after you retrain.