Basic Chatbot is a simple rule-based chatbot developed using Python. It interacts with users through predefined commands and responses, demonstrating the use of loops, conditional statements, and user input handling.
This project was created as part of the CodeAlpha Python Programming Internship.
- Responds to greetings
- Answers basic questions
- Displays the current date
- Provides information about Python
- Shares internship-related guidance
- Help menu for available commands
- Exit command to end the conversation
- Python 3
- Conditional Statements (if-elif)
- Loops
- Functions
- User Input Handling
| Command | Description |
|---|---|
| hello | Greets the user |
| hi | Alternative greeting |
| how are you | Bot status response |
| what is your name | Displays bot name |
| who made you | Creator information |
| python | Basic information about Python |
| internship | Internship advice |
| date | Displays current date |
| help | Shows available commands |
| bye | Exits the chatbot |
CodeAlpha_BasicChatbot/
│
├── chatbot.py
└── README.md
git clone https://github.com/your-username/CodeAlpha_BasicChatbot.gitcd CodeAlpha_BasicChatbotpython chatbot.py========================================
🤖 Welcome to CodeBot!
Type 'help' to see commands.
Type 'bye' to exit.
========================================
You: hello
CodeBot: Hello! Nice to meet you.
You: python
CodeBot: Python is a popular programming language used for web development, AI, and automation.
You: bye
CodeBot: Goodbye! Have a great day.
Through this project, I learned:
- Python fundamentals
- Conditional statements
- Loops
- User interaction
- Basic chatbot logic
- Program structure and organization
- Add more commands
- Implement GUI using Tkinter
- Add voice interaction
- Store chat history
- Integrate AI-based responses
Shivansh Bajaj
Python Programming Intern – CodeAlpha