Find answers from the community

Updated 2 years ago

i m getting an auth error calling

At a glance
i'm getting an auth error calling GPTVectorStoreIndex.from_documents. if i'm setting up os.environ['OPENAI_API_KEY'], is there anything else i should look into to figure this out?
J
L
6 comments
i'm just trying a very simple gpt vector here
i even tried regenerating the api key and it doesn't seem to make a difference
alright.. looking at the chat history here in this channel, i tried adding import openai openai.api_key = "sk-..." and that magically fixed it
Yea, some weird api stuff happening recently with langchain, not sure why
Add a reply
Sign up and join the conversation on Discord