hyperDB icon indicating copy to clipboard operation
hyperDB copied to clipboard

OpenAI API Key Error?

Open ChristopherLyon opened this issue 1 year ago • 0 comments

openai.error.AuthenticationError: No API key provided. You can set your API key in code using 'openai.api_key = <API-KEY>', or you can set the environment variable OPENAI_API_KEY=<API-KEY>). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = <PATH>'. You can generate API keys in the OpenAI web interface. See https://platform.openai.com/account/api-keys for details.

Adding to .env or setting in hyperdb.py make no difference.

openai v0.28.0

ChristopherLyon avatar Sep 12 '23 19:09 ChristopherLyon