How usmanghani1044/-decodelabs-ai-chatbot-project-usman-ghani works
This is a small deterministic, rule-based chatbot. The user enters text in a continuous command-line loop; the chatbot normalizes it, checks for the exit command, looks up a predefined response with a fallback for unknown input, and prints the result. These stages are implemented together in one function, so nodes share the same source path. The README describes the same capabilities; no separate storage, service, or integration layer is present.
Main entry points: python chatbot_project1.py Input Cleanup
Components 6
Other components
- User
- Chat Loop
python chatbot_project1.py - Input Cleanup
python chatbot_project1.py - Exit Check
python chatbot_project1.py - Response Lookup
python chatbot_project1.py - Response Output
python chatbot_project1.py
Connections 8
- User → Chat Loop: enters text
python chatbot_project1.py - Chat Loop → Input Cleanup: reads input
python chatbot_project1.py - Input Cleanup → Exit Check: checks command
python chatbot_project1.py - Exit Check → Chat Loop: repeats unless exit
python chatbot_project1.py - Exit Check → Response Output: prints shutdown
python chatbot_project1.py - Input Cleanup → Response Lookup: looks up intent
python chatbot_project1.py - Response Lookup → Response Output: returns reply
python chatbot_project1.py - Response Output → User: prints response
python chatbot_project1.py