custodio
(Leonardo Custodio)
September 18, 2018, 5:49pm
1
Hi everybody,
I’m trying to put this webchat widget (https://github.com/mrbot-ai/rasa-webchat ) on my page.
But I still have not figured out how to use the webchat channel: https://github.com/mrbot-ai/rasa-addons/
Can anybody help me to set it up in some simple steps?
akelad
(Akela Drissner)
September 20, 2018, 9:11am
2
custodio
(Leonardo Custodio)
October 19, 2018, 12:45am
3
Ok I’m trying to setup using socket.io on your rasa-demo bot.
I’ve included:
socketio:
user_message_evt: user_uttered
bot_message_evt: bot_uttered
Also I’m running it with the runscript:
python -m rasa_core.run -d models/dialogue -u models/nlu/current --debug --endpoints endpoints.yml --credentials credentials.yml
And I’m redirecting the webchat widget to:
http://localhost:5005
I also tried to point it out to:
http://localhost:5055/webhook
But I keep getting:
127.0.0.1 - - [2018-10-18 21:41:12] “GET /socket.io/?EIO=3&transport=polling&t=MQ9nDx0 HTTP/1.1” 404 342 0.000936
Error on the terminal. What did I do wrong?
custodio
(Leonardo Custodio)
October 19, 2018, 12:58am
4
Ok, nvm.
Just in case anybody is also getting the issue. That’s because in the requirements of the demo-bot it uses a version of rasa-core that does not have socket.io yet
akelad
(Akela Drissner)
October 22, 2018, 12:08pm
5
oops my bad, it should be 0.11.4
How to recompile this repo and produce that final.js file from it ? @custodio
I know it’s a react app and i know some basic things. I also tried npm install
and build run
command.
Solved. Only some dependency issue.