Skip to content

muhammad-stack/Python_Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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! 🤖💬

About

It is a basic python chatbot just made for fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages