[PR #605] [MERGED] Fix present diminsions on vectorDBs to be inferred for providers who require it #3419

Closed
opened 2026-02-22 18:33:44 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/605
Author: @timothycarambat
Created: 1/16/2024
Status: Merged
Merged: 1/16/2024
Merged by: @timothycarambat

Base: masterHead: vector-db-preset-dimensions


📝 Commits (1)

  • 921e8ee Fix present diminsions on vectorDBs to be inferred for providers who require it

📊 Changes

6 files changed (+35 additions, -26 deletions)

View changed files

📝 server/utils/EmbeddingEngines/azureOpenAi/index.js (+0 -1)
📝 server/utils/EmbeddingEngines/localAi/index.js (+0 -4)
📝 server/utils/EmbeddingEngines/native/index.js (+0 -1)
📝 server/utils/EmbeddingEngines/openAi/index.js (+0 -1)
📝 server/utils/vectorDbProviders/milvus/index.js (+12 -8)
📝 server/utils/vectorDbProviders/qdrant/index.js (+23 -11)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

What is in this change?

For vectorDbs who require a strict dimension argument on creation, we opt to now infer the dimensionality from the first chunk that is being upserted to the collection in question.

Additional Information

This only applies to Milvus and QDrant

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/605 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 1/16/2024 **Status:** ✅ Merged **Merged:** 1/16/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `vector-db-preset-dimensions` --- ### 📝 Commits (1) - [`921e8ee`](https://github.com/Mintplex-Labs/anything-llm/commit/921e8ee6af8811cd750d4a41820b3f8b7d3e6b20) Fix present diminsions on vectorDBs to be inferred for providers who require it ### 📊 Changes **6 files changed** (+35 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `server/utils/EmbeddingEngines/azureOpenAi/index.js` (+0 -1) 📝 `server/utils/EmbeddingEngines/localAi/index.js` (+0 -4) 📝 `server/utils/EmbeddingEngines/native/index.js` (+0 -1) 📝 `server/utils/EmbeddingEngines/openAi/index.js` (+0 -1) 📝 `server/utils/vectorDbProviders/milvus/index.js` (+12 -8) 📝 `server/utils/vectorDbProviders/qdrant/index.js` (+23 -11) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [x] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### What is in this change? For vectorDbs who require a strict dimension argument on creation, we opt to now infer the dimensionality from the first chunk that is being upserted to the collection in question. ### Additional Information This only applies to Milvus and QDrant ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:33:44 -05:00
yindo closed this issue 2026-02-22 18:33:45 -05:00
yindo changed title from [PR #605] Fix present diminsions on vectorDBs to be inferred for providers who require it to [PR #605] [MERGED] Fix present diminsions on vectorDBs to be inferred for providers who require it 2026-06-05 15:13:18 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3419