distance

Calculate the distance between two embeddings, corresponding to 1.0 - similarity.