mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #13261] [CLOSED] feat: Add API-based reranking with Cohere #38767
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/13261
Author: @bcambs09
Created: 4/27/2025
Status: ❌ Closed
Base:
dev← Head:cohere-reranking📝 Commits (2)
585a1f6Add Cohere rerankingb7b31ebFix Cohere reranking bugs📊 Changes
7 files changed (+112 additions, -2 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+2 -1)➕
backend/open_webui/retrieval/models/cohere.py(+56 -0)📝
backend/open_webui/retrieval/utils.py(+5 -1)📝
backend/open_webui/routers/retrieval.py(+19 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+22 -0)📝
src/lib/i18n/locales/en-US/translation.json(+2 -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
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the CONTRIBUTOR_LICENSE_AGREEMENT, 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.