Chatbot (GUI) for an online coffee shop using Deep learning and NLP (Python)
By SUMIT HARESH GANGARAMANI
I have made a Chatbot GUI for an online coffee shop using python.
This chatbot was made with deep learning with pytorch and some of the concepts of NLP. The GUI was built with tkinter library.
Language - Python
- Deep Learning with PyTorch
- Natural Language processing concepts like Tokenization, Stemming and bag of words. Nltk is used.
- tkinter library used for creating GUI.
Workflow of the project -
- Creation of intent.json file. This file is used as the training data for the Neural network model.
- Then I made a nltk_util.py file. In this file NLP Preprocessing is done with the help of importing Natural language toolkit (nltk). Here various concept of NLP is used to make bag of words.
- Then we Create a file train.py which will be used to train the neural network model with help of using the .json file. Pytorch lib is used in training. Numpy is also used in this file.
- Then create a model using Neural Network. Then I save and load the model.
- Create a chat.py. This a file where the function of implementation of chat is defined which will later be called in the app.py GUI file
- Created app.py. This file is used to built the Graphical user Interface (GUI) for the file chat.py. The GUI is created with help of the library tinter.