brainsqueeze's picture
v2 of public chat (#1)
9433533 verified
raw
history blame contribute delete
389 Bytes
from datetime import date
from langchain_core.tools import tool
@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()