Serialize a number[] embedding to a compact Float32Array Buffer. ~50% smaller than JSON.stringify and avoids JSON.parse on read.
The embedding vector.
Buffer containing raw float32 bytes.
Serialize a number[] embedding to a compact Float32Array Buffer. ~50% smaller than JSON.stringify and avoids JSON.parse on read.