Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 23 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 24 |
-
"""A tool that does
|
| 25 |
Args:
|
| 26 |
-
arg1: the first argument
|
| 27 |
-
arg2: the second argument
|
| 28 |
"""
|
| 29 |
-
return "
|
| 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:
|