---
title: "resolve(in:)"
framework: foundationmodels
role: symbol
role_heading: Instance Method
path: "foundationmodels/imagereference/resolve(in:)"
---

# resolve(in:)

Returns the referenced image from the transcript.

## Declaration

```swift
func resolve(in transcript: Transcript) -> Transcript.ImageAttachment?
```

## Parameters

- `transcript`: The transcript to resolve the reference against.

## Return Value

Return Value The ImageAttachment for this reference, or nil if no attachment with label attachmentLabel is found in the transcript.
