Markiian Tsalyk
commited on
Commit
·
fc21e56
1
Parent(s):
b477d60
upd
Browse files
tools.py
CHANGED
@@ -101,8 +101,8 @@ def web_search(query: str, **kwargs) -> str:
|
|
101 |
Return:
|
102 |
String with web search results.
|
103 |
"""
|
104 |
-
|
105 |
-
result = GoogleSearchTool(provider="serpapi").forward(query)
|
106 |
print(result)
|
107 |
return result
|
108 |
|
|
|
101 |
Return:
|
102 |
String with web search results.
|
103 |
"""
|
104 |
+
result = DuckDuckGoSearchTool().forward(query)
|
105 |
+
# result = GoogleSearchTool(provider="serpapi").forward(query)
|
106 |
print(result)
|
107 |
return result
|
108 |
|