Spaces:
Runtime error
Runtime error
tools.py
CHANGED
|
@@ -59,7 +59,7 @@ wiki_search_tool = Tool(
|
|
| 59 |
)
|
| 60 |
|
| 61 |
def web_search(query: str) -> str:
|
| 62 |
-
"""Search Tavily for a query and return maximum 5 results. Make sure to format the args as query.
|
| 63 |
|
| 64 |
Args:
|
| 65 |
query: The search query. The query fulfils the argument that is input."""
|
|
@@ -84,7 +84,7 @@ def web_search(query: str) -> str:
|
|
| 84 |
web_search_tool = Tool(
|
| 85 |
name="web_search",
|
| 86 |
func=web_search,
|
| 87 |
-
description="Searches for and retrieves information online using an inputted query using Tavily."
|
| 88 |
)
|
| 89 |
|
| 90 |
def arvix_search(query: str) -> str:
|
|
|
|
| 59 |
)
|
| 60 |
|
| 61 |
def web_search(query: str) -> str:
|
| 62 |
+
"""Search Tavily for a query and return maximum 5 results. Make sure to format the args as query and have the query sound like a sentence, hopefully matching part of the question the search is used for.
|
| 63 |
|
| 64 |
Args:
|
| 65 |
query: The search query. The query fulfils the argument that is input."""
|
|
|
|
| 84 |
web_search_tool = Tool(
|
| 85 |
name="web_search",
|
| 86 |
func=web_search,
|
| 87 |
+
description="Searches for and retrieves information online using an inputted query using Tavily. Please use a query that sounds like a sentence and not just keywords."
|
| 88 |
)
|
| 89 |
|
| 90 |
def arvix_search(query: str) -> str:
|