mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #13073] [MERGED] feat(vector-db): add support for Pinecone client #23089
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/13073
Author: @athoik
Created: 4/20/2025
Status: ✅ Merged
Merged: 4/20/2025
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (1)
e000c56feat(vector-db): add support for Pinecone client📊 Changes
5 files changed (+421 additions, -1 deletions)
View changed files
📝
backend/open_webui/config.py(+8 -0)📝
backend/open_webui/retrieval/vector/connector.py(+4 -0)➕
backend/open_webui/retrieval/vector/dbs/pinecone.py(+407 -0)📝
backend/requirements.txt(+1 -1)📝
pyproject.toml(+1 -0)📄 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
Adds Pinecone as a supported vector database option.
Added
[List any new features, functionalities, or additions]
Implements
PineconeClientwith support for common operations:add,query,delete,reset.Emulates namespace support using metadata filtering (
collection_nameprefix).Dynamically configures Pinecone via the following env vars:
PINECONE_API_KEYPINECONE_ENVIRONMENTPINECONE_INDEX_NAMEPINECONE_DIMENSIONPINECONE_METRICPINECONE_CLOUDIntegrates cleanly with the vector DB abstraction layer.
Includes markdown documentation under
docs/getting-started/env-configuration.md.https://github.com/open-webui/docs/pull/509
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
BREAKING CHANGE: None
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.