I am very new in rasa. I am not able to connect my bot with a api through socket id. Please anyone help me as early as possible. Thanks
Enable the socket io channel in the credentials.yml. After that, you should be able to connect to it after a restart.
Thank you for your response, but how I define the socket channel in the credentials.yml. socketio: user_message_evt: user_uttered bot_message_evt: bot_uttered session_persistence: true I have done this before but it was not working for me.
That’s all you need to define on Rasa’s side, is your problem on the client side? Try this:
- Run rasa using
rasa run --enable-api --debug
- It should show the available webroutes including /socket.io
If it shows up:
Thank you so much for your help. I just confuse where I have to give my socket id to connect my server chat application. Please help me to define where and how can I define the socket host and port number then it will communicate with my rasa bot.