[PR #1905] [MERGED] fix: change r_score type to float #91867

Closed
opened 2026-05-15 17:23:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1905
Author: @7a6ac0
Created: 5/2/2024
Status: Merged
Merged: 5/2/2024
Merged by: @tjbck

Base: devHead: r_score_type


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/apps/rag/utils.py (+1 -1)

📄 Description

fix: Change the type from int to float

Pull Request Checklist

  • Description: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for the changes?
  • Code Review: Have you self-reviewed your code and addressed any coding standard issues?

Description

Fixed wrong data type in the function query_doc_with_hybrid_search


Changelog Entry

Fixed

  • Change the data type of parameter r from int to float

🔄 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/1905 **Author:** [@7a6ac0](https://github.com/7a6ac0) **Created:** 5/2/2024 **Status:** ✅ Merged **Merged:** 5/2/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `r_score_type` --- ### 📝 Commits (1) - [`fffd283`](https://github.com/open-webui/open-webui/commit/fffd283b0ccee95db391f8ceec342fe67d8f1fbf) fix: ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/rag/utils.py` (+1 -1) </details> ### 📄 Description fix: Change the type from int to float ## Pull Request Checklist - [x] **Description:** Briefly describe the changes in this pull request. - [ ] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [ ] **Testing:** Have you written and run sufficient tests for the changes? - [ ] **Code Review:** Have you self-reviewed your code and addressed any coding standard issues? --- ## Description Fixed wrong data type in the function `query_doc_with_hybrid_search` --- ### Changelog Entry ### Fixed - Change the data type of parameter `r` from int to float --- <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-05-15 17:23:07 -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#91867