mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #16263] [CLOSED] feat: support extra metadata in vectordb #39712
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/16263
Author: @guenhter
Created: 8/4/2025
Status: ❌ Closed
Base:
dev← Head:support-more-meta-in-vectordb📝 Commits (1)
73902f9feat: support extra metadata in vectordb📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
backend/open_webui/routers/retrieval.py(+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
This PR is just a preparation for a bigger epic to support more sources for creating knowledge basis, like Sharepoint, Web, ... (https://github.com/open-webui/open-webui/issues/5872, https://github.com/open-webui/open-webui/discussions/13877, https://github.com/open-webui/open-webui/discussions/13713, https://discord.com/channels/1170866489302188073/1241654544639725609/threads/1395395559124238366)
The main aim of this PR is to support storing the extra metadata of table
filefieldmeta.dataalso in the vector db. Having extra metadata has several use cases:Added
filescolumnmeta.data)Additional Information
This also works when the DB is re-indexed, as the metadata is used from the
filetable of the sql db.This is also contributing as preparation for features like this: https://qdrant.tech/documentation/search-precision/automate-filtering-with-llms/
Screenshots or Videos
Qdrant point when metadata is nested:

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.