<!--
{
  "availability" : [
    "Xcode: 27.0.0 -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Evaluations",
  "identifier" : "/documentation/Evaluations/ScaleOption",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Evaluations"
    ],
    "preciseIdentifier" : "s:11Evaluations11ScaleOptionV"
  },
  "title" : "ScaleOption"
}
-->

# ScaleOption

A single option in a scoring scale.

```
struct ScaleOption
```

## Overview

```swift
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 judge in the scoring guide section of the prompt.

## Topics

### Initializers

[`init(label: String, guideDescription: String, value: Double)`](/documentation/Evaluations/ScaleOption/init(label:guideDescription:value:))

Creates a scale option.

### Instance Properties

[`let guideDescription: String`](/documentation/Evaluations/ScaleOption/guideDescription)

Rubric guidance that the model judge references for this option.

[`let label: String`](/documentation/Evaluations/ScaleOption/label)

A short label for this option, such as “excellent”, “pass”, or “5”.

[`let value: Double`](/documentation/Evaluations/ScaleOption/value)

The numeric value for this option, used for metric aggregation.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)