vijayperlakota commited on
Commit
b1d29b6
·
verified ·
1 Parent(s): 14e466c

added new tool string concatator

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -18,6 +18,15 @@ def my_cutom_tool(arg1:str, arg2:int)-> str: #it's important to specify the retu
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 string_concatinator(string1: str, string2: str) > str:
23
+ """ A tool that concats given 2 strings
24
+ Args:
25
+ string1: First string
26
+ string2: second string
27
+ """
28
+ return string1 + string2;
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.