open-webui/backend/open_webui/retrieval/vector
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
..
dbs Update pinecone.py 2025-05-10 06:07:27 -07:00
connector.py feat(vector-db): add support for Pinecone client 2025-04-20 11:08:51 +03:00
main.py feat: Add abstract base class for vector database integration 2025-04-21 08:27:27 +03:00