To use chatbot to coordinate automatic systems, I have searched many options. There are Google’s dialogflow, and Microsoft’s Azure bots. Dialogflow charge money once I need to use REST API calls, and Azure is just too complicated to set up all the services. No luck with multiple tries for both. I have previously used Rasa for work, and have some experience in how it works.
- Go to Rasa’s website and install Rasa X using docker. https://rasa.com/docs/rasa-x/installation-and-setup/install/docker-compose
- Need to load the NLU markdown data, story markdown data, and domain.yml files.
- Also make sure git repo is connected. I still don’t know how it work, because it’s not loading the files in that git repo.
- The only way I found to work is follow the documentation here, regarding action server. No need to change the endpoint.yml anymore though.
- Instead of editing the new
docker-compose.override.yml
file, just go back to thedocker-compose.yml
file and edit theapp_1
part and replace with this:
app:
restart: always
image: "rasa/rasa-sdk:latest"
volumes:
- ./actions:/app/actions
expose:
- "5055"
depends_on:
- rasa-production
Now it should be good to go once with use docker-compose up -d
again!