Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,8 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 37 |
@tool
|
| 38 |
def perform_web_search(query: str) -> str:
|
| 39 |
"""A tool that performs a web search and returns the result
|
|
|
|
|
|
|
| 40 |
"""
|
| 41 |
search_tool = DuckDuckGoSearchTool()
|
| 42 |
result = search_tool(query)
|
|
|
|
| 37 |
@tool
|
| 38 |
def perform_web_search(query: str) -> str:
|
| 39 |
"""A tool that performs a web search and returns the result
|
| 40 |
+
Args:
|
| 41 |
+
query: a tring containing the user query that needs to be searched over the web
|
| 42 |
"""
|
| 43 |
search_tool = DuckDuckGoSearchTool()
|
| 44 |
result = search_tool(query)
|