[PR #8298] [MERGED] feat: Allow setting the initial vector length on pgvector document_chunk table #45247

Closed
opened 2026-04-29 19:35:40 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/8298
Author: @jk-f5
Created: 1/3/2025
Status: Merged
Merged: 1/3/2025
Merged by: @tjbck

Base: devHead: feat/pg_vector_size


📝 Commits (1)

  • 70b74b5 feat: Allow setting the initial vector length on pgvector document_chunk table

📊 Changes

2 files changed (+41 additions, -2 deletions)

View changed files

📝 backend/open_webui/config.py (+3 -0)
📝 backend/open_webui/retrieval/vector/dbs/pgvector.py (+38 -2)

📄 Description

Changelog Entry

Description

  • Allow setting the initial vector length on pgvector document_chunk table.

Added

  • New environment variable PGVECTOR_INITIALIZE_MAX_VECTOR_LENGTH
  • Check to be sure it remains consistent.

🔄 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/8298 **Author:** [@jk-f5](https://github.com/jk-f5) **Created:** 1/3/2025 **Status:** ✅ Merged **Merged:** 1/3/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/pg_vector_size` --- ### 📝 Commits (1) - [`70b74b5`](https://github.com/open-webui/open-webui/commit/70b74b5217e39b6eccbf5f5daed19f25e3b21a20) feat: Allow setting the initial vector length on pgvector document_chunk table ### 📊 Changes **2 files changed** (+41 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+3 -0) 📝 `backend/open_webui/retrieval/vector/dbs/pgvector.py` (+38 -2) </details> ### 📄 Description # Changelog Entry ### Description - Allow setting the initial vector length on pgvector document_chunk table. ### Added - New environment variable `PGVECTOR_INITIALIZE_MAX_VECTOR_LENGTH` - Check to be sure it remains consistent. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 19:35:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#45247