Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -99,9 +99,9 @@ class BasicAgent:
|
|
99 |
api_key=openai_api_key
|
100 |
)
|
101 |
|
102 |
-
|
103 |
self.agent = OpenAIAgent.from_tools(
|
104 |
-
tools = [ingredient_tool, log_thought_tool, sum_list_tool, search_tool,
|
105 |
llm = llm,
|
106 |
verbose = True,
|
107 |
max_steps=30
|
@@ -543,10 +543,10 @@ def create_mock_questions():
|
|
543 |
|
544 |
return [
|
545 |
{
|
546 |
-
"task_id":"
|
547 |
-
"question":"
|
548 |
"Level":"1",
|
549 |
-
"file_name":""
|
550 |
}
|
551 |
]
|
552 |
|
|
|
99 |
api_key=openai_api_key
|
100 |
)
|
101 |
|
102 |
+
#is_food_tool,
|
103 |
self.agent = OpenAIAgent.from_tools(
|
104 |
+
tools = [ingredient_tool, log_thought_tool, sum_list_tool, search_tool, final_answer],
|
105 |
llm = llm,
|
106 |
verbose = True,
|
107 |
max_steps=30
|
|
|
543 |
|
544 |
return [
|
545 |
{
|
546 |
+
"task_id":"7bd855d8-463d-4ed5-93ca-5fe35145f733",
|
547 |
+
"question":"The attached Excel file contains the sales of menu items for a local fast-food chain. What were the total sales that the chain made from food (not including drinks)? Express your answer in USD with two decimal places.",
|
548 |
"Level":"1",
|
549 |
+
"file_name":"7bd855d8-463d-4ed5-93ca-5fe35145f733.xlsx"
|
550 |
}
|
551 |
]
|
552 |
|