Hello everyone i am building a chatbot with rasa then i need create two or more customs actions in python but i dont know how to create
i think that i could realize this with 2 class, but when i trained the bot i got an issue
my action it was not found
How i can create 2 or more class in python?
Typically you’d need to have a file called
actions.py with some custom python classes in it. Once those classes are properly defined you still need to run an action server locally via;
rasa run actions
This starts the webserver for your custom actions and your rasa shell should be able to communicate with it. One more thing to be aware of is that you need to update the
endpoints.yml file (see docs for more info).