score threshold cannot be 0.xx but can only be 0 or 1 when creating a knowledge base #11290

Closed
opened 2026-02-21 18:57:53 -05:00 by yindo · 0 comments
Owner

Originally created by @voyager0003 on GitHub (Mar 16, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

330dc2fd44 @main branch

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. http://:/datasets/create
  2. upload any txt
  3. scroll down and find search setting block
  4. turn on the score threshold in vector search
  5. try to enter a float number e.g 0.9
  6. the up and down button right of the textbox can not work too

the screenshot is following:

Image
Image

✔️ Expected Behavior

I want to enter a float score threshold, such as 0.9

Actual Behavior

only can be 0 or 1, which is meaningless

Originally created by @voyager0003 on GitHub (Mar 16, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 330dc2fd440110306fbd06253415645fb27013bc @main branch ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. http://<ip>:<port>/datasets/create 2. upload any txt 3. scroll down and find search setting block 4. turn on the score threshold in vector search 5. try to enter a float number e.g 0.9 6. the up and down button right of the textbox can not work too the screenshot is following: ![Image](https://github.com/user-attachments/assets/b97f6f0b-45e5-44eb-b72c-a877ac243990) ![Image](https://github.com/user-attachments/assets/73ad66bd-b254-47a9-926e-97f497d14f3a) ### ✔️ Expected Behavior I want to enter a float score threshold, such as 0.9 ### ❌ Actual Behavior only can be 0 or 1, which is meaningless
yindo added the 🐞 bug label 2026-02-21 18:57:53 -05:00
yindo closed this issue 2026-02-21 18:57:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11290