Node program that runs in a shell and uses the microphone and speaker for real time chat with chatGPT
Make sure you have arecord installed on your system
$ npm i
$ mv env .env
$ vi .env
add your OpenAI API key
$ node aiChat.js
Node program that runs in a shell and uses the microphone and speaker for real time chat with chatGPT
JavaScriptUnlicense