This project serves as a code reference for this guide. It has been created using the rasa init
command.
Be sure to follow their installation guide before proceeding.
rasa run
docker run -it -p 5005:5005 -v $(pwd):/app rasa/rasa:2.1.2-full run
Instead of run you can also use any other rasa command like train
and the changes will be reflected in this directory.
The Airy connector is a custom connector implemented by following the rasa documentation. When running rasa in a container this directory needs to be mounted to /app
.
Once running the rasa server will expose the webhook at /webhooks/airy/webhook
For testing the connector you can use ngrok.
-
Replace the
system_token
andapi_host
in thecredentials.yml
file -
Launch
ngrok http 5005
and keep it running -
Point your webhook subscription to the url assigned to you by ngrok
-
docker run -it -p 5005:5005 -v $(pwd):/app rasa/rasa:2.1.2-full run
-
Send a test message like "Hello there!" to one of your connected source channels
Authenticate:
heroku login
Build and upload the image:
heroku container:push web
Release the image:
heroku container:release web