Merge pull request #1633 from omriAl/citation-support-in-custom-graph-creation
Browse files- lightrag/lightrag.py +1 -0
lightrag/lightrag.py
CHANGED
@@ -1295,6 +1295,7 @@ class LightRAG:
|
|
1295 |
"entity_type": entity_type,
|
1296 |
"description": description,
|
1297 |
"source_id": source_id,
|
|
|
1298 |
}
|
1299 |
# Insert node data into the knowledge graph
|
1300 |
await self.chunk_entity_relation_graph.upsert_node(
|
|
|
1295 |
"entity_type": entity_type,
|
1296 |
"description": description,
|
1297 |
"source_id": source_id,
|
1298 |
+
"file_path": file_path,
|
1299 |
}
|
1300 |
# Insert node data into the knowledge graph
|
1301 |
await self.chunk_entity_relation_graph.upsert_node(
|