I need a Custom Action to dynamically build an action’s name and then utter it, like this:
try: dispatcher.utter_message(template = "utter_react_"+tracker.get_slot("element")) except: pass
Works fine like this. But now, I also wanna build stories depending on the concrete action that was “built” and uttered. Like this:
- story: password why story steps: - action: utter_react_password - intent: ask_why - action: utter_explain_safepw
Unfortunetly, the tracker does not register messages/actions, that were uttered through the dispatcher. Is there anyway I can work around this?