Encoded

@Serializable
value class Encoded(val value: String) : EmbeddingVector

Base64 representation of little-endian IEEE 754 float32 values.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun values(): List<Double>

Read vector coordinates, decoding base64 float32 data when necessary. Throws IllegalArgumentException for invalid base64 or an incomplete float32 value.