How kalebu/desktop-chatbot-app works
This small Tkinter desktop chatbot accepts a message, finds the closest matching key in its knowledge dictionary, and displays either the associated reply or a fallback. The UI, matching logic, and transcript updates are implemented together in app.py; knowledge.json supplies the response data. Relationships are based on the shown app.py excerpt and README. No separate service or storage layer is present.
Main entry points: app.py Chat window · knowledge.json Knowledge dictionary
Components 5
Desktop interface
- Chat window
app.py
Chat response
- Reply matching
app.py - Knowledge dictionary
knowledge.json
Other components
- User
- Tkinter
Connections 5
- User → Chat window: enters message
README.md - Chat window → Reply matching: invokes reply
app.py - Reply matching → Knowledge dictionary: loads and looks up
app.py - Reply matching → Chat window: adds transcript
app.py - Chat window → Tkinter: builds interface
app.py