---
title: "init(type:)"
framework: foundationmodels
role: symbol
role_heading: Initializer
path: "foundationmodels/transcript/responseformat/init(type:)"
---

# init(type:)

Creates a response format with type you specify.

## Declaration

```swift
init<Content>(type: Content.Type) where Content : Generable
```

## Parameters

- `type`: A doc://com.apple.foundationmodels/documentation/FoundationModels/Generable type to use as the response format.

## See Also

### Creating a response format

- [init(schema:)](foundationmodels/transcript/responseformat/init(schema:).md)
