docs fixes (#1620)

This commit is contained in:
Isaac Francisco
2024-09-05 09:03:55 -07:00
committed by GitHub
parent 7e83cda0b5
commit b34bfe165a
9 changed files with 3 additions and 52 deletions
@@ -103,14 +103,6 @@
" print(list(s.values())[0])\n",
" print(\"----\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "87f147e3-f96f-4b96-a3cc-ec7affd7a57f",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
-7
View File
@@ -211,13 +211,6 @@
"source": [
"runnable.invoke(HumanMessage(\"What is your name?\"))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
@@ -680,7 +680,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.1"
"version": "3.11.9"
}
},
"nbformat": 4,
+1 -4
View File
@@ -1265,7 +1265,6 @@
"\n",
"from langchain_anthropic import ChatAnthropic\n",
"from langchain_community.tools.tavily_search import TavilySearchResults\n",
"from langchain_core.messages import BaseMessage\n",
"from typing_extensions import TypedDict\n",
"\n",
"from langgraph.checkpoint.memory import MemorySaver\n",
@@ -1583,7 +1582,6 @@
"\n",
"from langchain_anthropic import ChatAnthropic\n",
"from langchain_community.tools.tavily_search import TavilySearchResults\n",
"from langchain_core.messages import BaseMessage\n",
"from typing_extensions import TypedDict\n",
"\n",
"from langgraph.checkpoint.memory import MemorySaver\n",
@@ -1698,7 +1696,7 @@
}
],
"source": [
"from langchain_core.messages import AIMessage\n",
"from langchain_core.messages import AIMessage, ToolMessage\n",
"\n",
"answer = (\n",
" \"LangGraph is a library for building stateful, multi-actor applications with LLMs.\"\n",
@@ -2082,7 +2080,6 @@
"\n",
"from langchain_anthropic import ChatAnthropic\n",
"from langchain_community.tools.tavily_search import TavilySearchResults\n",
"from langchain_core.messages import BaseMessage\n",
"from typing_extensions import TypedDict\n",
"\n",
"from langgraph.checkpoint.memory import MemorySaver\n",
+1 -1
View File
@@ -573,7 +573,7 @@
],
"source": [
"events = graph.stream(\n",
" [HumanMessage(content=\"How should we handle the climate crisis?\")],\n",
" {\"messages\": [(\"user\", \"How should we handle the climate crisis?\")]},\n",
" stream_mode=\"values\",\n",
")\n",
"for i, step in enumerate(events):\n",
-7
View File
@@ -1667,13 +1667,6 @@
"# We will down-header the sections to create less confusion in this notebook\n",
"Markdown(article.replace(\"\\n#\", \"\\n##\"))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
@@ -604,14 +604,6 @@
"\n",
"![Screenshot 2024-07-23 at 12.39.27 PM.png](attachment:5e0fb308-080e-4621-ba20-55a655bb981e.png)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "8eb46884-08aa-4ab4-8bb9-f72277c3b35b",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
@@ -1266,14 +1266,6 @@
"\n",
"![Screenshot 2024-06-23 at 1.32.31 PM.png](attachment:953411a8-f352-4c8f-a923-d3ff171c6080.png)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "bfa533b4-007f-4f86-b146-02c56a4e667a",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
@@ -337,14 +337,6 @@
"\n",
"https://smith.langchain.com/public/7a4938e3-f94f-4e04-a162-bf592fba4643/r"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "74b813cb-18ed-42d8-b313-6ee56ded4bcc",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {