dify icon indicating copy to clipboard operation
dify copied to clipboard

The knowledge metadata is filtered, and irrelevant documents in the knowledge are filtered out

Open tielei60 opened this issue 8 months ago • 1 comments

Self Checks

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

Dify version

1.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

Image

The two pictures above are from a knowledge base with different metadata settings.

Image

When filtering the metadata of the knowledge base, only the data with the metadata product_name=2.0养老年金保险 should be filtered out, but the document in Figure 1 is also filtered out.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

tielei60 avatar Apr 02 '25 13:04 tielei60

same here

pistoolster avatar Apr 03 '25 02:04 pistoolster

Hi, @tielei60. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Bug in Dify version 1.1.3 related to metadata filtering in self-hosted knowledge bases.
  • Filtering for product_name=2.0养老年金保险 incorrectly excludes unrelated documents.
  • Another user, @pistoolster, has reported experiencing the same issue, suggesting it may affect multiple users.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If no updates are provided, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar May 29 '25 23:05 dosubot[bot]