pub fn cosine_similarity(a: &Embedding, b: &Embedding) -> SemanticResult<f32>
Cosine similarity in [-1, 1].
[-1, 1]