iCompassInternship

Chatbot widget flask/rasa framework and some Animation

This is Flask Web application having a bot widget and Javascript animation.

Getting Started

Prerequisites

-Flask installed

-Rasa installed

running on local machine

Go to the rasa chatbot directory open the terminal and paste this code :

rasa run actions & rasa run -m models --enable-api --cors "*" --debug

Go to the flask project directory and type :

python run.py

Bot Widget:

The bot widget supports any type of data, buttons, images, videos. It connects with routes.py through a post request to send and receive data to/from the chatbot server(port:5005) (as a service, here I use rasa bot framework).

The bot widget connects to the MDN API to transform speech to text and text to speech, available through a button inside the widget.