Where to set the OPENAI-API-KEY #10
Replies: 2 comments
-
Set it as an environment variable as recommended by OpenAI https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you very much! This solved this error
Op di 10 okt 2023 04:49 schreef justLV ***@***.***>:
… Set it as an environment variable as recommended by OpenAI
https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety
—
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFIQ5MDN3TPHBK74POJAELX6SZT3AVCNFSM6AAAAAA5X4FBTOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TEMZWGA2TG>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After transcribing i keep getting this error
"2023-10-04 22:19:59,293 - ERROR - Attempt 1 of 4 failed: No API key provided. You can set your API key in code using 'openai.api_key = ', or you can set the environment variable OPENAI_API_KEY=). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = '. You can generate API keys in the OpenAI web interface. See https://platform.openai.com/account/api-keys for details."
In what file do i need to set up the API key? I have tried credentials.json and config.yaml but it keeps this error
Beta Was this translation helpful? Give feedback.
All reactions