Update app.py
Browse files
app.py
CHANGED
@@ -20,9 +20,10 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
20 |
return "What magic will you build ?"
|
21 |
|
22 |
@tool
|
23 |
-
def get_weather_in_france()-> str:
|
24 |
-
#Keep this format for the description / args / args description but feel free to modify the tool
|
25 |
"""A tool that provides the weather in France
|
|
|
|
|
26 |
"""
|
27 |
return "France has nice weather right now."
|
28 |
|
|
|
20 |
return "What magic will you build ?"
|
21 |
|
22 |
@tool
|
23 |
+
def get_weather_in_france(arg1: str)-> str:
|
|
|
24 |
"""A tool that provides the weather in France
|
25 |
+
Args:
|
26 |
+
arg1: the name of the place to get the weather
|
27 |
"""
|
28 |
return "France has nice weather right now."
|
29 |
|