Welcome to the Simple Chatbot project! This is a beginner-level project designed to help you create a basic chatbot with simple functionalities. The chatbot can greet users, answer basic questions, remember previous interactions, and engage in a basic conversation with the user.
-
Basic Functionality:
- Implement a simple greeting function for the chatbot.
- Allow the chatbot to respond to at least five basic questions.
- Include a farewell message.
-
Previous Context:
- Implement a basic mechanism for the chatbot to remember previous interactions.
- Ensure the chatbot can recall and reference the context of the conversation.
-
User Interaction:
- Create a flow where the chatbot asks the user at least three questions.
- Allow the user to provide responses, and have the chatbot react accordingly.
-
Error Handling:
- Implement basic error handling to address scenarios where the chatbot does not understand the user's input.
- Provide a friendly response in such cases.
To run the chatbot, simply execute the provided Python script. The chatbot will greet you and engage in a conversation based on the defined functionalities.
bash python simple_chatbot.py
- The chatbot will greet you with a random greeting.
- You can ask the chatbot various questions, and it will respond accordingly.
- To end the conversation, type "goodbye," "bye," or "quit," and the chatbot will bid you farewell.
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as needed.
Happy coding!