Invaild api key while key was used successfully in same .py earlier in script

Hi @george.blueocean, your assumption is correct. The LangChain package looks for an environment variable named PINECONE_API_KEY.

For an example, please see Initializing a vector store in our LangChain integration docs.

1 Like