You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing data for a class with the vectorizer set to 'text2vec-openai', I got the error
OpenAI API Key: no api key found neither in request header: X-OpenAI-Api-Key nor in environment variable under OPENAI_APIKEY
However, OPENAI_APIKEY was in fact set. The error was thus misleading.
Would it be within the scope of the client to automatically pick up the OpenAI API key from the OPENAI_APIKEY environment variable and add it into the request header, i.e. by setting headers: { 'X-OpenAI-Api-Key': process.env.OPENAI_APIKEY }?
The text was updated successfully, but these errors were encountered:
When importing data for a class with the vectorizer set to 'text2vec-openai', I got the error
However,
OPENAI_APIKEY
was in fact set. The error was thus misleading.Would it be within the scope of the client to automatically pick up the OpenAI API key from the
OPENAI_APIKEY
environment variable and add it into the request header, i.e. by settingheaders: { 'X-OpenAI-Api-Key': process.env.OPENAI_APIKEY }
?The text was updated successfully, but these errors were encountered: