nat.experimental.test_time_compute.functions.execute_score_select_function#

Attributes#

Classes#

ExecuteScoreSelectFunctionConfig

Base configuration for functions.

Functions#

execute_score_select_function(config, builder)

Module Contents#

logger#
class ExecuteScoreSelectFunctionConfig(/, **data: Any)#

Bases: nat.data_models.function.FunctionBaseConfig

Base configuration for functions.

Attributes:
name: Optional display name for this function. Used in tracing and observability.

If not provided, the function type will be used.

middleware: List of function middleware names to apply to this function.

These must match names defined in the middleware section of the YAML configuration.

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.

scorer: nat.data_models.component_ref.TTCStrategyRef | None = None#
selector: nat.data_models.component_ref.TTCStrategyRef = None#
augmented_fn: nat.data_models.component_ref.FunctionRef = None#
num_executions: int = None#
async execute_score_select_function(
config: ExecuteScoreSelectFunctionConfig,
builder: nat.builder.builder.Builder,
)#