How to integrate Rasa Chatbot into website?

Viewed 3157

I have installed Rasa Core and NLU in my computer and after training and build the models now my chatbot is ready but I'm not getting clear documentation or way to deploy or integrate with a website.

I have 'Rasa' named folder and 'venv' virtual environment. I tried to put it into a website but they are blocking the files. So what is the method to put the Rasa chatbot into the website for 24/7 live chat?

2 Answers

For connecting your chatbot to a website, try using https://github.com/botfront/rasa-webchat i.e. "A chat widget to deploy virtual assistants made with Rasa or Botfront on any website." You'll need to add something like

socketio:
  user_message_evt: user_uttered
  bot_message_evt: bot_uttered
  session_persistence: true/false

to your credentials.yml. See https://rasa.com/docs/rasa/user-guide/connectors/your-own-website/ for further details on connecting to your own website.

In terms of deployment, the recommended way to deploy a rasa chatbot is using Rasa X using either docker-compose or kubernetes/openshift. The easiest way would be to use the one line deploy script.

Related