Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.07 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.07 KB

Simple Python Chatbot This is a basic rule-based chatbot implemented in Python. It responds to predefined prompts and can be extended for more complex interactions. Feel free to customize and enhance it according to your needs!

Usage Clone the Repository:

Clone this repository to your local machine. Run the Chatbot:

Open your terminal or command prompt. Navigate to the directory where the chatbot.py file is saved. Run the following command: python chatbot.py

Chat with the Bot:

The chatbot will greet you with “Hello! How can I assist you today?” Type your message and press Enter. To exit, type “exit” and press Enter. Example Conversations Chatbot: Hello! How can I assist you today? You: Hi there! Chatbot: Hey! You: How are you doing? Chatbot: I'm doing well, thank you! You: Bye! Chatbot: Goodbye!

Customization Add more prompts and responses in the responses dictionary. Implement more sophisticated logic using NLP libraries or machine learning models. Connect the chatbot to external APIs or databases. Feel free to experiment and make your chatbot smarter! 🤖💬