---
title: ModelSampleOutput
framework: evaluations
role: symbol
role_heading: Structure
path: evaluations/modelsampleoutput
---

# ModelSampleOutput

The expected output value and evaluation expectations for a sample.

## Declaration

```swift
struct ModelSampleOutput<Value, Expectation> where Value : Decodable, Value : Encodable, Value : Sendable, Expectation : Decodable, Expectation : Encodable, Expectation : Sendable
```

## Topics

### Initializers

- [init(value:expectations:)](evaluations/modelsampleoutput/init(value:expectations:).md)

### Instance Properties

- [expectations](evaluations/modelsampleoutput/expectations.md)
- [value](evaluations/modelsampleoutput/value.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Bundled input and output

- [ModelSampleInput](evaluations/modelsampleinput.md)
