A simple Rule-Based AI Chatbot built using Python that responds to user queries using keyword matching and dictionary-based memory.
This project is a simple Rule-Based AI Chatbot developed using Python.
The chatbot interacts with users through the command line and provides responses based on predefined keywords stored in a dictionary.
It also includes time-based greetings and emoji-enhanced responses to create a friendly and interactive experience.
- β° Time-based greeting (Morning, Afternoon, Evening, Night)
- π§ Dictionary-based response system
- π Keyword matching logic
- π¬ Continuous conversation loop
- π Exit command (
byee) - π Emoji-supported responses
- π§© Beginner-friendly AI logic implementation
- Python
- datetime module
- time module
The chatbot:
- Takes user input.
- Converts it to lowercase.
- Matches keywords with predefined responses.
- Returns the corresponding response.
- If no match is found, it returns a default learning-mode message.
This chatbot does not use Machine Learning.
It is a rule-based system built for understanding basic chatbot logic and flow control.
--
python chatbot.py