dify icon indicating copy to clipboard operation
dify copied to clipboard

I hope the dataset API retrieve interface can provide filtering according to the metadatas of the document, the faster the better, please

Open Uestc-LiangZ opened this issue 7 months ago • 1 comments

Self Checks

  • [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.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

We now have a unified business knowledge base platform. We perform searches based on Dify's vector knowledge base. We have a large number of documents on Dify, so we hope that Dify can use metadata for filtering when directly searching the knowledge base, which can significantly improve the search speed and effect.

2. Additional context or comments

Image

3. Can you help us with this feature?

  • [x] I am interested in contributing to this feature.

Uestc-LiangZ avatar May 19 '25 06:05 Uestc-LiangZ

@JohnJyong Hello, I have read the latest code of Dify. It already supports metadata filtering when retrieving external knowledge bases. Will Dify's internal knowledge base search API retrieve this recently?

Uestc-LiangZ avatar May 19 '25 08:05 Uestc-LiangZ

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

Issue Summary

  • Enhancement requested for dataset API to filter based on document metadata.
  • You expressed interest in contributing to this feature.
  • Latest code supports metadata filtering for external knowledge bases.
  • Inquiry about implementation for internal knowledge base searches.

Next Steps

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

Thank you for your understanding and contribution!

dosubot[bot] avatar Jul 25 '25 16:07 dosubot[bot]