[PR #28586] Fix 500 error in knowledge base, select weightedScore and click retrieve. #32101

Closed
opened 2026-02-21 20:50:45 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/28586

State: closed
Merged: Yes


Summary

Fix #28508 by provide a lightweight frequency-based extractor if TFIDF missing.

Screenshots

Before After
Image Image No error

Checklist

  • This change NO requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • No test.
  • No need update the documentation.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/28586 **State:** closed **Merged:** Yes --- ## Summary Fix #28508 by provide a lightweight frequency-based extractor if TFIDF missing. ## Screenshots | Before | After | |--------|-------| | <img width="1198" height="647" alt="Image" src="https://github.com/user-attachments/assets/934a938e-9dd8-44bf-a929-962a07b35187" /> <img width="1047" height="515" alt="Image" src="https://github.com/user-attachments/assets/6bd0b0a1-e60a-4408-bbad-4b4acd377583" /> | No error | ## Checklist - [x] This change *NO* requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] No test. - [x] No need update the documentation. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:50:45 -05:00
yindo closed this issue 2026-02-21 20:50:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#32101