Skip to content

M77Rahman/ai-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– AI Chatbot (Rule-Based)

This is a simple Python-based rule-based chatbot that replies to user input using a set of predefined responses. It's designed to run in the terminal and can hold a basic conversation with the user. Perfect for beginners who want to get started with Python, logic, and building simple AI-like behavior.


πŸ“ Project Structure

  • chatbot.py – The main chatbot script

πŸš€ How to Run

  1. Make sure you have Python 3 installed on your system.
  2. Open a terminal in the project folder.
  3. Run the chatbot using:
python3 chatbot.py
πŸ’¬ Sample Chat

You: hi
Bot: Hello there! How can I help you today?

You: what can you do?
Bot: I can answer simple questions. Try asking me something!

You: bye
Bot: Goodbye! Have a great day!
πŸ”§ Tech Used

Python 3
Simple if/else logic (rule-based responses)
Terminal interface (CLI)
πŸ“š What I Learned

Handling user input in Python
Creating condition-based responses
Writing clean and readable Python code
Pushing projects to GitHub

Made with ❀️ by Muhammad Emdadur Rahman

About

AI chatbot generates a small conversation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages