Packs numeric vectors into the hex float32 blobs vectra stores embedding
columns as. Write the result as an ordinary character column; the distance
functions cosine(), l2(), and dot() decode it inside the engine.
Examples
m <- matrix(rnorm(12), nrow = 3) # 3 embeddings of length 4
emb <- as_embedding(m)
df <- data.frame(id = 1:3, emb = emb)