Before submitting, make sure you've checked the following:
[ x ] Target branch: Please verify that the pull request targets the dev branch.
[ x ] Description: Provide a concise description of the changes made in this pull request.
[ x ] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ x ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[ x ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[ x ] Testing: Have you written and run sufficient tests to validate the changes?
[ x ] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[ x ] Prefix: To clearly categorize this pull request, prefix the pull request title using one of the following:
BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work
Enables the use of an S3 Vector Bucket for Knowledge vector storage
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), 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.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/15951
**Author:** [@westbrook-ai](https://github.com/westbrook-ai)
**Created:** 7/23/2025
**Status:** ✅ Merged
**Merged:** 7/23/2025
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `s3vector-support`
---
### 📝 Commits (8)
- [`d9f2b6b`](https://github.com/open-webui/open-webui/commit/d9f2b6b14e4b46fa8660e90c047001f7fc75cbab) feat: add starter config for s3 vector
- [`5fbfe2b`](https://github.com/open-webui/open-webui/commit/5fbfe2bdcadf5f157926f6551891e4dc0802b9f3) Merge pull request #15879 from open-webui/dev
- [`5c59c50`](https://github.com/open-webui/open-webui/commit/5c59c50e2d530779b27c4f892531ec00caab191d) more prgoress on s3 vector
- [`f6ee196`](https://github.com/open-webui/open-webui/commit/f6ee1965cbadeb1654f96686dd94c9b3051f7fb0) merge main
- [`d463a29`](https://github.com/open-webui/open-webui/commit/d463a29ba17d5eb7d3ad0f38980a1e38eefbb4b3) feat: S3 vector support tested
- [`6c283cd`](https://github.com/open-webui/open-webui/commit/6c283cdd9305a0fae02a210196677a4fe4540558) fix: boto3 version in uv.lock
- [`8dcf668`](https://github.com/open-webui/open-webui/commit/8dcf6684482d3d6a80a879821118e1032fb6b658) chore: final cleanup
- [`860f3b3`](https://github.com/open-webui/open-webui/commit/860f3b3cab61e4cc8ae22c42b711565569c24ffe) chore: run formatting
### 📊 Changes
**6 files changed** (+756 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/dev.sh` (+1 -1)
📝 `backend/open_webui/config.py` (+4 -0)
➕ `backend/open_webui/retrieval/vector/dbs/s3vector.py` (+745 -0)
📝 `backend/open_webui/retrieval/vector/factory.py` (+4 -0)
📝 `backend/open_webui/retrieval/vector/type.py` (+1 -0)
📝 `uv.lock` (+1 -1)
</details>
### 📄 Description
# Pull Request Checklist
**Before submitting, make sure you've checked the following:**
- [ x ] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [ x ] **Description:** Provide a concise description of the changes made in this pull request.
- [ x ] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [ x ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources?
- [ x ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
- [ x ] **Testing:** Have you written and run sufficient tests to validate the changes?
- [ x ] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
- [ x ] **Prefix:** To clearly categorize this pull request, prefix the pull request title using one of the following:
- **BREAKING CHANGE**: Significant changes that may affect compatibility
- **build**: Changes that affect the build system or external dependencies
- **ci**: Changes to our continuous integration processes or workflows
- **chore**: Refactor, cleanup, or other non-functional code changes
- **docs**: Documentation update or addition
- **feat**: Introduces a new feature or enhancement to the codebase
- **fix**: Bug fix or error correction
- **i18n**: Internationalization or localization changes
- **perf**: Performance improvement
- **refactor**: Code restructuring for better maintainability, readability, or scalability
- **style**: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.)
- **test**: Adding missing tests or correcting existing tests
- **WIP**: Work in progress, a temporary label for incomplete or ongoing work
# Changelog Entry
### Description
- Adds support for [S3 Vector Bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-vectors.html) backend within Knowledge feature. Documentation is added in this Docs PR: https://github.com/open-webui/docs/pull/632
### Added
- Enables the use of an S3 Vector Bucket for Knowledge vector storage
---
### Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/15951
Author: @westbrook-ai
Created: 7/23/2025
Status: ✅ Merged
Merged: 7/23/2025
Merged by: @tjbck
Base:
dev← Head:s3vector-support📝 Commits (8)
d9f2b6bfeat: add starter config for s3 vector5fbfe2bMerge pull request #15879 from open-webui/dev5c59c50more prgoress on s3 vectorf6ee196merge maind463a29feat: S3 vector support tested6c283cdfix: boto3 version in uv.lock8dcf668chore: final cleanup860f3b3chore: run formatting📊 Changes
6 files changed (+756 additions, -2 deletions)
View changed files
📝
backend/dev.sh(+1 -1)📝
backend/open_webui/config.py(+4 -0)➕
backend/open_webui/retrieval/vector/dbs/s3vector.py(+745 -0)📝
backend/open_webui/retrieval/vector/factory.py(+4 -0)📝
backend/open_webui/retrieval/vector/type.py(+1 -0)📝
uv.lock(+1 -1)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), 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.