---
title: sequenceLength
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/nlcontextualembeddingresult/sequencelength
---

# sequenceLength

The number of embedding vectors the request generates.

## Declaration

```swift
var sequenceLength: Int { get }
```

## See Also

### Inspecting the result

- [language](naturallanguage/nlcontextualembeddingresult/language.md)
- [string](naturallanguage/nlcontextualembeddingresult/string.md)
