Skip to content

nodejs script that enables continuous conversation with voice recognition and tts speaker responses

Notifications You must be signed in to change notification settings

DanielTerletzkiy/chat-gtp-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat-gtp-assistant (wip)

Provides continuous conversation with microphone and speakers like using Google Assistant After starting the script you'll be asked to resolve the captcha in the puppeteer browser instance the script will then listen to your default microphone until silence of about 5 seconds has been reached, the language model will then try to guess the things you said and pass them on to chatGPT and its output will be used to fetch googleTTS files to play on the default system speaker

How to use

  1. Create .env file
        OPENAI_EMAIL="your_email"
        OPENAI_PASSWORD="your_password"
        CHROME_PATH="your_chrome_path"
  2. npm install
  3. install sox (if on windows) and libmad-0.dll for sox
  4. install preferred vosk models for speech recognition, put them into model/ folder
  5. resolve other missing dependencies
  6. npm run dev

About

nodejs script that enables continuous conversation with voice recognition and tts speaker responses

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published