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.function.FunctionBaseConfig
Defines 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.self
is explicitly positional-only to allowself
as a field name.- tool_names: list[nat.data_models.component_ref.FunctionRef] = None#
- llm_name: nat.data_models.component_ref.LLMRef = None#
- async rewoo_agent_workflow(
- config: ReWOOAgentWorkflowConfig,
- builder: nat.builder.builder.Builder,