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

Class GraphRelation

rag_modules/graph_data_preparation.py:23–28  ·  view source on GitHub ↗

图关系数据结构

Source from the content-addressed store, hash-verified

21
22@dataclass
23class GraphRelation:
24 """图关系数据结构"""
25 start_node_id: str
26 end_node_id: str
27 relation_type: str
28 properties: Dict[str, Any]
29
30class GraphDataPreparationModule:
31 """图数据库数据准备模块 - 从Neo4j读取数据并转换为文档"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected