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

Method __init__

rag_modules/graph_rag_retrieval.py:66–74  ·  view source on GitHub ↗
(self, config, llm_client)

Source from the content-addressed store, hash-verified

64 """
65
66 def __init__(self, config, llm_client):
67 self.config = config
68 self.llm_client = llm_client
69 self.driver = None
70
71 # 图结构缓存
72 self.entity_cache = {}
73 self.relation_cache = {}
74 self.subgraph_cache = {}
75
76 def initialize(self):
77 """初始化图RAG检索系统"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected