Skip to content
/ vgpt Public

convert mic input to the text (gcp stt) and tansfer to the GPT-3 (openai)

Notifications You must be signed in to change notification settings

jy-ha/vgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voice - GPT

What is this?

  1. Auto-Record your voice
  2. Convert it to the text
  3. Ask to GPT-3.5 (ChatGPT Turbo model)

Not working on WSL (pyaudio cannot access to your microphone)

installation

  1. Set your GCP speech-to-text-v2 and get your proper GCP service user
  2. Get your OpenAI API key
  3. Check portaudio
    • Windows : Do nothing
    • macOS : brew install portaudio
    • Linux : sudo apt-get install python3-pyaudio
  4. Install all requirements.txt
  5. Modify 'config.py' as you wish
  6. Write your environment variables to '.env' (gitignored)
  7. execute main.py

About

convert mic input to the text (gcp stt) and tansfer to the GPT-3 (openai)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages