Spaces:
Runtime error
Runtime error
Update tools.py
Browse files
tools.py
CHANGED
|
@@ -90,6 +90,7 @@ def count_sosa_studio_albums_2000s() -> int:
|
|
| 90 |
|
| 91 |
|
| 92 |
|
|
|
|
| 93 |
@tool
|
| 94 |
def count_albums_by_year_range(title: str, start_year: int, end_year: int) -> int:
|
| 95 |
"""
|
|
@@ -411,10 +412,16 @@ def filter_vegetables(items: list[str]) -> list[str]:
|
|
| 411 |
# List of all tools
|
| 412 |
all_tools = [
|
| 413 |
route_question,
|
|
|
|
|
|
|
| 414 |
search_featured_articles_by_date_range,
|
| 415 |
get_article_nominator_from_fac_page,
|
| 416 |
count_sosa_studio_albums_2000s,
|
|
|
|
|
|
|
| 417 |
detect_non_commutative_subset,
|
| 418 |
reverse_sentence,
|
| 419 |
filter_vegetables,
|
|
|
|
| 420 |
]
|
|
|
|
|
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
+
|
| 94 |
@tool
|
| 95 |
def count_albums_by_year_range(title: str, start_year: int, end_year: int) -> int:
|
| 96 |
"""
|
|
|
|
| 412 |
# List of all tools
|
| 413 |
all_tools = [
|
| 414 |
route_question,
|
| 415 |
+
resolve_wikipedia_url,
|
| 416 |
+
handle_question,
|
| 417 |
search_featured_articles_by_date_range,
|
| 418 |
get_article_nominator_from_fac_page,
|
| 419 |
count_sosa_studio_albums_2000s,
|
| 420 |
+
count_albums_by_year_range,
|
| 421 |
+
extract_structured_facts_from_url,
|
| 422 |
detect_non_commutative_subset,
|
| 423 |
reverse_sentence,
|
| 424 |
filter_vegetables,
|
| 425 |
+
categorize_grocery_items,
|
| 426 |
]
|
| 427 |
+
|