Have a conversation with ChatGPT using your voice, and have it talk back.
espeak
ffmpeg
portaudio19-dev
python3-pyaudio
To install all of them:
sudo apt install portaudio19-dev python3-pyaudio ffmpeg espeak
Copy config.json.example
to config.json
and fill in the session_token
value following the guide here.
Also, install requirements:
pip install -r requirements.txt
Run chatgpt.py
, and wait 2 seconds before starting the conversation (this is to normalise ambient noise). You can keep responding to ChatGPT, it's all 1 "conversation".