WeByT3 commited on
Commit
d21d16e
·
verified ·
1 Parent(s): f5e9cf5

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +3 -1
tools.py CHANGED
@@ -51,7 +51,9 @@ def divide(a: int, b: int) -> int:
51
  @tool
52
  def search_wikipedia(page_title: str, language: str) -> str:
53
  """
54
- This tool allows searching wikipedia for information on a specific topic. It will return the resulting information in HTML format
 
 
55
 
56
  Args:
57
  page_title: The page title to search for
 
51
  @tool
52
  def search_wikipedia(page_title: str, language: str) -> str:
53
  """
54
+ This tool allows searching wikipedia for information on a specific topic. It will return the resulting information in HTML format.
55
+ Information may be incomplete in some languages, so try to infer the best language for searching the information from the query.
56
+ For example, if you are looking for information on a spanish actor, search on the wikipedia in spanish.
57
 
58
  Args:
59
  page_title: The page title to search for