From 1eb40a69f5b55fe196ea1e41542803c8f3c6d3ba Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 3 Apr 2025 16:32:18 +0800 Subject: [PATCH] Udpate BFS comments --- lightrag/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/base.py b/lightrag/base.py index 3640fa1f..5cf5ab61 100644 --- a/lightrag/base.py +++ b/lightrag/base.py @@ -349,7 +349,7 @@ class BaseGraphStorage(StorageNameSpace, ABC): Args: node_label: Label of the starting node,* means all nodes max_depth: Maximum depth of the subgraph, Defaults to 3 - max_nodes: Maxiumu nodes to return by BFS, Defaults to 1000 + max_nodes: Maxiumu nodes to return, Defaults to 1000(BFS if possible) Returns: KnowledgeGraph object containing nodes and edges, with an is_truncated flag