benemo commited on
Commit
ea5d49a
·
verified ·
1 Parent(s): ed7d818

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -19,14 +19,14 @@ def test_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
19
  return "What magic will you build ?"
20
 
21
  @tool
22
- def test_tool2(arg1:str, arg2:int)-> str: #it's import to specify the return type
23
  #Keep this format for the description / args / args description but feel free to modify the tool
24
- """A tool that does nothing yet
25
  Args:
26
- arg1: the first argument
27
- arg2: the second argument
28
  """
29
- return "What magic will you build ?"
30
 
31
  @tool
32
  def get_current_time_in_timezone(timezone: str) -> str:
 
19
  return "What magic will you build ?"
20
 
21
  @tool
22
+ def concat_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
23
  #Keep this format for the description / args / args description but feel free to modify the tool
24
+ """A tool that does concatenation of arg1 and arg2
25
  Args:
26
+ arg1: the first argument given by user
27
+ arg2: the second argument given by user
28
  """
29
+ return "arg1 + arg2"
30
 
31
  @tool
32
  def get_current_time_in_timezone(timezone: str) -> str: