GattoNero commited on
Commit
305b242
·
verified ·
1 Parent(s): b647a26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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, is_food_tool, final_answer],
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":"4fc2f1ae-8625-45b5-ab34-ad4433bc21f8",
547
- "question":"Who nominated the only Featured Article on English Wikipedia about a dinosaur that was promoted in November 2016?",
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