sentence_transformers.util defines different helpful functions to work with text embeddings.
eval_rst
.. automodule:: sentence_transformers.util
   :members: cos_sim, dot_score, paraphrase_mining, semantic_search, community_detection, http_get
