Module: mp.tasks.components.utils.cosine_similarity

Cosine similarity utilities.

Modules

embedding_result module: Embeddings data class.

Functions

cosine_similarity(...): Utility function to compute cosine similarity between two embedding.