open-webui/backend/open_webui/retrieval/vector/dbs
PVBLIC Foundation 86e24bb4aa
Update pinecone.py
I've improved the pinecone.py file by:
Updated from the deprecated PineconeGRPC client to the newer Pinecone client
Modified the client initialization code to match the new API requirements
Added better response handling with getattr() to safely access attributes from response objects
Removed the streaming_upsert method which is not available in the newer client
Added safer attribute access with fallbacks throughout the code
Updated the close method to reflect that the newer client doesn't need explicit closing
These changes ensure the code is compatible with the latest Pinecone Python SDK and will be more robust against future changes. The key improvement is migrating away from the deprecated gRPC client which will eventually stop working.
2025-05-21 15:28:42 -07:00
..
chroma.py feat: Add abstract base class for vector database integration 2025-04-21 08:27:27 +03:00
elasticsearch.py feat: Add abstract base class for vector database integration 2025-04-21 08:27:27 +03:00
milvus.py chore: format 2025-05-10 19:00:01 +04:00
opensearch.py feat: Add abstract base class for vector database integration 2025-04-21 08:27:27 +03:00
pgvector.py ~ truncate vectors for pgvector if too big 2025-04-30 05:35:17 +00:00
pinecone.py Update pinecone.py 2025-05-21 15:28:42 -07:00
qdrant_multitenancy.py feat: Implement Qdrant multi-tenancy support with collection management and tenant isolation 2025-05-15 11:28:06 +07:00
qdrant.py feat: Add abstract base class for vector database integration 2025-04-21 08:27:27 +03:00