DTStudios commited on
Commit
51d2b7d
·
verified ·
1 Parent(s): 8f417e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -10,7 +10,15 @@ from tools.web_search import DuckDuckGoSearchTool
10
 
11
  @tool
12
  def DuckDuckGoSearchTool (web_search: str) -> str:
13
- """"A tool Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."""
 
 
 
 
 
 
 
 
14
  inputs = {'query': {'type': 'string','description': 'The search query to perform.'}}
15
  output_type = "string"
16
 
 
10
 
11
  @tool
12
  def DuckDuckGoSearchTool (web_search: str) -> str:
13
+ """"Performs a DuckDuckGo web search based on your query (think a Google search) then returns the top search results.Perform a DuckDuckGo search and return formatted results.
14
+
15
+ Args:
16
+ web_search (str): The query string to search for.
17
+
18
+ Returns:
19
+ str: A formatted string containing the search results.
20
+ """
21
+ # your implementation here
22
  inputs = {'query': {'type': 'string','description': 'The search query to perform.'}}
23
  output_type = "string"
24