Thanh Vinh Vo commited on
Commit
dc8c03a
·
1 Parent(s): 278cb2a
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -180,7 +180,7 @@ class BasicAgent:
180
  "requests",
181
  "bs4",
182
  "markdownify",
183
- "wikipedia-api",
184
  "pandas",
185
  "io",
186
  "PIL",
@@ -204,9 +204,9 @@ class BasicAgent:
204
  Answer the following question (question_id is {question_id}):
205
  "{question}""{file}"
206
  Please follow rules below:
207
- 1. Take the question literally! Do not add any additional information or assumptions.
208
- 2. `wikipedia-api` Python package is provided, we should use it to extracting texts, sections, links, categories, translations, etc from Wikipedia.
209
- 3. `pandas` Python package is provided, we should use it to read table data from HTML pages.
210
  """
211
  result = self.code_agent.run(prompt)
212
  print(f"Agent responded with: {result}")
 
180
  "requests",
181
  "bs4",
182
  "markdownify",
183
+ "wikipedia",
184
  "pandas",
185
  "io",
186
  "PIL",
 
204
  Answer the following question (question_id is {question_id}):
205
  "{question}""{file}"
206
  Please follow rules below:
207
+ 1. `wikipedia` Python package is provided, we should use it to interact with Wikipedia pages.
208
+ 2. `pandas` Python package is provided, we should use it to read table data from HTML pages.
209
+ 3. Take the question literally! Do not add any additional information or assumptions.
210
  """
211
  result = self.code_agent.run(prompt)
212
  print(f"Agent responded with: {result}")