Annotated
parameter is included in the LLM call to ensure it understands the purpose of date_string
.
date_agent
decides whether to use the tool based on its LLM reasoning.
executor_agent
executes the tool and returns the output as its response.
executor_agent
follows the date_agent
. If the date_agent
suggests using the tool, the executor_agent
executes it accordingly.
register_for_execution
and register_for_llm
to register a tool. So, instead of using register_function
, you can register them with the function definition.