The Development Repository for basic career guidance and admission counselling Chatbot based on RASA Framework.
The rasa version used for the bot is 2.0 . The version is compatible with python 3.6,3.7 and 3.8
The project as of now is a primitive bot which can respond to FYJC colleges based queries using the data available in csv file generated from scraping the Teach Us website apart from routine interactions.
- Create a virtual environment of python 3.6 or greater.
- Clone the repository.
- Setting up the dependancies.
pip install -r requirements.txt
- Navigate to the bot1 directory. Run the command:
rasa train
- Once the model gets trained, you are good to launch the Processes on the system.
- Launch the rasa core server:
rasa run -m models --enable-api
- Launch the rasa action server. If you don't want to export the actions directory into path. You can navigate to the actions sub-driectory of bot1.:
rasa run actions
- Launch the flask server by navigating to the interface/backend driectory. Again to skip navigation you can export the path of flask app.:
python routes.py
- Launch the frontend on the local python http server. Under interface directory, run the followng command:
python -m http.server
- Now open your browser and type the following URL:
http://localhost:8000/frontend/UI.html