svoss commited on
Commit
6302d4f
·
verified ·
1 Parent(s): f28d645

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -11,7 +11,14 @@ _ddg = DuckDuckGoSearchTool()
11
 
12
  @tool
13
  def web_search(query: str) -> str:
14
- """Search the web using DuckDuckGo and return the results."""
 
 
 
 
 
 
 
15
  return _ddg(query)
16
 
17
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
 
11
 
12
  @tool
13
  def web_search(query: str) -> str:
14
+ """Search the web using DuckDuckGo and return results.
15
+
16
+ Args:
17
+ query: The search query string.
18
+
19
+ Returns:
20
+ A text representation of the search results.
21
+ """
22
  return _ddg(query)
23
 
24
  # Below is an example of a tool that does nothing. Amaze us with your creativity !