Hello. I’m new in Rassa. My os Ubuntu 20.04. I installed Rasa x full from belowing link
Docker Compose Install Script
In order of my commands;
- curl -sSL -o install.sh https://training_dataset_1608624862.json (29.5 KB) storage.googleapis.com/rasa-x-releases/0.34.0/install.sh
- export RASA_HOME=my_directory
- sudo -E bash ./install.sh # -E will preserve the environment variable you set
- cd /etc/rasa
- sudo docker-compose up -d
- cd /etc/rasa
- sudo python rasa_x_commands.py create --update admin me
Then i logged in rasa x and train the my model, conversation with my asistant. It works.
But I want to talk my agent via rest api.(I think /webhooks/rest/webhook). When i reach this endpoint i had connection error.(Error: connect ECONNREFUSED 127.0.0.1:5005)
I changed docker-compose file and add enable-api or port 5005:5005 vs but still not connect; x-rasa-services: &default-rasa-service restart: always image: “/rasa/rasa:${RASA_VERSION}-full” volumes: - ./.config:/.config expose: - “5005” command: > x –no-prompt –production –config-endpoint http://rasa-x:5002/api/config?token=${RASA_X_TOKEN} –port 5005 –jwt-method HS256 –jwt-secret ${JWT_SECRET} –auth-token ‘${RASA_TOKEN}’ –enable-api –cors “*”
How can i http api in my case? Thank you so much.