mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[PR #13098] [MERGED] feat: Add abstract base class for vector database integration #23101
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/open-webui/open-webui/pull/13098
Author: @athoik
Created: 4/21/2025
Status: ✅ Merged
Merged: 4/23/2025
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (1)
1e291affeat: Add abstract base class for vector database integration📊 Changes
8 files changed (+117 additions, -15 deletions)
View changed files
📝
backend/open_webui/retrieval/vector/dbs/chroma.py(+7 -2)📝
backend/open_webui/retrieval/vector/dbs/elasticsearch.py(+7 -2)📝
backend/open_webui/retrieval/vector/dbs/milvus.py(+7 -2)📝
backend/open_webui/retrieval/vector/dbs/opensearch.py(+7 -2)📝
backend/open_webui/retrieval/vector/dbs/pgvector.py(+7 -2)📝
backend/open_webui/retrieval/vector/dbs/pinecone.py(+7 -2)📝
backend/open_webui/retrieval/vector/dbs/qdrant.py(+7 -2)📝
backend/open_webui/retrieval/vector/main.py(+68 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
VectorDBBaseas an abstract base class to standardize vector database operations.Added
has_collection,delete_collection,insert,upsert,search,query,get,delete,reset.Changed
VectorDBBaseclass to ensure a consistent API across different systems.Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the CONTRIBUTOR_LICENSE_AGREEMENT, and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.