Open maraal opened 8 months ago
@maraal did you manage to set it up?? im having the same issue
Found the reason, was because i was not installing heyoo which is what the connector is using to send whatsapp messages so when rasa loaded the connector it was raising an ImportError.
Found the reason, was because i was not installing heyoo which is what the connector is using to send whatsapp messages so when rasa loaded the connector it was raising an ImportError.
If this hasn't solved the problem, you must import input class from the whatsapp.py
to rasa/core/channels/init.py
Found the reason, was because i was not installing heyoo which is what the connector is using to send whatsapp messages so when rasa loaded the connector it was raising an ImportError.
If this hasn't solved the problem, you must import input class from the
whatsapp.py
to rasa/core/channels/init.py
Could you provide steps to do this, I also getting the same error
You need to have heyoo installed in the python enviroment first so:
pip install heyoo
Then i've added whatsapp.py file at this route:
addons/whatsapp.py
Then in credentials.yml file i have this:
addons.whatsapp.WhatsAppInput:
auth_token: "auth_token"
phone_number_id: "phone_number_id"
verify_token: "verify_token"
@aandrewsv Thanks , I got it working, It was an SSL issue. I moved the whatsapp.py to rasa/core/channels and modified rasa/core/channels/init.py to include whatsapp.
@thatcuteseller I have tried your steps, but I still face the same error. Hereby i attach the related images, every helps are welcome, thanks :)
I have the folowing directory structure:
When I try
rasa run
from thebot
dirctory, i got the following error:RasaException: Failed to find input channel class for 'whatsapp'. 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
endpoints.yml
credentials.yml