- This repository consists the python code for developing a simple chatbot.
- For demomstration the chatbot is configured for performing two tasks:
Search MovieBook Restaurant
- The
dbfolder contains the data files :movies.csv: Contains list of movies data in the below format.[Movie, language, Actor, Theatre_Name, genre, date, Show_Time, location]restaurants.csv: conatins list of restaurants data in the below format.[cuisine, costtype, location, Restaurant]
- The
entitiesfolder contains the data for various entities present in each task:Search Movie:
[Actors, genre, date, language, location]Book Resturant:
[cuisine, costtype], location] - The
intentsfolder contains the data for possible user input for each intent. - The
paramsfolder contains the dialog flow to capture the required params for each intent.
- Create a python virtual environment and activate it:
python3 -m venv bot source bot/bin/activate - Install the required libraries:
pip install -r requirements.txt - Run the chatbot:
python run.py - Enter
exitonce you are done.