This is a basic Python-based chatbot that uses a rule-based system to provide predefined responses to user inputs. The chatbot is implemented using Python's standard input/output functionality.
Clone the Repository
git clone https://github.com/ashutosh786palhare/Python-Micro-Projects/ChatBot.git
Navigate to the directory where the main.py file is located and execute the following command:
main.py
Once the chatbot is running, it will display a welcome message and prompt you to input messages. Type your messages in the console and press Enter to send them. The chatbot will respond accordingly based on the predefined responses.
To exit the chatbot, simply type "bye" and press Enter.
See ScreenShot
You can customize the chatbot's responses by modifying the responses dictionary in the chatbot.py file. Add new key-value pairs to handle different user inputs and define appropriate responses.
Feel free to fork this repository, make improvements, and create a pull request. Contributions are welcome!
This project is licensed under the MIT License - see the LICENSE file for details.