Spaces:
Sleeping
Sleeping
updated exa tool
Browse files
app.py
CHANGED
|
@@ -16,11 +16,11 @@ def get_exa_search_results(search_query:str)-> str: #it's import to specify the
|
|
| 16 |
search_query: the first argument
|
| 17 |
"""
|
| 18 |
exa = Exa(api_key = "32d520b3-b8ee-4fad-88a6-18fec4b50ad6")
|
| 19 |
-
|
| 20 |
search_query,
|
| 21 |
text = { "max_characters": 1000 }
|
| 22 |
)
|
| 23 |
-
return
|
| 24 |
|
| 25 |
@tool
|
| 26 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 16 |
search_query: the first argument
|
| 17 |
"""
|
| 18 |
exa = Exa(api_key = "32d520b3-b8ee-4fad-88a6-18fec4b50ad6")
|
| 19 |
+
search_result = exa.search_and_contents(
|
| 20 |
search_query,
|
| 21 |
text = { "max_characters": 1000 }
|
| 22 |
)
|
| 23 |
+
return search_result
|
| 24 |
|
| 25 |
@tool
|
| 26 |
def get_current_time_in_timezone(timezone: str) -> str:
|