I’m trying to run a custom action in Rasa, but I’m not sure how to make it run all the time, no matter what the user’s message is or what story is being followed. As I understand, custom actions are only ran when defined in a story, but I want this action to be run continuously.
I have a custom action that translates RASA output, but it only happens when the action is specified in a story. I want it to execute no matter what the intent, story, etc is…
Could you please advise me on how to achieve this?
There’s a deployment page in the docs here which is focused on Kubernetes but typically you would create a docker image of your action server and run it with k8s, docker-compose or start it on system init via docker or rasa run actions cli.
Sure! One way to achieve continuous execution of your custom action in Rasa is to include it in the action_session_start section of your domain.yml file. This ensures that the action is executed every time a new conversation is started, regardless of the user’s message or the current story.