mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #11033] [MERGED] fix: Changed to use collection_name and fixed bulk indexing missing index. #22646
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/11033
Author: @dtaivpp
Created: 3/1/2025
Status: ✅ Merged
Merged: 3/2/2025
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (1)
f3c4c2bChanged to use colleciton name and fixed bulk indexing missing index.📊 Changes
1 file changed (+22 additions, -21 deletions)
View changed files
📝
backend/open_webui/retrieval/vector/dbs/opensearch.py(+22 -21)📄 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
Fixed
Description
This PR fixes two bugs. Previously, positional parameters were used to pass the index_name, however now the project now passes in named parameter called collection_name. The second is the bulk insertion was missing the name of the index needed to insert the documents into.
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.