pub fn aggregate_embeddings(chunk_embeddings: &[Vec<f32>]) -> Vec<f32>Expand description
Computes the mean of chunk_embeddings and L2-normalizes the result.
Returns a zero-vector of length EMBEDDING_DIM when the input is empty.
When a single embedding is provided it is returned as-is (no copy).