---
title: "model(_:)"
framework: foundationmodels
role: symbol
role_heading: Instance Method
path: "foundationmodels/languagemodelsession/dynamicprofile/model(_:)"
---

# model(_:)

Sets the model.

## Declaration

```swift
func model(_ model: some LanguageModel) -> some LanguageModelSession.DynamicProfile

```

## See Also

### Configuring the model

- [temperature(_:)](foundationmodels/languagemodelsession/dynamicprofile/temperature(_:).md)
- [samplingMode(_:)](foundationmodels/languagemodelsession/dynamicprofile/samplingmode(_:).md)
- [reasoningLevel(_:)](foundationmodels/languagemodelsession/dynamicprofile/reasoninglevel(_:).md)
- [maximumResponseTokens(_:)](foundationmodels/languagemodelsession/dynamicprofile/maximumresponsetokens(_:).md)
- [modifier(_:)](foundationmodels/languagemodelsession/dynamicprofile/modifier(_:).md)
