Skip to content

Commit 7e9a870

Browse files
authored
Merge pull request #2 from mongodb-developer/marco/langchain-workshop
Langchain workshop
2 parents 16cf9d3 + c134c0c commit 7e9a870

12 files changed

+4071
-8
lines changed

multi_agent.ipynb

Lines changed: 2292 additions & 0 deletions
Large diffs are not rendered by default.

notebooks/ai-agents-lab.ipynb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -568,12 +568,9 @@
568568
"metadata": {},
569569
"outputs": [],
570570
"source": [
571+
"from utils import visualize_graph\n",
571572
"# Visualize the graph\n",
572-
"try:\n",
573-
" display(Image(agent.get_graph().draw_mermaid_png()))\n",
574-
"except Exception:\n",
575-
" # This requires some extra dependencies and is optional\n",
576-
" pass"
573+
"visualize_graph(agent)"
577574
]
578575
},
579576
{
164 KB
Loading
88.1 KB
Loading
90.3 KB
Loading

notebooks/images/multi_agent.png

220 KB
Loading
202 KB
Loading
106 KB
Loading

0 commit comments

Comments
 (0)