A simple rule-based chatbot built using python.This chatbot interacts with users by responding to basic text inputs like greetings and common questions.
Responds to basic greetings like hello and hi Answers simple questions like: "How are you?" "What is your name?" "What can you do?" Handles empty input Exit the chatbot using bye
Python(Core concepts) Conditional Statements(if-elif-else) Loops(while) User input handling
- Install python(if not already installed)
- Copy the code into a file named: chatbot.py
- Run the file using: python chatbot.py
Add more intelligent responses Use NLP(Natural Language Processing) Integrate with a GUI(Tkinter/web) Connect with AI APIs
Feel free to fork this repository and improve the chatbot!
