Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,10 @@ from Gradio_UI import GradioUI
|
|
11 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
12 |
@tool
|
13 |
def find_best_receipt_websites(dish: str, agent: CodeAgent) -> str:
|
14 |
-
"""
|
|
|
|
|
|
|
15 |
|
16 |
reasoning_prompt = f"""
|
17 |
Seek the top 3 websites that are most likely to have reciept of {dish}.
|
@@ -24,6 +27,7 @@ def find_best_receipt_websites(dish: str, agent: CodeAgent) -> str:
|
|
24 |
@tool
|
25 |
def receipt(dish: str, persons: int, agent: CodeAgent) -> str: #it's import to specify the return type
|
26 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
|
|
27 |
"""A tool that calculates the ingredients for the number of dishes for persons
|
28 |
Args:
|
29 |
dish: the target dish
|
|
|
11 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
12 |
@tool
|
13 |
def find_best_receipt_websites(dish: str, agent: CodeAgent) -> str:
|
14 |
+
"""A tool that selects the best websites to seek for receipt of dish.
|
15 |
+
Args:
|
16 |
+
dish: the target dish
|
17 |
+
"""
|
18 |
|
19 |
reasoning_prompt = f"""
|
20 |
Seek the top 3 websites that are most likely to have reciept of {dish}.
|
|
|
27 |
@tool
|
28 |
def receipt(dish: str, persons: int, agent: CodeAgent) -> str: #it's import to specify the return type
|
29 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
30 |
+
|
31 |
"""A tool that calculates the ingredients for the number of dishes for persons
|
32 |
Args:
|
33 |
dish: the target dish
|