mirror of
https://github.com/Mintplex-Labs/vector-admin.git
synced 2026-07-01 18:20:51 -04:00
[PR #58] [MERGED] rely on provider for counting of vectors and only optionally fallback on DB due to slow query #118
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Mintplex-Labs/vector-admin/pull/58
Author: @timothycarambat
Created: 9/25/2023
Status: ✅ Merged
Merged: 9/25/2023
Merged by: @timothycarambat
Base:
master← Head:rely-on-provider-for-counts📝 Commits (1)
6544089rely on provider for counting of vectors and only optionally fallback on DB due to slow query📊 Changes
7 files changed (+61 additions, -17 deletions)
View changed files
📝
backend/endpoints/v1/workspaces/index.js(+2 -2)📝
backend/models/workspaceDocument.js(+23 -2)📝
backend/utils/vectordatabases/providers/chroma/index.js(+10 -1)📝
backend/utils/vectordatabases/providers/index.js(+7 -8)📝
backend/utils/vectordatabases/providers/pinecone/index.js(+11 -1)📝
backend/utils/vectordatabases/providers/qdrant/index.js(+4 -1)📝
backend/utils/vectordatabases/providers/weaviate/index.js(+4 -2)📄 Description
Until the data migration is done and
organiztion_idis appended todocument vectorswe will need to rely on the provider for counting vectors....IN(1,2,3,)query looking for document ids that are indocument_vectorsand would be easier to have a fixedorganization_idkey we canCOUNTagainst since we will very easily reach the upper end ofIN()parameters🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.