Closed juanccontreras8 closed 6 months ago
Same is happening with me.
TypeError: Pinecone.__init__() got an unexpected keyword argument 'api_key'
[2024-02-12 16:16:51,898] ERROR in polling_thread: Error in polling thread: Pinecone.__init__() got an unexpected keyword argument 'api_key'
I found out what was causing the error on my side. Double check imports - make sure there is no duplicate imports. I had an import: from langchain.vectorstores import Pinecone
Thanks. @ranjanbatra3pg I also had the same issue. now fixed..
Is this a new bug in the Pinecone Python client?
Current Behavior
Pinecone(api_key = ) isn't initializing
Expected Behavior
Class should initialize
Steps To Reproduce
Relevant log output
Environment
Additional Context
No response