From a96f5f8f27c21856d48987bd3f2a5e2bd504220b Mon Sep 17 00:00:00 2001 From: "clement.l" Date: Wed, 17 Jul 2024 21:57:26 +0800 Subject: [PATCH] docs: fix typo in low_level.md (#1044) --- docs/docs/concepts/low_level.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/concepts/low_level.md b/docs/docs/concepts/low_level.md index c4e612bd7..e658761cc 100644 --- a/docs/docs/concepts/low_level.md +++ b/docs/docs/concepts/low_level.md @@ -190,7 +190,7 @@ By default, the return value `routing_function` is used as the name of the node You can optionally provide a dictionary that maps the `routing_function`'s output to the name of the next node. ```python -graph.add_edge("node_a", routing_function, {True: "node_b", False: "node_c"}) +graph.add_conditional_edges("node_a", routing_function, {True: "node_b", False: "node_c"}) ``` ### Entry Point