Boris72 commited on
Commit
2c639fe
·
verified ·
1 Parent(s): ae7a494

update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -18,6 +18,15 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
18
  """
19
  return "What magic will you build ?"
20
 
 
 
 
 
 
 
 
 
 
21
  @tool
22
  def get_current_time_in_timezone(timezone: str) -> str:
23
  """A tool that fetches the current local time in a specified timezone.
 
18
  """
19
  return "What magic will you build ?"
20
 
21
+ @tool
22
+ def my_new_tool(arg1:str, arg2:int)-> str:
23
+ """A tool that concatinates the given string and the given integer
24
+ Args:
25
+ arg1: the first argument
26
+ arg2: the second argument
27
+ """
28
+ return arg1+arg2
29
+
30
  @tool
31
  def get_current_time_in_timezone(timezone: str) -> str:
32
  """A tool that fetches the current local time in a specified timezone.