Skip to content
/ ok-gpt Public

ChatGPT powered Google Home / Alexa type system

Notifications You must be signed in to change notification settings

unconv/ok-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ok, GPT!

This is an ongoing project where I'm building my own Google Home / Alexa style device that can be interacted with via voice commands.

Currently it can detect a wakeup keyphrase, such as "Ok, GPT!" and then listen to a voice command. Speech recognition is done with OpenAI Whisper, locally. The command is then sent to the ChatGPT API and the response is spoken via the OpenAI Text-to-Speech API.

You need to initialize it with the init.py script by saying the keyphrase you want to wake up the device with 10 times. After that you can run recognize.py and it will recognize when you say the keyphrase and then listen for the command.

Quick Start

$ export OPENAI_API_KEY=YOUR_API_KEY
$ pip install -r requirements.txt
$ python3 init.py
$ python3 recognize.py

Videos

The building of this project is documented on my YouTube channel.

About

ChatGPT powered Google Home / Alexa type system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages