Skip to content

Clarification on weight and keywords fields in graph_data.json output #1459

Closed Answered by sa9arr
sa9arr asked this question in Q&A
Discussion options

You must be logged in to vote

I found the answer for this:
The original .graphml file contains the actual relevant information regarding the weights, keywords and other attributes of edges. While running the script examples/graph_visual_with_neo4j, it converts the .graphml file to the .json file and this is where the discrepancy arises and assigns the value of weights to Keywords and initializes weights to "0".
I think the LightRAG team should fix the conversion from .graphml to .json file.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sa9arr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants