Skip to content

Commit

Permalink
add question to context_recall doc
Browse files Browse the repository at this point in the history
  • Loading branch information
shahules786 committed Aug 6, 2024
1 parent a19ab97 commit 6c892de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/concepts/metrics/context_recall.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Context Recall

Context recall measures the extent to which the retrieved context aligns with the annotated answer, treated as the ground truth. It is computed using `question`, `ground truth` and the retrieved `context`, and the values range between 0 and 1, with higher values indicating better performance.
Context recall measures the extent to which the retrieved context aligns with the annotated answer, treated as the ground truth. It is mainly computed based on the `question`, `ground truth` and the retrieved `context`, and the values range between 0 and 1, with higher values indicating better performance.
To estimate context recall from the ground truth answer, each claim in the ground truth answer is analyzed to determine whether it can be attributed to the retrieved context or not. In an ideal scenario, all claims in the ground truth answer should be attributable to the retrieved context.

The formula for calculating context recall is as follows:
Expand Down

0 comments on commit 6c892de

Please sign in to comment.