UserUttered from SDK won't create new turn in Tracker

Hello guys,

I would like to simulate new user message from custom action like this:

from UserUttered

class ActionFollowUpWeather(Action):

def name(self):
    return "action_followup_weather"

def run(self, dispatcher, tracker, domain):
    return [UserUttered("/ask_weather", {
                         "intent": {"confidence": 1, "name": "ask_weather"}, 
                         "entities": []

to be able to switch to different scenario from stories. I thought UserUttered would trigger _handle_message_with_tracker() from rasa_core/ and it triggers tracker.update(...) what will cause new turn in conversation. But apparently it can’t get there.

Is something like this possible?


Bump this thread, anyone?

I have same problem with UserUttered. May be it doesn’t work

This is my code project similar with your code.I run ok. intent={‘name’:‘order_product’,‘confidence’:1.0,‘entities’:[‘router’]} return [UserUttered("/order_product",intent),SlotSet(‘router’,router)] You can try it.