Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 31, 2024
1 parent c6ce75d commit 00c11a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions evals/metrics/ragaaf/prompt_templates/context_recall.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ class ContextRecall:
name = "context_recall"
required_columns = ["context", "ground_truth"]
template = """- Context Recall: context recall measures how well ground truth is supported by the context.
- Score 1: None of facts/steps/aspects in the ground truth are supported by the context.
- Score 2: Only a small part of facts/steps/aspects in the ground truth are supported by the context.
- Score 3: About half of facts/steps/aspects in the ground truth are supported by the context.
- Score 4: All main/important facts/steps/aspects in the ground truth are supported by the context but some of the details are not supported by the context.
- Score 1: None of facts/steps/aspects in the ground truth are supported by the context.
- Score 2: Only a small part of facts/steps/aspects in the ground truth are supported by the context.
- Score 3: About half of facts/steps/aspects in the ground truth are supported by the context.
- Score 4: All main/important facts/steps/aspects in the ground truth are supported by the context but some of the details are not supported by the context.
- Score 5: All of facts/steps/aspects in the ground truth are supported by the context. """

0 comments on commit 00c11a5

Please sign in to comment.