Coders Packet

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

Concepts -

  1. Deep Learning with PyTorch
  2. Natural Language processing concepts like Tokenization, Stemming and bag of words. Nltk is used.
  3. tkinter library used for creating GUI.

 

Workflow of the project -

  1. Creation of intent.json file. This file is used as the training data for the Neural network model.
  2. 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.
  3. 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.
  4. Then create a model using Neural Network. Then I save and load the model.
  5. 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
  6. 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.

Download project

Reviews Report

Submitted by SUMIT HARESH GANGARAMANI (sumitg10)

Download packets of source code on Coders Packet