pub fn compute_similarity( targets: &Vec<String>, embeddings: &BTreeMap<String, Vec<f32>>, scores: &mut BTreeMap<String, f64>, )