Spaces:
Running
Running
from datetime import date | |
from langchain_core.tools import tool | |
def get_current_day() -> date: | |
"""Get the current day to reference for any time-sensitive data requests. This might be useful for information | |
searches through news data, where more current articles may be more relevant. | |
Returns | |
------- | |
date | |
Today's date | |
""" | |
return date.today() | |