nat.experimental.test_time_compute.models.scoring_config#
Classes#
Configuration for LLMBasedScoring. |
|
Configuration for LLMBasedScoring. |
|
Configuration for a scoring strategy that considers both the original input (task) |
Module Contents#
- class LLMBasedPlanScoringConfig(/, **data: Any)#
Bases:
nat.data_models.ttc_strategy.TTCStrategyBaseConfigConfiguration for LLMBasedScoring.
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.- scoring_llm: nat.data_models.component_ref.LLMRef | Any | None = None#
- class LLMBasedAgentScoringConfig(/, **data: Any)#
Bases:
nat.data_models.ttc_strategy.TTCStrategyBaseConfigConfiguration for LLMBasedScoring.
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.- scoring_llm: nat.data_models.component_ref.LLMRef | Any | None = None#
- class MotivationAwareScoringConfig(/, **data: Any)#
Bases:
nat.data_models.ttc_strategy.TTCStrategyBaseConfigConfiguration for a scoring strategy that considers both the original input (task) and the motivation (from metadata) along with the current output.
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.- scoring_llm: nat.data_models.component_ref.LLMRef | None = None#
- validate_scoring_llm(values)#