This is Project 1 for the DecodeLabs Artificial Intelligence Industrial Training Kit.
Create a simple rule-based chatbot that responds to predefined user inputs using basic control flow and dictionary-based response mapping.
- Handles greetings and simple questions
- Uses input sanitization with lowercase conversion and whitespace removal
- Runs inside a continuous loop
- Supports clean exit commands
- Uses a dictionary instead of a long
if-elifladder - Includes fallback response for unknown inputs
- Python 3
python chatbot.pyhello
how are you
what is your name
help
what can you do
exit
- Control flow
- Loops
- Dictionaries
- Functions
- Rule-based AI logic
- Input/output handling