open-webui/backend/open_webui/retrieval
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
..
loaders minor bug fix for external document loader not working 2025-05-20 11:10:23 +05:30
models feat: external reranker 2025-05-10 18:25:20 +04:00
vector Update pinecone.py 2025-05-21 15:28:42 -07:00
web Merge pull request #14073 from tth37/fix_default_web_loader_verify_ssl 2025-05-20 17:24:22 +04:00
utils.py feat:Add vector type and vector factory class for vector database integration 2025-05-14 21:30:50 +08:00