Contents

ScaleOption

A single option in a scoring scale.

Declaration

struct ScaleOption

Overview

let option = ScaleOption(
    label: "Excellent",
    guideDescription: "The response is of exceptional quality.",
    value: 5.0
)

Each option defines a label, guide description, and numeric value. Options are presented to the model as judge in the scoring guide section of the prompt.

Topics

Initializers

Instance Properties

See Also

Inspecting a scale