How kapilcyber/chatbot works
Project type and purpose
• This is a standalone data-science chatbot project in Python.
• It includes an offline training pipeline (“train_chatbot.py”), model artifacts (chatbot_model.h5, words.pkl, classes.pkl), a JSON knowledge base (intents.json), and a GUI inference script (“gui_chatbot.py”).
File structure
• train_chatbot.py – script to preprocess data (intents.json → tokenized words, classes) and train a neural-network model (Keras)
• chatbot_model.h5 – the serialized Keras model
• words.pkl, classes.pkl – pickled vocabularies and label encodings produced by training
• intents.json – the corpus of user intents, example patterns, and response templates
• gui_chatbot.py – GUI front end for runtime inference (likely using Tkinter or similar)
• README.md / .gitignore – project metadata and VCS ignores
README
• Confirms that this is a data science demonstration of a chatbot. No further architectural notes.