Closed SaiDilipReddyKiralam closed 5 years ago
You can do this very easily using Rasa HTTP server.
Once your server is up and running according to the instructions given in the page linked above or this example, you can call different endpoints from your front-end to interact with your bot. The /respond
endpoint of the server will return you the utterances of your bot, or if you want to implement utterances on your front-end you can do that too using /parse
endpoint.
You may develop the front-end by yourself or find a chatbot template written in JavaScript or Angular. You may follow this tutorial, and replace the calls to Dialogflow service with a call to your Rasa HTTP server.
I think it would be really beginner-friendly if there was a starter kit with a pre-built front-end that can be run locally.
For example Botkit has a template with a self-contained chat server, API and web-based messaging client. https://github.com/howdyai/botkit-starter-web
Hi @auzair92 , I am trying to use rasa as HTTP server. The server is running but I am not able to get back reply from it. The errors are:
When I try with | python -mjson.tool code added:
I have also tried with replacing localhost with ip address of my pc, but didn't work. Can you help me with the command for the bot to respond? Thanks!
@SaiDilipReddyKiralam @phidodido There is a chatroom available https://github.com/scalableminds/chatroom with which you can integrate your bot. If you want to integrate it with your website....then you can create a chatroom using JS and add to your website HTML code and integrate the bot to it. I hope this is clear and helpful to you.
Hi @auzair92 , I am trying to use rasa as HTTP server. The server is running but I am not able to get back reply from it. The errors are:
When I try with | python -mjson.tool code added:
I have also tried with replacing localhost with ip address of my pc, but didn't work. Can you help me with the command for the bot to respond? Thanks!
Were you able to make it work?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. Please create a new issue if you need more help.
Issue:
I worked with rasa core and developed a working bot model and used slack connector as a front end interface.Now I don't want to use slack to interact with bot. i want to add model in my own website. I did not find any example of adding bot to a personal website. In simple :
from rasa_slack_connector import SlackInput
instead of this I want use rasa_personal_connector to connect with my site.