Closed PravinrajV closed 5 years ago
Can you please post the full error trace?
This issue has been automatically closed because there has been no response to our request for more information from the original author. Without this, we don't have enough information to help you. Please comment below with the requested information if you still need help.
Hi, I am trying to create a simple custom action and I am facing the error " rasa_core.dispatcher - Couldn't create message for template 'utter_checkslots' ".
Files:
action.py
class Actionslots(Action):
def name(self):
return 'utter_checkslots'
def run(self, dispatcher, tracker, domain):
response = "Just creating simple custom actions"
dispatcher.utter_message(response)
return []
I have added utter_checkslots as actions in the domain file. When the action is executed in the stories, the above error pops up
Hi, I am trying to create a simple custom action and I am facing the error " rasa_core.dispatcher - Couldn't create message for template 'utter_checkslots' ".
Files:
action.py
class Actionslots(Action):
def name(self): return 'utter_checkslots' def run(self, dispatcher, tracker, domain): response = "Just creating simple custom actions" dispatcher.utter_message(response) return []
I have added utter_checkslots as actions in the domain file. When the action is executed in the stories, the above error pops up
I resolved this issue. Action name was changed to 'action_slots' instead of 'uttercheckslots'. One possible reason may be - all my actions name had the prefix 'utter' and my custom action also had the same.
Rasa Core version: rasa-core 0.11.5 rasa-core-sdk 0.11.4 rasa-nlu 0.13.4
Python version: Python 3.5 Operating system (windows, osx, ...): Windows Issue:
I keep getting the error: Couldn't create message for template. I am trying to implement the small talk..
Content of domain file (if used & relevant):