nat.agent.rewoo_agent.register#
Attributes#
Classes#
Defines a NAT function that uses a ReWOO Agent performs reasoning inbetween tool calls, and utilizes the |
Functions#
|
Module Contents#
- logger#
- class ReWOOAgentWorkflowConfig(/, **data: Any)#
Bases:
nat.data_models.agent.AgentBaseConfigDefines a NAT function that uses a ReWOO Agent performs reasoning inbetween tool calls, and utilizes the tool names and descriptions to select the optimal tool.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- tool_names: list[nat.data_models.component_ref.FunctionRef | nat.data_models.component_ref.FunctionGroupRef] = None#
- tool_call_max_retries: pydantic.PositiveInt = None#
- async rewoo_agent_workflow(
- config: ReWOOAgentWorkflowConfig,
- builder: nat.builder.builder.Builder,