---
title: expected
framework: evaluations
role: symbol
role_heading: Instance Property
path: evaluations/modelsample/expected
---

# expected

The expected output for comparison.

## Declaration

```swift
var expected: ExpectedValue? { get }
```

## Mentioned in

Evaluating language model responses Scoring with model-as-judge evaluators

## See Also

### Specifying expected output

- [output](evaluations/modelsample/output.md)
