Update app.py
#317
by
eugpal4
- opened
app.py
CHANGED
@@ -15,8 +15,12 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
15 |
Args:
|
16 |
arg1: the first argument
|
17 |
arg2: the second argument
|
|
|
|
|
|
|
18 |
"""
|
19 |
-
|
|
|
20 |
|
21 |
@tool
|
22 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
15 |
Args:
|
16 |
arg1: the first argument
|
17 |
arg2: the second argument
|
18 |
+
|
19 |
+
Returns:
|
20 |
+
A string describing the result of the multiplication.
|
21 |
"""
|
22 |
+
result = arg1 * arg2 # Questo è solo un esempio, arg1 dovrebbe essere convertito a un numero
|
23 |
+
return f"Il valore {arg1} moltiplicato per {arg2} da {result}"
|
24 |
|
25 |
@tool
|
26 |
def get_current_time_in_timezone(timezone: str) -> str:
|