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

Feat: Added minimum degree filter for graph queries #1003

Merged
merged 16 commits into from
Mar 7, 2025

Conversation

danielaskdd
Copy link
Collaborator

@danielaskdd danielaskdd commented Mar 5, 2025

Description

Added minimum degree filter for graph queries

Changes Made

Frontend:

  • Introduced min_degree parameter in graph query
  • Updated UI to include minimum degree setting
  • Apply graph force layout on maxIterations change

Backend:

  • Modified API to handle min_degree parameter
  • Update NetworkX to support minimum degree on graph retrieval

Checklist

  • Changes tested locally
  • Code reviewed
  • Documentation updated (if necessary)
  • Unit tests added (if applicable)

Additional Notes

[Add any additional notes or context for the reviewer(s).]

- Implemented exact and inclusive search modes
- Added min degree filtering for nodes
- Updated API to parse label for search options
- Simplify graph search parameters in API
- Add inclusive search and min degree options
- Update Vite config for local development
- Enhance graph query endpoint in web UI
- Add new Vite config file for local setup
- Introduced min_degree parameter in graph query
- Updated UI to include minimum degree setting
- Modified API to handle min_degree parameter
- Updated graph query logic in LightRAG
@danielaskdd danielaskdd changed the title Added minimum degree filter for graph queries Feat: Added minimum degree filter for graph queries Mar 5, 2025
@danielaskdd danielaskdd marked this pull request as ready for review March 7, 2025 00:36
@LarFii LarFii merged commit 3286a0d into HKUDS:main Mar 7, 2025
1 check passed
@danielaskdd danielaskdd deleted the add-graph-search-mode branch March 11, 2025 08:23
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

Successfully merging this pull request may close these issues.

2 participants