Integrating a Chatbot with MATLAB...
# šŸ¤help
g
Hi I'm working on a project where MATLAB takes in news data from an API news source and feeds it to a chatbot along with user inputs for news topics that they want to hear about. the chatbot would then take the user input and data and respond in MATLAB until the user responds with bye in the command prompt. I'll post the code in a screenshots. I attempted to develop a bot for this using botpress but completely failed because I don't have any training in chatbot developement. Can someone help me out?
When I last attempted to do this MatLab returned an error code 403 from the botpress chatbot. I am worried that this is an integration error...
Here is the error message
Does anyone know how to design a bot that will interface with this code or what I need to change about the code to get it to interface with botpress...
f
Are you using the V12 or the Cloud version of Botpress?
Where is the code written
You can't do a request to this url
You should use the webhook integration https://botpress.com/docs/cloud/channels/webhook/
Have you replaced the URL There?
g
I believe it’s the cloud version. It’s whatever you can access through the website.
Yes
f
Then its the cloud version
The 2 pictures you send
Where is that code from
g
It’s code on MATLab
f
MatLab right?
Perfect
Can you try with using the Webhook instead
You would respond via the webhook
You would still send the users message like you used to
g
Ok. I’ll try using the webhook tonight.
f
Perfect, let me know if this works
g
I got swamped with homework and midterm exams this week so I’ll try to implement the webhook some time next week.
f
No worries at all, I know how that is. Take your time and I wish you the best of luck
g
Thanks
2 Views