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

Method __init__

main.py:45–59  ·  view source on GitHub ↗
(self, config: Optional[GraphRAGConfig] = None)

Source from the content-addressed store, hash-verified

43 """
44
45 def __init__(self, config: Optional[GraphRAGConfig] = None):
46 self.config = config or DEFAULT_CONFIG
47
48 # 核心模块
49 self.data_module = None
50 self.index_module = None
51 self.generation_module = None
52
53 # 检索引擎
54 self.traditional_retrieval = None
55 self.graph_rag_retrieval = None
56 self.query_router = None
57
58 # 系统状态
59 self.system_ready = False
60
61 def initialize_system(self):
62 """初始化高级图RAG系统"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected