LamiaYT commited on
Commit
ec78692
·
1 Parent(s): c2dcfa0

Deploy GAIA agent

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -25,7 +25,13 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
25
  @tool
26
  def web_search_tool(query: str) -> str:
27
  """
28
- Perform a DuckDuckGo search and return formatted results.
 
 
 
 
 
 
29
  """
30
  try:
31
  from duckduckgo_search import DDGS
 
25
  @tool
26
  def web_search_tool(query: str) -> str:
27
  """
28
+ Searches the web using DuckDuckGo and returns relevant results.
29
+
30
+ Args:
31
+ query (str): The search query string.
32
+
33
+ Returns:
34
+ str: A formatted string of search results.
35
  """
36
  try:
37
  from duckduckgo_search import DDGS