Spaces:
Sleeping
Sleeping
edit DuckDuckGoSearchTool
Browse files- 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 = "
|
| 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"
|