deepgram-previews / real-time-voice-bot

MIT License
20 stars 13 forks source link

Do I need a config.json file somewhere? #2

Closed timsears closed 10 months ago

timsears commented 11 months ago

I get a client side popup with

Error: You must configure your OpenAI API Key in the config.json to use the "Respond with AI" feature.

on the server side I see this ERROR MESG Could not send. Connection not open.

jjmaldonis commented 10 months ago

Hey @timsears, we are working on updating this code.

You need to set an environment variable, see the relevant code here: https://github.com/deepgram/real-time-voice-bot/blob/main/server.js#L88