pub fn consistency(samples: &[Vec<f32>]) -> f32
target_family=wasm
Mean pairwise cosine similarity of unit-length embeddings.