assimaram commited on
Commit
58e7775
·
verified ·
1 Parent(s): 71b5217

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,10 +22,10 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
22
 
23
  @tool
24
  def wikipedia_search(query: str, sentences : int =2):
25
- """A tool that search a definition on wikipedia
26
  Args:
27
- arg1: the query to fetch the defition for
28
- arg2: the length of the summary to provide for the defition
29
  """
30
 
31
  try:
 
22
 
23
  @tool
24
  def wikipedia_search(query: str, sentences : int =2):
25
+ """A tool that searches a definition on Wikipedia
26
  Args:
27
+ query: the query to fetch the defitniion for on Wikipedia
28
+ sentences: the length of the summary to provide for the defitniion
29
  """
30
 
31
  try: