shourya commited on
Commit
05287c0
·
1 Parent(s): 08df6ff
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -29,6 +29,14 @@ def get_commands(arg1:str)-> str:
29
  results = duck(software_query)
30
  return f"Here are the top 5 commands for {arg1}:\n{results}"
31
 
 
 
 
 
 
 
 
 
32
  @tool
33
  def get_current_time_in_timezone(timezone: str) -> str:
34
  """A tool that fetches the current local time in a specified timezone.
 
29
  results = duck(software_query)
30
  return f"Here are the top 5 commands for {arg1}:\n{results}"
31
 
32
+ @tool
33
+ def get_wiki(arg1:str)-> str:
34
+ """A tool that fetches the wikipedia page.
35
+ Args:
36
+ arg1: the subject for getting info from wikipedia.
37
+ """
38
+
39
+
40
  @tool
41
  def get_current_time_in_timezone(timezone: str) -> str:
42
  """A tool that fetches the current local time in a specified timezone.