open-webui/backend/open_webui/retrieval/vector/dbs
PVBLIC Foundation 3f58a17e47
Update pinecone.py
•	Removed the unused Pinecone REST‐client import; we now only import ServerlessSpec and the gRPC client.
	•	Enhanced close()
	•	Call self.client.close() to explicitly shut down the underlying gRPC channel.
	•	Log success or a warning on failure.
	•	Still tear down the thread‐pool executor afterward.
	•	Context‐manager support
	•	Added __enter__()/__exit__() so you can do:

with PineconeClient() as client:
    client.insert(...)
# automatically calls client.close()
2025-05-10 06:07:27 -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 fix: remove import for os module in milvus.py 2025-05-08 00:28:24 -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-10 06:07:27 -07:00
qdrant.py feat: Add abstract base class for vector database integration 2025-04-21 08:27:27 +03:00