Original Blog URL: https://data-flair.training/blogs/python-chatbot-project/
- Intents.json – The data file which has predefined patterns and responses.
- train_chatbot.py – In this Python file, we wrote a script to build the model and train our chatbot.
- Words.pkl – This is a pickle file in which we store the words Python object that contains a list of our vocabulary.
- Classes.pkl – The classes pickle file contains the list of categories.
- Chatbot_model.h5 – This is the trained model that contains information about the model and has weights of the neurons.
- Chatgui.py – This is the Python script in which we implemented GUI for our chatbot. Users can easily interact with the bot.
-
Probably can incoporate word-embeddings instead of just root word derived from
lemmatization
/stemming
. -
Experiment with a much more complex neural network than current 3-layered one.
-
See if we can monitor some metric of accuracy for responses: possibly add a thumbs-up / thumbs-down button for capturing user-satisfaction.