How omkara-bajpai/ai-chat works
This is a small, single-file Windows voice assistant. Its loop greets the user, listens for a command prefixed with “Jarvis,” dispatches supported actions, and speaks responses. The main capabilities are opening websites or desktop applications, querying Wikipedia, telling the time, and fetching weather for a configured city. All implementation nodes point to main.py; the edges reflect calls and integrations visible in that excerpt.
Main entry points: main.py Command dispatch
Components 18
Voice interaction
- Assistant loop
main.py - Command listener
main.py - Speech output
main.py
Command actions
- Command dispatch
main.py - Website launcher
main.py - App launcher
main.py - Wikipedia lookup
main.py - Time report
main.py - Weather lookup
main.py
External services
- Microphone
- Speech recognition
- Windows voice
- System browser
- Desktop applications
- Wikipedia service
- System clock
- Weather API
Other components
- User
Connections 20
- User → Assistant loop: issues commands
main.py - Assistant loop → Command listener: listens via
main.py - Command listener → Microphone: captures audio
main.py - Command listener → Speech recognition: transcribes audio
main.py - Assistant loop → Speech output: greets through
main.py - Speech output → Windows voice: speaks via
main.py - Assistant loop → Command dispatch: dispatches command
main.py - Command dispatch → Website launcher: routes website request
main.py - Website launcher → System browser: opens site
main.py - Command dispatch → App launcher: routes app request
main.py - App launcher → Desktop applications: launches application
main.py - Command dispatch → Wikipedia lookup: routes search
main.py - Wikipedia lookup → Wikipedia service: requests summary
main.py - Wikipedia lookup → Speech output: speaks result
main.py - Command dispatch → Time report: routes time request
main.py - Time report → System clock: reads current time
main.py - Time report → Speech output: speaks time
main.py - Command dispatch → Weather lookup: routes weather request
main.py - Weather lookup → Weather API: requests conditions
main.py - Weather lookup → Speech output: speaks temperature
main.py