nat.experimental.test_time_compute.functions.execute_score_select_function#
Attributes#
Classes#
Base configuration for functions. |
Functions#
|
Module Contents#
- logger#
- class ExecuteScoreSelectFunctionConfig(/, **data: Any)#
Bases:
nat.data_models.function.FunctionBaseConfigBase 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
middlewaresection 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.selfis explicitly positional-only to allowselfas 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#
- async execute_score_select_function(
- config: ExecuteScoreSelectFunctionConfig,
- builder: nat.builder.builder.Builder,