Spaces:
Sleeping
Sleeping
File size: 284 Bytes
56e1107 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
from langchain_core.tools import tool
@tool
def alphabetizer(input_list):
"""
Alphabetizes a list.
Args:
input_list (list): A list of comparable elements.
Returns:
list: A new list with the items alphabetized.
"""
return sorted(input_list)
|