sdiener7 commited on
Commit
2dedb5f
·
verified ·
1 Parent(s): 251cbad

edit DuckDuckGoSearchTool

Browse files
Files changed (1) hide show
  1. tools/web_search.py +1 -1
tools/web_search.py CHANGED
@@ -3,7 +3,7 @@ from smolagents.tools import Tool
3
  import duckduckgo_search
4
 
5
  class DuckDuckGoSearchTool(Tool):
6
- name = "web_search"
7
  description = "Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."
8
  inputs = {'query': {'type': 'string', 'description': 'The search query to perform.'}}
9
  output_type = "string"
 
3
  import duckduckgo_search
4
 
5
  class DuckDuckGoSearchTool(Tool):
6
+ name = "ddgo_web_search"
7
  description = "Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."
8
  inputs = {'query': {'type': 'string', 'description': 'The search query to perform.'}}
9
  output_type = "string"