I am using a custom connector that works when I run rasa locally, however, when I try to deploy the custom connector on Rasax (33.x) I am receiving and error:
RasaException: Failed to find input channel class for 'connector.custom_connector.CustomConnector'. Unknown input channel. Check your credentials configuration to make sure the mentioned channel is not misspelled. If you are creating your own channel, make sure it is a proper name of a class in a module.
I installed Rasax on my machine at /etc/rasa/ using: curl -sSL -o install.sh https://storage.googleapis.com/rasa-x-releases/0.33.1/install.sh
I created a dir connector/ where I placed my custom_connectory.py file.
I also placed the following line in credentials.yml: connector.custom_connector.CustomConnector:
Kindly elaborate on how to do that.
I religiously followed the steps specified by @Arjaanhere but didn’t come across any command mounting directory as volume.
Hi Akela, I am not sure what you mean. Do you have a set of instructions that you are referring to that you could point me at? I do not have a Dockerfile if that is what you are referring to.
These are the files that I have after running the install.sh script I mentioned in my initial post.
Sorry @nmvl this slipped through the cracks. You need to mount this directory as a volume to the image, otherwise the image won’t know about that file. You can read more about volumes here: Use volumes | Docker Documentation
A easy way to avoid all qustion is build yourself server (like handle channel),and use rasa as a nlu server.Believe me ,u won’t feel better more.
No rasa x,no channel, no custom action.My team hava used this way to server millions of user.
this suggestion may not help your issue,but can help u save more time in the future