Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select variables not appearing in Metadata Filtering dropdown #17440

Open
5 tasks done
marcelodiaz558 opened this issue Apr 4, 2025 · 0 comments · May be fixed by #17445
Open
5 tasks done

Select variables not appearing in Metadata Filtering dropdown #17440

marcelodiaz558 opened this issue Apr 4, 2025 · 0 comments · May be fixed by #17445
Labels
🐞 bug Something isn't working

Comments

@marcelodiaz558
Copy link

marcelodiaz558 commented Apr 4, 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.

I've been working with knowledge retrieval and need to filter documents based on select variables. Currently, only string, number and time variables appear in the metadata filtering dropdown, while select variables are completely absent despite being functionally equivalent to strings at runtime. This prevents me from creating filters that use dropdown selection variables, which are essential for my use case.

Image

2. Additional context or comments

The metadata filtering UI correctly shows string-type variables but ignores select-type variables, even though they could be treated identically for filtering purposes. I believe that this requires modifying the MetadataFilteringVariableType enum to include 'select' and updating the relevant components to handle select variables properly.

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added the 🐞 bug Something isn't working label Apr 4, 2025
marcelodiaz558 added a commit to marcelodiaz558/dify-with-select-metadata-filtering that referenced this issue Apr 4, 2025
marcelodiaz558 added a commit to marcelodiaz558/dify-with-select-metadata-filtering that referenced this issue Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
1 participant