Iterator for AgentExecutor.
AgentExecutorIterator(
self,
agent_executor: AgentExecutor,
inputs: Any,
callbacks: Callbacks = None,
*,
tags: list[str] | None = None,
metadata: dict[str, Any] | None = None,
run_name: str | None = None,
run_id: UUID | None = None,
include_run_info: bool = False,
yield_actions: bool = False
)| Name | Type | Description |
|---|---|---|
agent_executor* | AgentExecutor | The |
inputs* | Any | The inputs to the |
callbacks | Callbacks | Default: NoneThe callbacks to use during iteration. |
tags | list[str] | None | Default: NoneThe tags to use during iteration. |
metadata | dict[str, Any] | None | Default: NoneThe metadata to use during iteration. |
run_name | str | None | Default: NoneThe name of the run. |
run_id | UUID | None | Default: NoneThe ID of the run. |
include_run_info | bool | Default: FalseWhether to include run info in the output. |
yield_actions | bool | Default: FalseWhether to yield actions as they are generated. |
The inputs to the AgentExecutor.
The AgentExecutor to iterate over.
A mapping of tool names to tools.
A mapping of tool names to colors.