π€ AiSimpleChatBot AiSimpleChatBot is a basic AI chatbot built using Python and Machine Learning techniques. It uses Natural Language Processing (NLP) to understand user input and generate contextually appropriate responses.
π Features Simple GUI using Tkinter
Intent recognition using a trained neural network
JSON-based intent structure for easy customization
Preprocessing with NLTK (lemmatization, tokenization)
Lightweight and beginner-friendly design
π§ Tech Stack Python
Tkinter β for GUI
NLTK β for NLP tasks
TensorFlow / Keras β for building and training the model
NumPy & JSON β for data handling
πΈ Screenshot
π How to Run Clone the repository
bash Copy Edit git clone https://github.com/KshitishMule/AiSimpleChatBot.git cd AiSimpleChatBot Install dependencies Ensure you have Python installed, then run:
bash Copy Edit pip install -r requirements.txt Train the model (if chatbot_model.h5 does not exist)
bash Copy Edit python train_chatbot.py Run the chatbot
bash Copy Edit python chatbot_gui.py π Intents File Structure json Copy Edit { "intents": [ { "tag": "greeting", "patterns": ["Hi", "Hello", "Hey"], "responses": ["Hello!", "Hi there!", "Greetings!"] }, ... ] } You can modify the intents.json file to include your own conversation logic.
π Requirements Python 3.6+
NLTK
TensorFlow
NumPy
Use the following to install dependencies:
bash Copy Edit pip install -r requirements.txt π Contributing Contributions are welcome! If you have suggestions for improvements, feel free to fork the repo and open a pull request. Yours Regards Kshitish Mule Dheeraj Malviya