Determines whether the generated text matches the reference with high character-level similarity using fuzzy matching given by the Text Similarity metric. Returns a binary outcome based on a threshold, making it ideal for simple pass/fail evaluations where exact wording is not required.
The Text Match metric is part of the Deterministic Metric options in Galtea. It leverages character-level fuzzy string comparison to assess whether two texts are similar enough, based on a predefined threshold. Rather than producing a continuous similarity score, this metric returns a boolean-style score, which is useful for scenarios where a definitive match decision is needed despite minor wording differences.
The metric uses a fuzzy string matching algorithm (based on edit distance) to compute the similarity ratio between the actual and expected outputs. If the similarity ratio exceeds 85%, the output is considered a match, otherwise; it is marked as a non-match.