Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,11 +37,11 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 37 |
|
| 38 |
@tool
|
| 39 |
def search_for_books(author: str) -> list[dict[str,str]]:
|
| 40 |
-
"""A tool that searches for books by author
|
| 41 |
Args:
|
| 42 |
author: A string representing an authors name.
|
| 43 |
Returns:
|
| 44 |
-
List of dictionaries. Each list item is a book and dictionaries
|
| 45 |
"""
|
| 46 |
|
| 47 |
try:
|
|
|
|
| 37 |
|
| 38 |
@tool
|
| 39 |
def search_for_books(author: str) -> list[dict[str,str]]:
|
| 40 |
+
"""A tool that searches for books by author name
|
| 41 |
Args:
|
| 42 |
author: A string representing an authors name.
|
| 43 |
Returns:
|
| 44 |
+
List of dictionaries. Each list item is a book and dictionaries have keys 'title', 'authors', 'subjects', and 'summaries'
|
| 45 |
"""
|
| 46 |
|
| 47 |
try:
|