nat.agent.responses_api_agent.register#
Attributes#
Classes#
Defines an NeMo Agent Toolkit function that uses a Responses API |
Functions#
|
Module Contents#
- logger#
- class ResponsesAPIAgentWorkflowConfig(/, **data: Any)#
Bases:
nat.data_models.function.FunctionBaseConfigDefines an NeMo Agent Toolkit function that uses a Responses API 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.- llm_name: nat.data_models.component_ref.LLMRef = None#
- nat_tools: list[nat.data_models.component_ref.FunctionRef] = None#
- mcp_tools: list[nat.data_models.openai_mcp.OpenAIMCPSchemaTool] = None#
- async responses_api_agent_workflow(
- config: ResponsesAPIAgentWorkflowConfig,
- builder: nat.builder.builder.Builder,