open-webui/backend
PVBLIC Foundation 04b9065f08
Update pinecone.py
Now supports batched insert, upsert, and delete operations using a default batch size of 100, reducing API strain and improving throughput. All blocking calls to the Pinecone API are wrapped in asyncio.to_thread(...), ensuring async safety and preventing event loop blocking. The implementation includes zero-vector handling for efficient metadata-only queries, normalized cosine distance scores for accurate ranking, and protections against empty input operations. Logs for batch durations have been streamlined to minimize noise, while preserving key info-level success logs.
2025-05-08 15:53:30 -07:00
..
data
open_webui Update pinecone.py 2025-05-08 15:53:30 -07:00
.dockerignore
.gitignore
dev.sh
requirements.txt chore: bump 2025-05-04 00:15:46 +04:00
start_windows.bat refac: web/rag config 2025-04-12 16:33:36 -07:00
start.sh Fix: Use dynamic Python command to run uvicorn and support pyenv setups. 2025-04-29 09:14:23 +01:00