open-webui/backend/open_webui
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
..
data
internal use unquote_user in peewee 3.17.10 2025-05-20 15:18:32 -04:00
migrations feat: notes 2025-05-03 18:16:32 +04:00
models fix: oauth 2025-05-05 19:38:36 +04:00
retrieval Update pinecone.py 2025-05-21 15:28:42 -07:00
routers fix/refac: functions multi-replica issue 2025-05-20 20:20:27 +04:00
socket refac: socket 2025-05-09 14:23:16 +04:00
static
storage Update provider.py 2025-05-07 14:48:49 +02:00
test
utils refac 2025-05-20 23:55:11 +04:00
__init__.py Update __init__.py 2025-04-15 09:55:35 +02:00
alembic.ini
config.py enh: ALLOWED_FILE_EXTENSIONS ui 2025-05-16 21:05:52 +04:00
constants.py
env.py enh: sentence transformers env vars 2025-04-24 01:55:18 +09:00
functions.py fix/refac: functions multi-replica issue 2025-05-20 20:20:27 +04:00
main.py refac 2025-05-16 23:36:33 +04:00
tasks.py fix: ongoing chat stop issue 2025-04-12 20:51:02 -07:00