langtest.utils.custom_types.helpers.is_pass_embedding_distance#

is_pass_embedding_distance(answer: str, prediction: str, selected_distance: str, threshold: float | None = None)#

Check if the sample passes based on embedding distance.