open-webui/backend/open_webui/retrieval
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
..
loaders chore: format 2025-05-07 02:01:03 +04:00
models refactor: replace print statements with logging for better error tracking 2025-02-25 15:53:55 +01:00
vector Update pinecone.py 2025-05-10 06:07:27 -07:00
web chore: format 2025-05-03 23:48:24 +04:00
utils.py Use SHA256 For Query Result Computation 2025-05-01 03:56:20 -04:00