open-webui/backend/open_webui/retrieval/vector/dbs
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
..
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-08 15:53:30 -07:00
qdrant.py feat: Add abstract base class for vector database integration 2025-04-21 08:27:27 +03:00