8PeopleINC commited on
Commit
657c673
·
verified ·
1 Parent(s): 611ffc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,10 +15,10 @@ def ddg_tool(query:str, location:str, max_results:int=5)-> list: # it's importan
15
  """A tool that searches for restaraunts ina particular location using DuckDuckGo search.
16
  Args:
17
  query: The type of restaraunt or keyword (e.g. "italian").
18
- location: The location the restaraunts are being searched based on timezone (e.g. "America/Phoenix")
19
  max_results: Number of results to return. Maximum number is 5.
20
 
21
- Returns: List of dictionaries with Restaurant Name, Location, and URL.
22
  """
23
  results = []
24
  with DuckDuckGoSearchTool as ddg_tool:
 
15
  """A tool that searches for restaraunts ina particular location using DuckDuckGo search.
16
  Args:
17
  query: The type of restaraunt or keyword (e.g. "italian").
18
+ city: The name of the city the searched for restaraunts are located in (e.g. "San Diego").
19
  max_results: Number of results to return. Maximum number is 5.
20
 
21
+ Returns: List of dictionaries with Restaurant Name, city, and URL.
22
  """
23
  results = []
24
  with DuckDuckGoSearchTool as ddg_tool: