Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 902 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 902 Bytes

Jarvis

Simple project leveraging Whisper(Voice Audio -> Text), ChatGPT(Text -> commands) and my local running instance of Home-Assitant A.I to create a sort of voice interface home assistant.

Interesting thing here is that it can convert commands from many different languages (English, Spanish, Japanese tested so far) into commands.

Starting it up

  1. Have the home-assistant.io server up and running
  2. Make sure to set the following env-vars in an .env file
TOKEN=<HOME_ASSISTANT_TOKEN>
OPENAI_API_KEY=<OPENAI_API_KEY>
OPENAI_API_ORG=<OPEN_API_ORG>
  1. Create a virtual environment: python3 -m virtualenv .venv a) activate it source .venv/bin/activate
  2. pip install -r requirements a) You may have some issues installing pyaudio, to fix that on debian install the following packages portaudio19-dev python3-all-dev` with your favorite package manager
  3. python jarvis.py