hey my action.py is
from rasa_core.actions import Action
class ActionOrderPizza(Action):
def name(self):
return ‘action_order_pizza’
def run(self):
print(‘Ordering Pizza is completed! It should be with you soon :)’)
pass
when I would run action
the issue I receive :
Encountered an exception while running action ‘action_order_pizza’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
Encountered an exception while running action ‘action_order_pizza’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
Do you also get an error in the other terminal window?
When you ran the bot, in one terminal window, you ran rasa run actions. In the other you ran rasa shell. If you get that error in your rasa shell window, you have to look for the real error in the rasa run actions window.
yes totally ı agree with you I opened two windows one for actions and the other for working in details but error that I received it for the window in acton server