This is a bot that can do many things, including:
- Greet users
- Show menu
- Show offers available
- Display vegetarian options
- Display vegan options
- Explain more about any particular item, preparation, and its ingredients
- Show Restaurant's COVID policies
- Check available tables
- Book tables, and give unique ID
- Answer if asked about identity
- Take positive and negative feedback and respond accordingly
- Respond to general messages
- Bid the user goodbye
Technologies used: Python, NLP, Flask, HTML, CSS, JS, and MongoDB
- First, download fasttext from
https://dl.fbaipublicfiles.com/fasttext/vectors-crawl/cc.en.300.bin.gz. - Next, clone this repo.
- Move the zip file in step one to the location of the cloned repo and change your directory.
- Run
prepare_ft_model.pyfrom the helpers folders and extract this file. - Now, run
data_embeddeder.pyto prepare data. - Create a
.envfile and create a variable calleddatabase1. Add your mongodb connection key to that. - Then, run app.py and open the resultant link.
- Enjoy!