Calculate the semantic similarity between one text and a list of other sentences by comparing their embeddings.
Examples
hf_sentence_similarity_payload(
source_sentence = "A happy person",
sentences = list("A joyful person", "A rainy day")
)Calculate the semantic similarity between one text and a list of other sentences by comparing their embeddings.
hf_sentence_similarity_payload(
source_sentence = "A happy person",
sentences = list("A joyful person", "A rainy day")
)