How alexandresajus/jarvis works
JARVIS is a voice assistant with a separate Taipy conversation display. The principal workflow records speech, transcribes it through Deepgram, requests a GPT response, synthesizes speech with ElevenLabs, and plays it through Pygame; the assistant also writes conversation and status files for the display. The README documents these integrations, while the excerpts show their implementation and file handoffs. The UI refreshes from those files and can erase the conversation. The architecture below reflects the shown workflow; it does not assume unshown integration details.
Main entry points: main.py Assistant loop · display.py Taipy interface · record.py Speech recorder · conv.txt Conversation log
Components 19
Voice assistant
- Speech recorder
record.py - Assistant loop
main.py - Transcription
main.py - Transcript
conv.txt - Response generation
main.py - Speech synthesis
main.py - Response audio
audio - Audio playback
main.py - Conversation log
conv.txt - Status file
status.txt
Conversation display
- Taipy interface
display.py - Erase action
display.py
External services
- Deepgram
- OpenAI GPT
- ElevenLabs
- Pygame audio
Other components
- User
- Microphone
- Web user
Connections 21
- User → Microphone: speaks into
README.md - Microphone → Speech recorder: captures audio
README.md - Assistant loop → Speech recorder: calls
main.py - Speech recorder → Transcription: saves recording
record.py - Assistant loop → Transcription: transcribes
main.py - Transcription → Deepgram: requests transcript
main.py - Assistant loop → Transcript: appends text
main.py - Assistant loop → Response generation: requests response
main.py - Response generation → OpenAI GPT: calls
main.py - Assistant loop → Speech synthesis: synthesizes response
main.py - Speech synthesis → ElevenLabs: generates speech
main.py - Speech synthesis → Response audio: saves audio
main.py - Assistant loop → Audio playback: plays response
main.py - Audio playback → Pygame audio: uses
main.py - Assistant loop → Conversation log: appends messages
main.py - Assistant loop → Status file: writes status
main.py - Taipy interface → Conversation log: reads periodically
display.py - Taipy interface → Status file: reads status
display.py - Taipy interface → Web user: displays conversation
README.md - Web user → Erase action: requests reset
display.py - Erase action → Conversation log: clears file
display.py