From 1af7615ff979e6590cedf5126b2c2306817adeb7 Mon Sep 17 00:00:00 2001 From: Harrison Chase Date: Wed, 7 Feb 2024 22:22:43 -0800 Subject: [PATCH] cr --- examples/human-in-the-loop.ipynb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/examples/human-in-the-loop.ipynb b/examples/human-in-the-loop.ipynb index 694ad2f2e..8d97da44e 100644 --- a/examples/human-in-the-loop.ipynb +++ b/examples/human-in-the-loop.ipynb @@ -5,9 +5,15 @@ "id": "51466c8d-8ce4-4b3d-be4e-18fdbeda5f53", "metadata": {}, "source": [ - "# Persistence\n", + "# Human-in-the-loop\n", "\n", - "When creating LangGraph agents, you can also set them up so that they persist their state. This allows you to do things like interact with an agent multiple times and have it remember previous interactions." + "When creating LangGraph agents, it is often nice to add a human in the loop component.\n", + "This can be helpful when giving them access to tools.\n", + "Often in these situations you may want to manually approve an action before taking.\n", + "\n", + "This can be in several ways, but the primary supported way is to add an \"interupt\" before a node is executed.\n", + "This interupts execution at that node.\n", + "You can then resume from that spot to continue." ] }, { @@ -487,7 +493,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.6" + "version": "3.11.1" } }, "nbformat": 4,