Warning: This document is for an old version of Rasa NLU. The latest version is 0.15.0.

Endpoint Configuration

To connect NLU to other endpoints, you can specify an endpoint configuration within a YAML file. Then run Rasa NLU with the flag --endpoints <path to endpoint configuration.yml.

For example:

python -m rasa_nlu.server \
    --path <working directory of the server> \
    --endpoints <path to endpoint configuration>.yml

Note

You can use environment variables within configuration files by specifying them with ${name of environment variable}. These placeholders are then replaced by the value of the environment variable.

Model Server

To use models from a model server, add this to your endpoint configuration:

model:
    url: <path to your model>
    token: <authentication token>   # [optional]
    token_name: <name of the token  # [optional] (default: token)