Skip to content

DimensionRatingScale

Union Type

DimensionRatingScale module-attribute

The rating scale for one dimension of an LLM-as-a-judge evaluator, supporting either a numerical or a categorical scale.

Union Member Types

DimensionRatingScaleNumerical dataclass

Bases: _SerdeShape

The numerical rating scale with defined score values and descriptions for quantitative evaluation of the dimension.

Attributes

value instance-attribute

DimensionRatingScaleCategorical dataclass

Bases: _SerdeShape

The categorical rating scale with named categories and definitions for qualitative evaluation of the dimension.

Attributes

value instance-attribute

DimensionRatingScaleUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str