Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Enfoirer/Text2GraphRAG
/ GraphPath
Class
GraphPath
rag_modules/graph_rag_retrieval.py:38–44 ·
view source on GitHub ↗
图路径结构
Source
from the content-addressed store, hash-verified
36
37
@dataclass
38
class
GraphPath:
39
""
"图路径结构"
""
40
nodes: List[Dict[str, Any]]
41
relationships: List[Dict[str, Any]]
42
path_length: int
43
relevance_score: float
44
path_type: str
45
46
@dataclass
47
class
KnowledgeSubgraph:
Callers
1
_parse_neo4j_path
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected