response
: The LLM generated response.expected_response
: The reference content to compare the response against in case of AnswerSimilarity.context
: The reference content to compare the response against in case of ContextSimilarity.SimilarityScore
: A numeric value representing the degree of similarity or relevance.Loader
comparator
: Comparator
The similarity measurement function (e.g., CosineSimilarity).failure_threshold
: float
The threshold value for determining pass/fail.comparator
: Comparator
The similarity measurement function (e.g., CosineSimilarity).failure_threshold
: float
The threshold value for determining pass/fail.