VectorData

sealed class VectorData

Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.

The vector data in different formats.

Inheritors

Types

Link copied to clipboard
data class Float32(val value: List<Float>) : VectorData

The vector data as 32-bit floating point numbers. The number of elements in this array must exactly match the dimension of the vector index where the operation is being performed.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this VectorData as a Float32 and retrieves its kotlin.collections.List value. Throws an exception if the VectorData is not a Float32.

Link copied to clipboard

Casts this VectorData as a Float32 and retrieves its kotlin.collections.List value. Returns null if the VectorData is not a Float32.