notice
This is documentation for Rasa X/Enterprise Documentation v1.1.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (1.4.x).
Add an Action Server
Disabling the Default Action Server
If you are not running an action server at all, and you don't want the default app
service to run as a
placeholder, you can disable installation of the action server:
Adding a Custom Action Server
note
Rasa Enterprise does not communicate directly with the action server. Only Rasa Open Source servers communicate with the action server. Because Rasa Enterprise can start Rasa Open Source servers, it can also start an action server, however it is recommended to start both Rasa Open Source and action server separately using their respective Helm Charts.
To run a custom action server you need a Docker image for your action server. Please see Building an Action Server Image for more information.
To deploy a custom action server, you can either:
- Use the Rasa Action Server Helm Chart to deploy your action server. This is the recommended method.
- Use the Rasa Enterprise Helm Chart to deploy your action server.
Starting an Action Server using the Rasa Action Server Helm Chart
Follow the instructions on the Rasa SDK docs for deploying an action server using the Rasa Action Server Helm Chart.
Disable installation of the action server by the Rasa Enterprise Helm chart and specify the URL of your separately deployed action server:
app:install: falseexistingUrl: http://myactionserver:5055/webhookThis will take care of passing the correct action server endpoint to any Rasa Open Source servers started by the Rasa Enterprise Helm chart.
For any Rasa Open Source servers that are started by the Rasa Helm chart, follow the instructions to connect your Rasa Open Source deployments to the action server.
Starting an Action Server using the Rasa Enterprise Helm Chart
Add the image and tag you want to use to the
app
section ofvalues.yml
. If your image is stored in a private registry, please refer to Adding Image Pull Secrets for Private Registries.# app (custom action server) specific settingsapp:install: truename: "<name of your action server image>"tag: "<tag of your image>"This will also take care of passing the correct action server endpoint to any Rasa Open Source servers started by the Rasa Enterprise Helm chart.
For any Rasa Open Source servers that are started by the Rasa Helm chart, follow the instructions to connect your Rasa Open Source deployments to the action server.