Custom Channel with Rasa X

You can set which version of Rasa to use in the configuration files, but the custom channel isn’t in the main repository. I’m wondering if there is a way to reference a rasa branch or fork, or reference the channel some other way than the class path.

You specify the location of a custom channel in the credentials.yml, for example:

connectors.myconn.MyConnector:
  session_token: ${MY_TOKEN}

This is referencing a file called connectors/myconn.py from the project root. If you’re using a docker-compose setup, you then need to make sure the rasa-production services can access this file on the host filesystem (or build it into your own custom image).

To map into the local filesystem, create a docker-compose.override.yml with something like this:

version: '3.4'
services:
  rasa-production:
    volumes:
      - ./connectors:/app/connectors
  rasa-worker:
    volumes:
      - ./connectors:/app/connectors

Then re-start.

@stephens How would you do this with the quick server installation of Rasa X?

Probably best to create your own image and specify your image in the rasa.name: