Matty-Sam commited on
Commit
c3dc79c
·
verified ·
1 Parent(s): ee71d7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 keywords or words in the title of the book
41
  Args:
42
  author: A string representing an authors name.
43
  Returns:
44
- List of dictionaries. Each list item is a book and dictionaries ahve keys 'title', 'authors', 'subjects', and 'summaries'
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: