diff --git a/examples/introduction.ipynb b/examples/introduction.ipynb index 24726a792..f59622789 100644 --- a/examples/introduction.ipynb +++ b/examples/introduction.ipynb @@ -174,7 +174,7 @@ "id": "b6c1dcd9-fb86-4649-81b4-ff6ce20a2e46", "metadata": {}, "source": [ - "**Notice** how the `chatbot` node function takes the current `State` as input and returns an updated `messages` list. This is the basic pattern for all LangGraph node functions.\n", + "**Notice** how the `chatbot` node function takes the current `State` as input and returns a dictionary containing an updated `messages` list under the key \"messages\". This is the basic pattern for all LangGraph node functions.\n", "\n", "The `add_messages` function in our `State` will append the llm's response messages to whatever messages are already in the state.\n", "\n",