nat.experimental.test_time_compute.models.tool_use_config#

Classes#

ToolUseInputSchema

Input schema for the tool use function.

ToolUselist

A list of tools to use.

Module Contents#

class ToolUseInputSchema(/, **data: Any)#

Bases: pydantic.BaseModel

Input schema for the tool use function.

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 allow self as a field name.

tool_name: str = None#
task_description: str = None#
motivation: str | None = None#
output: str | None = None#
class ToolUselist(/, **data: Any)#

Bases: pydantic.BaseModel

A list of tools to use.

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 allow self as a field name.

tools: list[ToolUseInputSchema] = None#