From f4ee85034fa85d45ab6277a8fbcd2e1db9ffbd1d Mon Sep 17 00:00:00 2001 From: jin <52519003+jin38324@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:03:03 +0800 Subject: [PATCH] Update oracle_impl.py --- lightrag/kg/oracle_impl.py | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/lightrag/kg/oracle_impl.py b/lightrag/kg/oracle_impl.py index 2de4526c..e40f60c8 100644 --- a/lightrag/kg/oracle_impl.py +++ b/lightrag/kg/oracle_impl.py @@ -306,28 +306,6 @@ class OracleVectorDBStorage(BaseVectorStorage): @dataclass class OracleGraphStorage(BaseGraphStorage): """基于Oracle的图存储模块""" - # @staticmethod - # def load_graph(file_name) -> nx.Graph: - # """读取graphhml图文件""" - - # @staticmethod - # def write_graph(graph: nx.Graph, file_name): - # # """写入graphhml图文件""" - - # @staticmethod - # def stable_largest_connected_component(graph: nx.Graph) -> nx.Graph: - # """Refer to https://github.com/microsoft/graphrag/index/graph/utils/stable_lcc.py - # Return the largest connected component of the graph, with nodes and edges sorted in a stable way. - # 用于产生稳定的最大连通分量的模块,即相同的输入图==相同的输出lcc。 - # """ - - - # @staticmethod - # def _stabilize_graph(graph: nx.Graph) -> nx.Graph: - # """Refer to https://github.com/microsoft/graphrag/index/graph/utils/stable_lcc.py - # Ensure an undirected graph with the same relationships will always be read the same way. - # 确保具有相同关系的无向图始终以相同的方式读取。 - # """ def __post_init__(self): """从graphml文件加载图"""