[PR #4738] [MERGED] VectorDatabase base class #4745

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4738
Author: @shatfield4
Created: 12/8/2025
Status: Merged
Merged: 12/10/2025
Merged by: @timothycarambat

Base: vectordb-class-migrationHead: vectordb-class-migration-base-class


📝 Commits (3)

  • b0a8ca5 create generic VectorDatabase base class
  • 597baa9 Merge branch 'vectordb-class-migration' into vectordb-class-migration-base-class
  • 6f9fef9 Merge branch 'vectordb-class-migration' into vectordb-class-migration-base-class

📊 Changes

1 file changed (+193 additions, -0 deletions)

View changed files

server/utils/vectorDbProviders/base.js (+193 -0)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #xxx

What is in this change?

  • Creates VectorDatabase base class that will be used as a base for all vector db providers
  • Throws errors on methods that are required to be implemented by all providers
  • Allows us to easily create new methods in this base class that can be used across all providers (reranking)

Additional Information

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/4738 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 12/8/2025 **Status:** ✅ Merged **Merged:** 12/10/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `vectordb-class-migration` ← **Head:** `vectordb-class-migration-base-class` --- ### 📝 Commits (3) - [`b0a8ca5`](https://github.com/Mintplex-Labs/anything-llm/commit/b0a8ca5fa75acf0eb0f07d8c089dd7c6deba10d2) create generic VectorDatabase base class - [`597baa9`](https://github.com/Mintplex-Labs/anything-llm/commit/597baa907195f164e772cb4f2511d3016652816a) Merge branch 'vectordb-class-migration' into vectordb-class-migration-base-class - [`6f9fef9`](https://github.com/Mintplex-Labs/anything-llm/commit/6f9fef9dbb934ca4d9d0534e79b0f185f0f62cf3) Merge branch 'vectordb-class-migration' into vectordb-class-migration-base-class ### 📊 Changes **1 file changed** (+193 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `server/utils/vectorDbProviders/base.js` (+193 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [x] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #xxx ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Creates `VectorDatabase` base class that will be used as a base for all vector db providers - Throws errors on methods that are required to be implemented by all providers - Allows us to easily create new methods in this base class that can be used across all providers (reranking) ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### 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:36:27 -05:00
yindo closed this issue 2026-02-22 18:36:27 -05:00
yindo changed title from [PR #4738] VectorDatabase base class to [PR #4738] [MERGED] VectorDatabase base class 2026-06-05 15:20:09 -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#4745