Setting up Webchat Channel

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?

You can use the socket input channel instead :slight_smile: https://rasa.com/docs/core/connectors/#socketio-setup

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? :frowning:

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

oops my bad, it should be 0.11.4 :smiley:

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.