# EmbeddingVector


```
class EmbeddingVector
```

<br />

*** ** * ** ***

Represents a generated embedding vector.

## Summary

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/EmbeddingVector#EmbeddingVector(kotlin.FloatArray)(vector: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float-array/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float-array/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/EmbeddingVector#vector()` A flattened `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float-array/index.html` containing the embedding values, whose length matches `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/EmbeddingMetadata#dimension()`. |

## Public constructors

### EmbeddingVector

```
EmbeddingVector(vector: FloatArray)
```

## Public properties

### vector

```
val vector: FloatArray
```

A flattened `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float-array/index.html` containing the embedding values, whose length matches `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/EmbeddingMetadata#dimension()`.