deepgram-previews / real-time-voice-bot

MIT License
19 stars 12 forks source link

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

Closed timsears closed 8 months ago

timsears commented 8 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 8 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