Skip to content

Commit 1e463c4

Browse files
authored
docs: Tavily/Packages for agent supervisor tutorial (#1354)
1 parent dd4bef2 commit 1e463c4

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

examples/multi_agent/agent_supervisor.ipynb

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,18 @@
5151
"import \"dotenv/config\";"
5252
]
5353
},
54+
{
55+
"cell_type": "markdown",
56+
"id": "067b43d0",
57+
"metadata": {},
58+
"source": [
59+
"### Install dependencies\n",
60+
"\n",
61+
"```bash\n",
62+
"npm install @langchain/core @langchain/anthropic @langchain/langgraph @langchain/tavily zod canvas d3 tslab\n",
63+
"```"
64+
]
65+
},
5466
{
5567
"cell_type": "markdown",
5668
"id": "d2c46b34",
@@ -100,13 +112,13 @@
100112
},
101113
{
102114
"cell_type": "code",
103-
"execution_count": 3,
115+
"execution_count": null,
104116
"id": "f04c6778-403b-4b49-9b93-678e910d5cec",
105117
"metadata": {},
106118
"outputs": [],
107119
"source": [
108120
"import \"tsx\"; // Only for running this in TSLab. See: https://github.com/yunabe/tslab/issues/72\n",
109-
"import { TavilySearchResults } from \"@langchain/community/tools/tavily_search\";\n",
121+
"import { TavilySearch } from \"@langchain/tavily\";\n",
110122
"import { DynamicStructuredTool } from \"@langchain/core/tools\";\n",
111123
"import * as d3 from \"d3\";\n",
112124
"// ----------ATTENTION----------\n",
@@ -206,7 +218,7 @@
206218
" },\n",
207219
"});\n",
208220
"\n",
209-
"const tavilyTool = new TavilySearchResults();"
221+
"const tavilyTool = new TavilySearch();"
210222
]
211223
},
212224
{

0 commit comments

Comments
 (0)