To enable a REST endpoint, I understand that the channel must be defined in credentials.yml
The credentials.yml file I have checked into GitHub has both the rest and rasa channels defined. My RasaX is integrated with Git and properly syncs training data.
However, if I cat the credentials.yml file inside my rasa-rasa-x pod, only the rasa channel is defined:
kubectl exec rasa-rasa-x-769649dc9d-5h57t -- cat credentials.yml
rasa: url: http://rasa-rasa-x-rasa-x:5002/api
I see that the correct credentials.yml exists in Git by examining the directory mounted as my persistent volume:
my-username@rasax-server:/var/lib/rancher/k3s/storage/pvc-477b9e8f-3fae-4f2b-b5a0-a53f0a698699/git/1$ cat credentials.yml
# This file contains the credentials for the voice & chat platforms # which your bot is using. # https://rasa.com/docs/rasa/user-guide/messaging-and-voice-channels/ rest: # # you don't need to provide anything here - this channel doesn't # # require any credentials #facebook: # verify: "<verify>" # secret: "<your secret>" # page-access-token: "<your page access token>" #slack: # slack_token: "<your slack token>" # slack_channel: "<the slack channel>" # socketio: # user_message_evt: user_uttered # bot_message_evt: bot_uttered # session_persistence: false #mattermost: # url: "https://<mattermost instance>/api/v4" # token: "<bot token>" # webhook_url: "<callback URL>" # This entry is needed if you are using Rasa X. The entry represents credentials # for the Rasa X "channel", i.e. Talk to your bot and Share with guest testers. rasa: url: "http://localhost:5002/api"
How do I modify credentials.yml if I’m unable to do so via Git and it doesn’t appear in any of my persistent volumes?