hey , am facing an issue , related to custom action file. my custom action file running but message is not send back to rasa core in docker environment . successfully return result in normal environment …but in kuberneties environment is not return anything . herewith i attached my action python file …action_api.py.txt (1.6 KB)
try this code it will work.
from rasa_sdk import Action, Tracker
from rasa_sdk.executor import CollectingDispatcher
class ActionHelloWorld(Action):
def name(self):
return "action_hello_world"
def run(self, dispatcher, tracker, domain):
intent = tracker.latest_message['intent'].get('name')
print("this is intent :",intent)
dispatcher.utter_message("response Message")
return []
use interactive learning for custom action
Hey, I’ve got the same problem in docker environment. And i have no idea how to resolve this problem. I tried the code of @pkchoudhary1211 but doesn’t work for me with Docker. I opened a topic last month but, not fixed :
I managed to make it work by changing
rasa/rasa-sdk:latest to rasa/rasa-sdk:1.5.1
Appearantly some bug fixed in this version.