mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
[PR #5728] [MERGED] fix: Fix OpenAI batch embedding #8540
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/5728
Author: @sp301415
Created: 9/26/2024
Status: ✅ Merged
Merged: 9/26/2024
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (2)
a4bc0b2fix: Fix OpenAI batch embedding4fe1f24fix: Fix OpenAI batch embedding📊 Changes
3 files changed (+5 additions, -7 deletions)
View changed files
📝
backend/open_webui/apps/rag/main.py(+5 -1)📝
backend/open_webui/apps/rag/utils.py(+0 -2)📝
backend/open_webui/apps/rag/vector/dbs/milvus.py(+0 -4)📄 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 fixes batched embedding for OpenAI endpoints. As a side change, it also removes various
printstatements from the rag app, which is likely a byproduct of debugging.Closes #5698, and fixes #5637.
Removed
printstatements from RAG app.Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.