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

@@ -5,7 +5,6 @@ from typing import Any, final
import numpy as np
from lightrag.types import KnowledgeGraph
from lightrag.utils import (
logger,
)
@@ -171,8 +170,3 @@ class NetworkXStorage(BaseGraphStorage):
for source, target in edges:
if self._graph.has_edge(source, target):
self._graph.remove_edge(source, target)
async def get_knowledge_graph(
self, node_label: str, max_depth: int = 5
) -> KnowledgeGraph:
raise NotImplementedError