---
title: "resolved(in:)"
framework: foundationmodels
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "foundationmodels/imagereference/resolved(in:)"
---

# resolved(in:)

Returns the referenced image from the transcript.

## Declaration

```swift
func resolved(in transcript: some Sequence<Transcript.Entry>) -> 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.

## Discussion

Discussion If more than one attachment shares an attachmentLabel, the attachment from the latest entry is returned.
