Thanh Vinh Vo commited on
Commit
3e40849
·
1 Parent(s): 424e04c
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -50,9 +50,10 @@ class BasicAgent:
50
 
51
  Please follow following hints:
52
  1. `wikipedia` Python package is provided to interact with Wikipedia.
53
- 2. `pandas` Python package is provided. It can be used to extract structured data (such as tables) from HTML content.
54
- 3. Only use BeautifulSoup to extract information from HTML if `pandas` fails.
55
- 4. Please take the question literally!
 
56
  """
57
  result = self.agent.run(prompt)
58
  print(f"Agent responded with: {result}")
 
50
 
51
  Please follow following hints:
52
  1. `wikipedia` Python package is provided to interact with Wikipedia.
53
+ 2. `pandas` Python package is provided. Prefer to use it to extract structured data (such as tables) from website content.
54
+ 3. Try to manually inspect the website content before using code to extract information from website.
55
+ 4. Use BeautifulSoup as last resort to extract information from website.
56
+ 5. Please take the question literally!
57
  """
58
  result = self.agent.run(prompt)
59
  print(f"Agent responded with: {result}")