Python: PineconeMemoryStore fails to initialize with a pinecone client error
Describe the bug
The PineconeMemoryStore connector fails to initialize with a pinecone client error
To Reproduce Steps to reproduce the behavior:
- Attempt to register the
PineconeMemoryStoreby callingkernel.register_memory_store - Results in error: "AttributeError: init is no longer a top-level attribute of the pinecone package."
Expected behavior
The PineconeMemoryStore is registered and available.
Screenshots If applicable, add screenshots to help explain your problem.
Platform
- OS: Ubuntu, Windows
- VS Code
- Language: Python
- Source: Semantic Kernel python package=
0.5.0dev0
Additional context
The issue is semantic-kernel/python/semantic_kernel/connectors/memory/pinecone/pinecone_memory_store.py, line 60 pinecone.init(api_key=self._pinecone_api_key, environment=self._pinecone_environment)
Replace the call to pinecone.init with:
pc = Pinecone(
api_key=self._pinecone_api_key
)
This issue is stale because it has been open for 90 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.