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

Question about community level #1532

Closed
bdytx5 opened this issue Dec 17, 2024 · 2 comments
Closed

Question about community level #1532

bdytx5 opened this issue Dec 17, 2024 · 2 comments

Comments

@bdytx5
Copy link

bdytx5 commented Dec 17, 2024

How do we choose a community level given a query? Is this something that we need to experiment with manually, and basically predict the best community level?

@natoverse
Copy link
Collaborator

Yes. You can select a community level by hand and pass it in as an arg to the query API for global search. We generally tend to start with level 2. The deeper you go (higher number), the more relevant answers tend to be, but at increased time and cost.

We have also added a param to allow the system to dynamically select communities based on a relevance test. This generally saves quite a bit of time and cost, with equivalent quality. Here is a blog post describing the technique: https://www.microsoft.com/en-us/research/blog/graphrag-improving-global-search-via-dynamic-community-selection/

@bdytx5
Copy link
Author

bdytx5 commented Jan 8, 2025

cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants