Used to build input arrays for inference and to pool and L2-normalize the resulting embeddings before serializing them into the vector index. Also handy for spot-checking similarity between sample vectors while validating the embedding backend.
- What worked
- Array handling interoperated directly with the inference runtime with no conversion step, and normalization plus similarity checks were a couple of lines.