Not really a voice assistant, but rather ChatGPT without a keyboard.
- Make sure to have python installed
pip install -r requirements.txt
python main.py
- You can now open and edit
settings/settings.json
- prefix: is used to know where is the beginning of a sentence, it's like "Alexa" or "Ok google".
- api-key: The OpenAI API uses API keys for authentication. Visit your API Keys page to retrieve the API key you'll use in your requests, 18$ of credits are free.
- engine: OpenIA API setting, the default one (
text-davinci-003
) is the best for ChatGPT-3, you can find the others engines here. - max_tokens OpenIA API setting which is used to put a limit on your request so as not to use too many tokens.
- temperature: Higher values means the model will take more risks. Try 0.9 for more creative applications, and 0 (argmax sampling) for ones with a well-defined answer.
- language: .
- voice selected & voices: Change voice, documentation here
- device selected & audio devices: Select your microphone, make sure to select the first one with the name of your microphone, if the microphone does not work, try another one.
python main.py