[PR #1687] [MERGED] feat: move to native sentence_transformers #20751

Closed
opened 2026-04-20 03:09:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1687
Author: @buroa
Created: 4/22/2024
Status: Merged
Merged: 4/22/2024
Merged by: @tjbck

Base: devHead: buroa/huggingface-embeddings


📝 Commits (1)

  • f3e5700 feat: move to native sentence_transformer

📊 Changes

7 files changed (+155 additions, -270 deletions)

View changed files

📝 CHANGELOG.md (+6 -0)
📝 Dockerfile (+6 -6)
📝 backend/apps/rag/main.py (+89 -119)
📝 backend/apps/rag/utils.py (+45 -139)
📝 backend/config.py (+6 -5)
📝 backend/requirements.txt (+2 -0)
📝 src/lib/components/documents/Settings/General.svelte (+1 -1)

📄 Description

Using the ChromaDB ones are very limiting, and under the hood they are just sentence-transformer models anyways. Let's open it up and let them use any embedding model sentence_transformers supports loading.


🔄 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/1687 **Author:** [@buroa](https://github.com/buroa) **Created:** 4/22/2024 **Status:** ✅ Merged **Merged:** 4/22/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `buroa/huggingface-embeddings` --- ### 📝 Commits (1) - [`f3e5700`](https://github.com/open-webui/open-webui/commit/f3e5700d49d5c7fe609aa16530b1b5d83ae10b90) feat: move to native sentence_transformer ### 📊 Changes **7 files changed** (+155 additions, -270 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+6 -0) 📝 `Dockerfile` (+6 -6) 📝 `backend/apps/rag/main.py` (+89 -119) 📝 `backend/apps/rag/utils.py` (+45 -139) 📝 `backend/config.py` (+6 -5) 📝 `backend/requirements.txt` (+2 -0) 📝 `src/lib/components/documents/Settings/General.svelte` (+1 -1) </details> ### 📄 Description Using the ChromaDB ones are very limiting, and under the hood they are just sentence-transformer models anyways. Let's open it up and let them use any embedding model `sentence_transformers` supports loading. --- <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-20 03:09:41 -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#20751