<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/LanguageModelSession/AnyDynamicProfile",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels20LanguageModelSessionC17AnyDynamicProfileV"
  },
  "title" : "LanguageModelSession.AnyDynamicProfile"
}
-->

# LanguageModelSession.AnyDynamicProfile

A type-erased dynamic profile.

```
struct AnyDynamicProfile
```

## Topics

### Creating an instance

[`init(any LanguageModelSession.DynamicProfile)`](/documentation/FoundationModels/LanguageModelSession/AnyDynamicProfile/init(_:))

Creates an instance from the dynamic profile you specify.

[`init(erasing: some LanguageModelSession.DynamicProfile)`](/documentation/FoundationModels/LanguageModelSession/AnyDynamicProfile/init(erasing:))

Creates an instance from the dynamic profile you specify.

## Relationships

### Conforms To

[`DynamicProfile`](/documentation/FoundationModels/LanguageModelSession/DynamicProfile)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)