I literally want to build BMO.
What is BMO?
--> He’s BMO.
I found an old project for an RPi 3 and thought it would be cool to rebuild it from scratch on an RPi 5. And here we are. It can recognize simple objects and talk to you.
I am also working on facial and voice recognition, as well as letting him play games with you.The strength of Rpi-voice-assistant is that it can use both OpenAI and Mistral (and other APIs in the future), with automatic fallback and easy switching between them.
- Outside your home: You can use OpenAI.
- Don’t want to pay for OpenAI? You can run a local Mistral API server on your PC.
- With
BaseHandler: It’s easy to extend to other APIs and use it as a generic LLM class. Beyond just a chatbot, it’s simple to build multi-purpose agents.
I know, the name might not be original, but, I mean, I'm building BMO so what other name should I use?
- Raspberry Pi 5
- Active Cooler (Please make sure to buy the official 'ACTIVE' one)
- Speakers
- IMX219 Camera with Pi 5 Flat cable
- Lavalier Microphone (I used one I already had with a USB adapter)
- 7'' Display compatible with Raspberry Pi
- BMO Switch Case
- Piper Voices (en_GB semaine medium)
- Nous Hermes 2 Mistral 7B DPO
- vosk-model-small-en-us-0.15 (Already installed in
BMO/stt! For other languages, see below)
- Copy only the
.mistralserverdirectory python -m venv venvsource venv/bin/activatepip install -r requirements.txt- Modify
config.pywith the absolute path of your Mistral model and settings python3 api_server2.py
python -m venv venvsource venv/bin/activatepip install -r requirements.txt- Modify
config.jsonwith the paths for your Vosk model, Piper model, and (if set) the URL of your local Mistral API server - Change the extension of
BMO/handlers/.env.exampletoBMO/handlers/.envand insert your OPENAI API-KEY python3 main.py
Configuration:
For now, I've just added english, italian and spanish select "en" or "it"" or "sp" in the config.json file
If you want to help by adding yourlanguage, you can find the prompts in /memories/whoami.yaml
I'm working on adding all languages to whoami.yaml
The vosk model is english so you will hear BMO with british accent, that I found has voice very pretty similar the the BMO's one so i find it pretty cute, but obviusly you can install whatever voice you want

