Retrieve knowledge interface can add metadata filtering conditions? #12112

Closed
opened 2026-02-21 19:05:50 -05:00 by yindo · 2 comments
Owner

Originally created by @Red-Wall on GitHub (Mar 25, 2025).

Self Checks

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

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

curl --location --request POST 'http://10.9.2.236/v1/datasets/{dataset_id}/retrieve'
--header 'Authorization: Bearer {api_key}'
--header 'Content-Type: application/json'
--data-raw '{
"query": "test",
"retrieval_model": {
"search_method": "keyword_search",
"reranking_enable": false,
"reranking_mode": null,
"reranking_model": {
"reranking_provider_name": "",
"reranking_model_name": ""
},
"weights": null,
"top_k": 1,
"score_threshold_enabled": false,
"score_threshold": null
}
}'

Retrieve knowledge interface does not support metadata filtering. Whether future versions can support it?

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @Red-Wall on GitHub (Mar 25, 2025). ### Self Checks - [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. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. curl --location --request POST 'http://10.9.2.236/v1/datasets/{dataset_id}/retrieve' \ --header 'Authorization: Bearer {api_key}'\ --header 'Content-Type: application/json'\ --data-raw '{ "query": "test", "retrieval_model": { "search_method": "keyword_search", "reranking_enable": false, "reranking_mode": null, "reranking_model": { "reranking_provider_name": "", "reranking_model_name": "" }, "weights": null, "top_k": 1, "score_threshold_enabled": false, "score_threshold": null } }' Retrieve knowledge interface does not support metadata filtering. Whether future versions can support it? ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 🌚 invalid label 2026-02-21 19:05:50 -05:00
yindo closed this issue 2026-02-21 19:05:50 -05:00
Author
Owner

@crazywoola commented on GitHub (Mar 25, 2025):

For questions, please use discussion instead.

@crazywoola commented on GitHub (Mar 25, 2025): For questions, please use discussion instead.
Author
Owner

@tdkgo commented on GitHub (May 9, 2025):

Is there a plan to support it?

@tdkgo commented on GitHub (May 9, 2025): Is there a plan to support it?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12112