MCPcopy Create free account
hub / github.com/Enfoirer/Text2GraphRAG / GraphNode

Class GraphNode

rag_modules/graph_data_preparation.py:15–20  ·  view source on GitHub ↗

图节点数据结构

Source from the content-addressed store, hash-verified

13
14@dataclass
15class GraphNode:
16 """图节点数据结构"""
17 node_id: str
18 labels: List[str]
19 name: str
20 properties: Dict[str, Any]
21
22@dataclass
23class GraphRelation:

Callers 2

load_graph_dataMethod · 0.85
_load_simple_nodesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected