---
title: modelIdentifier
framework: Natural Language
role: symbol
role_heading: Instance Property
platforms: [iOS 17.0+, iPadOS 17.0+, Mac Catalyst 17.0+, macOS 14.0+, tvOS 17.0+, visionOS 1.0+, watchOS 10.0+]
path: naturallanguage/nlcontextualembedding/modelidentifier
---

# modelIdentifier

A string that uniquely identifies the embedding model.

## Declaration

```swift
var modelIdentifier: String { get }
```

## Discussion

Discussion Use the same model identifier that you developed and tested your app with to maintain consistent results.

## See Also

### Inspecting the contextual embedding

- [dimension](naturallanguage/nlcontextualembedding/dimension.md)
- [hasAvailableAssets](naturallanguage/nlcontextualembedding/hasavailableassets.md)
- [languages](naturallanguage/nlcontextualembedding/languages.md)
- [maximumSequenceLength](naturallanguage/nlcontextualembedding/maximumsequencelength.md)
- [revision](naturallanguage/nlcontextualembedding/revision.md)
- [scripts](naturallanguage/nlcontextualembedding/scripts.md)
