Skip to content

Commit

Permalink
Update autoevals manifest (#112)
Browse files Browse the repository at this point in the history
The RAGAS scorers require extra params.
  • Loading branch information
ankrgyl authored Jan 23, 2025
1 parent a6bd129 commit dbb7167
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions js/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,36 +110,43 @@ export const Evaluators: {
method: ContextEntityRecall,
description:
"Estimates context recall by estimating TP and FN using annotated answer and retrieved context.",
requiresExtraParams: true,
},
{
method: ContextRelevancy,
description:
"Extracts relevant sentences from the provided context that are absolutely required to answer the given question.",
requiresExtraParams: true,
},
{
method: ContextRecall,
description:
"Analyzes each sentence in the answer and classifies if the sentence can be attributed to the given context or not.",
requiresExtraParams: true,
},
{
method: ContextPrecision,
description:
"Verifies if the context was useful in arriving at the given answer.",
requiresExtraParams: true,
},
{
method: AnswerRelevancy,
description:
"Scores the relevancy of the generated answer to the given question.",
requiresExtraParams: true,
},
{
method: AnswerSimilarity,
description:
"Scores the semantic similarity between the generated answer and ground truth.",
requiresExtraParams: true,
},
{
method: AnswerCorrectness,
description:
"Measures answer correctness compared to ground truth using a weighted average of factuality and semantic similarity.",
requiresExtraParams: true,
},
],
},
Expand Down

0 comments on commit dbb7167

Please sign in to comment.