<!--
{
  "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/DynamicProfileBuilder",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels20LanguageModelSessionC21DynamicProfileBuilderV"
  },
  "title" : "LanguageModelSession.DynamicProfileBuilder"
}
-->

# LanguageModelSession.DynamicProfileBuilder

A type that represents a dynamic profile builder.

```
@resultBuilder struct DynamicProfileBuilder
```

## Topics

### Building a dynamic profile

[`buildBlock(_:)`](/documentation/FoundationModels/LanguageModelSession/DynamicProfileBuilder/buildBlock(_:))

Creates a builder with a block.

[`buildEither(first:)`](/documentation/FoundationModels/LanguageModelSession/DynamicProfileBuilder/buildEither(first:))

Creates a builder with the first component.

[`buildEither(second:)`](/documentation/FoundationModels/LanguageModelSession/DynamicProfileBuilder/buildEither(second:))

Creates a builder with the second component.

[`buildLimitedAvailability(_:)`](/documentation/FoundationModels/LanguageModelSession/DynamicProfileBuilder/buildLimitedAvailability(_:))



---

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)