[Feature Request]: Metadata Filtering in GraphRAG
Do you need to file an issue?
- [X] I have searched the existing issues and this feature is not already filed.
- [X] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
- [X] I believe this is a legitimate feature request, not just a question. If this is a question, please use the Discussions area.
Is your feature request related to a problem? Please describe.
I am trying to perform metadata filtering in GraphRAG to exclude data that does not contain a specific attribute, such as "x". After filtering, I want to conduct a search using GraphRAG. Currently, it seems that this functionality is not available.
Describe the solution you'd like
I would like to have the ability to filter metadata within GraphRAG, allowing for the exclusion of data based on specific attributes before performing a search. If this feature is not currently available, I would like to know if there are plans to implement it in the future.
Additional context
No response
I did a POC about filter by file name's pattern like v1 or v2 in file name. github project link: https://github.com/huqianghui/graphRAG-filter-with-metadata-backend
Hi @matsumoto-hisa, I also hope this feature gets implemented, till then have you found any work around to achieve this?
@rhushikesh I'm sorry, but I haven't found any workarounds at the moment. If you come across anything, please let me know.