Function langchain_rust::semantic_router::utils::cosine_similarity

source ยท
pub fn cosine_similarity(vec1: &[f64], vec2: &[f64]) -> f64