Voice Assistant For Raspberry Pi 5
Stack:
- ollama local models for LLM inference
- fast whisper for speech to text
- open wake word for waking up the program
Keep the model loaded in memory indefinitely to avoid cold start latency after idle periods:
sudo systemctl edit ollama.serviceAdd the following under [Service]:
[Service]
Environment="OLLAMA_KEEP_ALIVE=-1"Then reload and restart:
sudo systemctl daemon-reload && sudo systemctl restart ollama- ssh into your raspberry pi
- clone the repo
- run the run.sh shell script
uv run python -m pytest