Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 26 |
Args:
|
| 27 |
-
|
| 28 |
-
|
| 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:
|