---
title: "init(operationCategory:requestedEvaluations:)"
framework: trustinsights
role: symbol
role_heading: Initializer
path: "trustinsights/insightevaluator/insightcontext/init(operationcategory:requestedevaluations:)"
---

# init(operationCategory:requestedEvaluations:)

Creates the context with which to request insights.

## Declaration

```swift
init(operationCategory: InsightEvaluator.OperationCategory, requestedEvaluations: (repeat each InsightRequest))
```

## Parameters

- `operationCategory`: For use in transparency logs and may affect insight results if data suggests it may be appropriate
- `requestedEvaluations`: Insights types and versions to request. These should all be of type InsightRequest.
