from smolagents import tool | |
def reverse_question(question: str) -> str: | |
""" | |
Reverse the given question. Often useful if the question doesn't make sense. | |
Args: | |
question: The question to be reversed. | |
Returns: | |
The reversed question. | |
""" | |
return question[::-1] | |