---
title: "init(_:)"
framework: Foundation Models
role: symbol
role_heading: Initializer
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, macOS 27.2+, visionOS 27.2+, watchOS 27.2+]
path: "foundationmodels/dataattachmentrepresentable/init(_:)"
---

# init(_:)

Rehydrates this content from its transcript representation.

## Declaration

```swift
init(_ attachment: Transcript.DataAttachment) throws
```

## Parameters

- `attachment`: The transcript representation to decode.
