Thanh Vinh Vo commited on
Commit
8dae467
·
1 Parent(s): abda1eb
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -276,10 +276,9 @@ class BasicAgent:
276
  - Browse the web to find information.
277
  - Solving chess problems.
278
  This agent follow rules below when possible:
279
- 1. `pandas` Python package is provided. Please try to use it FIRST when there is need to extract structured data (such as tables) from HTML content.
280
- 2. `wikipedia` Python package is provided to interact with Wikipedia. Try to work with raw wikipedia HTML content and use `pandas` to parse first.
281
- 3. `chess` Python package is provided. Please use it when there is need to solve chess problems.
282
- 4. Please take the question literally! Do not add any additional information or assumptions.
283
 
284
  """,
285
  verbosity_level=0,
@@ -325,10 +324,9 @@ class BasicAgent:
325
  Answer the following question (question_id is {question_id}):):
326
  "{question}""{file}"
327
  Please follow hints below:
328
- 1. `pandas` Python package is provided. Please try to use it FIRST when there is need to extract structured data (such as tables) from HTML content.
329
- 2. `wikipedia` Python package is provided to interact with Wikipedia. Try to work with raw wikipedia HTML content and use `pandas` to parse first.
330
- 3. `chess` Python package is provided. Please use it when there is need to solve chess problems.
331
- 4. Please take the question literally! Do not add any additional information or assumptions.
332
  """
333
  result = self.manager_agent.run(prompt)
334
  print(f"Agent responded with: {result}")
 
276
  - Browse the web to find information.
277
  - Solving chess problems.
278
  This agent follow rules below when possible:
279
+ 1. `wikipedia` Python package is provided to interact with Wikipedia pages.
280
+ 2. `chess` Python package is provided. Please use it when there is need to solve chess problems.
281
+ 3. Please take the question literally! Do not add any additional information or assumptions.
 
282
 
283
  """,
284
  verbosity_level=0,
 
324
  Answer the following question (question_id is {question_id}):):
325
  "{question}""{file}"
326
  Please follow hints below:
327
+ 1. `wikipedia` Python package is provided to interact with Wikipedia pages.
328
+ 2. `chess` Python package is provided. Please use it when there is need to solve chess problems.
329
+ 3. Please take the question literally! Do not add any additional information or assumptions.
 
330
  """
331
  result = self.manager_agent.run(prompt)
332
  print(f"Agent responded with: {result}")