In the docs Helm Chart Installation, you can find how to access the Rasa X deployment. If you wanna reach the Rasa Open Source HTTP API directly, you can do this by using the /core path in your HTTP request, for example:
Thank you @tczekajlo, I should have been more precise on what I ment. I want to access the rest webhook in order to sent a message to the bot and get its response back. However, it throws a 404 error when I try to access it (through port 8000, 5002 and 5005). My IP checks out but I was wondering if I need to enable something in order to do this.
According to the docs you have to enable the REST channel Your Own Website. For the helm chart, you can do this by setting ROS Channels, it is described here Customize Your Deployment
Hi @tczekajlo, again thank you for your help! I adjusted this in the values.yaml (and restarted everything). Then I uploaded a model using the API but when I try to access the webhook I get a 404 responses. Do you have any suggestions for this as well?
EDIT: Rasa X is not working properly when I want to talk to my bot as well, I created a new issue for this here: Rasa X - Intent gets set to input. Do you think this might have to do with the above question as well?
Hi @tczekajlo, again thank you for your help! I adjusted this in the values.yaml (and restarted everything). Then I uploaded a model using the API but when I try to access the webhook I get a 404 responses. Do you have any suggestions for this as well?
import requests
r = requests.post('http://<IP>:8000/webhooks/rest/webhook', json={"sender": "user", "message": "test"})
print(r)
This is the code I run (with my IP filled in) but I am still getting a 404 error (after uploading the model). Do you know why this is happening…? Thanks again!
The error states that: Requested URL /webhooks/rest/webhook not found
hey @fabrice-toussaint i was facing the same issue as you. I have the exact same pod overview as the screenshot above. Does this fix itself in some time? Right now the http api does not work.