Error while creating tempates for asking forms in action server - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum

👋 Introducing the Rasa Playground

Error while creating tempates for asking forms in action server

post by sandeep2213 on Dec 14, 2020

Couldn’t create message for response:

This was the error I was getting

My action file:

class AskForSlotAction(Action):
    def name(self) -> Text:
        return "action_ask_can_number"
    def run(
        self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict
    ) -> List[EventType]:
        dispatcher.utter_message(text ="What cuisine?")
        return []

post by j.mosig on Dec 14, 2020

Hello @sandeep2213

I’m not sure if the space between text and = is allowed in python. Can you please post the rest of the error message and where you see it? Also, what is the output of rasa --version?