---
title: EvaluationContext
framework: evaluations
role: symbol
role_heading: Structure
path: evaluations/evaluationcontext
---

# EvaluationContext

A context that provides the evaluation result within a test scope.

## Declaration

```swift
struct EvaluationContext
```

## Mentioned in

Evaluating language model responses

## Overview

Overview Access the result via result after the evaluation completes.

## Topics

### Instance Properties

- [result](evaluations/evaluationcontext/result.md)

### Type Properties

- [current](evaluations/evaluationcontext/current.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Swift Testing integration

- [EvaluationTrait](evaluations/evaluationtrait.md)
