yangdx
commited on
Commit
·
861252b
1
Parent(s):
1a09029
Udpate BFS comments
Browse files- lightrag/base.py +1 -1
lightrag/base.py
CHANGED
|
@@ -349,7 +349,7 @@ class BaseGraphStorage(StorageNameSpace, ABC):
|
|
| 349 |
Args:
|
| 350 |
node_label: Label of the starting node,* means all nodes
|
| 351 |
max_depth: Maximum depth of the subgraph, Defaults to 3
|
| 352 |
-
max_nodes: Maxiumu nodes to return
|
| 353 |
|
| 354 |
Returns:
|
| 355 |
KnowledgeGraph object containing nodes and edges, with an is_truncated flag
|
|
|
|
| 349 |
Args:
|
| 350 |
node_label: Label of the starting node,* means all nodes
|
| 351 |
max_depth: Maximum depth of the subgraph, Defaults to 3
|
| 352 |
+
max_nodes: Maxiumu nodes to return, Defaults to 1000(BFS if possible)
|
| 353 |
|
| 354 |
Returns:
|
| 355 |
KnowledgeGraph object containing nodes and edges, with an is_truncated flag
|