removed get_knowledge_graph

This commit is contained in:
Yannick Stephan
2025-02-19 22:57:46 +01:00
parent eb3306f34c
commit 89c35c82c7
11 changed files with 0 additions and 324 deletions

View File

@@ -38,7 +38,6 @@ from .utils import (
logger,
set_logger,
)
from .types import KnowledgeGraph
config = configparser.ConfigParser()
config.read("config.ini", "utf-8")
@@ -614,13 +613,6 @@ class LightRAG:
self.storages_status = StoragesStatus.FINALIZED
logger.debug("Finalized Storages")
async def get_knowledge_graph(
self, nodel_label: str, max_depth: int
) -> KnowledgeGraph:
return await self.chunk_entity_relation_graph.get_knowledge_graph(
node_label=nodel_label, max_depth=max_depth
)
def _get_storage_class(self, storage_name: str) -> Callable[..., Any]:
import_path = STORAGES[storage_name]
storage_class = lazy_external_import(import_path, storage_name)