Spaces:
Sleeping
Sleeping
Update tools/web_search.py
Browse files2 unmodified lines34567892 unmodified linesimport duckduckgo_searchclass DuckDuckGoSearchTool(Tool):name = "web_search"description = "Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."inputs = {'query': {'type': 'string', 'description': 'The search query to perform.'}}output_type = "string"2 unmodified lines34567892 unmodified linesimport duckduckgo_searchclass DuckDuckGoSearchTool(Tool):name = "web_search_ddgs"description = "Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."inputs = {'query': {'type': 'string', 'description': 'The search query to perform.'}}output_type = "string"
tools/web_search.py+1-1