--grpc flag.
Running the action server
Running action server over HTTP(S) protocol
The action server supports both secure (HTTPS) and insecure HTTP connections.HTTP protocol
To run action server over HTTP protocol use this command:- Using Rasa command
- Directly as a python module
HTTPS protocol
To run action server over HTTPS protocol use this command:- Using Rasa command
- Directly as a python module
Listen on specific address
You can make your action server listen on a specific address using theSANIC_HOST environment
variable:
- Using Rasa command
- Directly as a python module
Running the action server on gRPC protocol
The action server supports both secure and insecure gRPC connections. By default, the action server runs on insecure gRPC connection.Insecure gRPC connection
To run the action server to accept insecure gRPC connections, use this command:- Using Rasa command
- Directly as a python module
Secure gRPC connection
To run the action server to accept secure gRPC connections, you need to specify the--grpc, together with the --ssl-certificate and --ssl-keyfile flags:
- Using Rasa command
- Directly as a python module
Specifying the actions module or package
By default the action server will look for your actions in a file calledactions.py or in a package directory called actions.
You can specify a different actions module or package with the --actions flag.
- Using Rasa command
- Directly as a python module
my_actions.py or in a package directory called my_actions.
Other options
To see the full list of options for running the action server, run:- Using Rasa command
- Directly as a python module