Set the current time and date as addition reference
set_current_time_and_date_reference.Rd
set_current_time_and_date_reference
lets you set the current time and date as addition reference as part of the background for the LLM's answer.
Details
Setting some additional time and date reference in the background info to be used by the LLM. This can be very useful if you expect your LLM to answer about questions related to the future, present or past.
Examples
my_workflow <- ai_workflow() |>
set_system_prompt(system_prompt="You are a helpful AI assistant.
Answer to the best of your knowledge") |>
set_current_time_and_date_reference()