Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Do you need to file a feature request?
Feature Request Description
Hello, I think LightRAG is a great project. However, when using it myself, I often find it difficult to understand which knowledge from the graph is being used in queries. Although we can see what knowledge is retrieved during debugging, this still isn't convenient enough.
Therefore, I'd like to propose adding query process tracing functionality to LightRAG that can record and visualize the actual nodes (entities) and edges (relationships) used during queries, and export GraphML and HTML files for analysis and debugging. This feature would help developers better understand how the LightRAG system works during queries by:
top_k
,max_token_for_text_unit
, etc.My current proposal is to:
queryparam
to control whether to generate this graph (without affecting any existing functionality)kg_query
to save the graph used in queries- Implement visualization based on eithergraph_visual_with_html.py
or a custom visualization solutionexamples
directoryI'm willing to contribute code for this feature and can assist with documentation writing.
### Additional ContextThe complete graph:The graph used during queries:Beta Was this translation helpful? Give feedback.
All reactions