mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #87] fix: normalize rerank score to 0-1 range when only one document #135
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/langgenius/dify-plugin-sdks/pull/87
Author: @zhengdewei0817
Created: 4/10/2025
Status: 🔄 Open
Base:
main← Head:fix-fix-rerank-score-normalize📝 Commits (1)
28eb07bfix: normalize rerank score to 0-1 range when only one document📊 Changes
1 file changed (+3 additions, -0 deletions)
View changed files
📝
python/dify_plugin/interfaces/model/openai_compatible/rerank.py(+3 -0)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.