Local voice assistant for verbal requests, running on Raspberry Pi
Top 82.6% on sourcepulse
This project provides a fully local, GPT-like voice assistant designed for Raspberry Pi, enabling private, offline voice command interaction. It targets hobbyists and users seeking a self-contained AI assistant without cloud dependencies.
How It Works
The assistant records audio via a pushbutton and USB microphone, transcribes it using Whisper, and prompts a local TinyLlama-1.1B LLM packaged as a llamafile. The LLM's text response is then synthesized into speech using eSpeak and played through a speaker. This approach ensures complete data privacy and offline operation.
Quick Start & Requirements
sudo apt update
, sudo apt install ffmpeg espeak python3-pip python3-pyaudio
, pip3 install openai openai-whisper RPi.GPIO pyaudio
, clone repo, download and chmod the llamafile.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
Processing can be slow, with brief requests taking up to 15 seconds on a Pi 4. The project is presented as "World's Easiest," but setup involves OS flashing and command-line operations.
1 year ago
Inactive