From c56d73731dd12e1f769e2a1e16885ab58ec6b56e Mon Sep 17 00:00:00 2001 From: matterattetatte Date: Thu, 16 Jan 2025 23:04:40 +0100 Subject: [PATCH] Dead Link to Duck Duck Go search tool (#233) * Update multiagents.md URL to DuckDuckGo --- docs/source/en/examples/multiagents.md | 4 ++-- docs/source/zh/examples/multiagents.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/en/examples/multiagents.md b/docs/source/en/examples/multiagents.md index 7901de2..c4bb514 100644 --- a/docs/source/en/examples/multiagents.md +++ b/docs/source/en/examples/multiagents.md @@ -64,7 +64,7 @@ model_id = "Qwen/Qwen2.5-Coder-32B-Instruct" ## 🔍 Create a web search tool -For web browsing, we can already use our pre-existing [`DuckDuckGoSearchTool`](https://github.com/huggingface/smolagents/blob/main/src/smolagents/default_tools/search.py) tool to provide a Google search equivalent. +For web browsing, we can already use our pre-existing [`DuckDuckGoSearchTool`](https://github.com/huggingface/smolagents/blob/main/src/smolagents/default_tools.py#L151-L176) tool to provide a Google search equivalent. But then we will also need to be able to peak into the page found by the `DuckDuckGoSearchTool`. To do so, we could import the library's built-in `VisitWebpageTool`, but we will build it again to see how it's done. @@ -196,4 +196,4 @@ Seems like we'll need some sizeable powerplants if the [scaling hypothesis](http Our agents managed to efficiently collaborate towards solving the task! ✅ -💡 You can easily extend this orchestration to more agents: one does the code execution, one the web search, one handles file loadings... \ No newline at end of file +💡 You can easily extend this orchestration to more agents: one does the code execution, one the web search, one handles file loadings... diff --git a/docs/source/zh/examples/multiagents.md b/docs/source/zh/examples/multiagents.md index 4ea4e51..9c3af8e 100644 --- a/docs/source/zh/examples/multiagents.md +++ b/docs/source/zh/examples/multiagents.md @@ -64,7 +64,7 @@ model_id = "Qwen/Qwen2.5-Coder-32B-Instruct" ## 🔍 Create a web search tool -For web browsing, we can already use our pre-existing [`DuckDuckGoSearchTool`](https://github.com/huggingface/smolagents/blob/main/src/smolagents/default_tools/search.py) tool to provide a Google search equivalent. +For web browsing, we can already use our pre-existing [`DuckDuckGoSearchTool`](https://github.com/huggingface/smolagents/blob/main/src/smolagents/default_tools.py#L151-L176) tool to provide a Google search equivalent. But then we will also need to be able to peak into the page found by the `DuckDuckGoSearchTool`. To do so, we could import the library's built-in `VisitWebpageTool`, but we will build it again to see how it's done. @@ -196,4 +196,4 @@ Seems like we'll need some sizeable powerplants if the [scaling hypothesis](http Our agents managed to efficiently collaborate towards solving the task! ✅ -💡 You can easily extend this orchestration to more agents: one does the code execution, one the web search, one handles file loadings... \ No newline at end of file +💡 You can easily extend this orchestration to more agents: one does the code execution, one the web search, one handles file loadings...