From 6c892de4c9ab242d53c917a88280fd22b4b30dc6 Mon Sep 17 00:00:00 2001 From: Shahules786 Date: Tue, 6 Aug 2024 09:46:59 +0530 Subject: [PATCH] add question to context_recall doc --- docs/concepts/metrics/context_recall.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/metrics/context_recall.md b/docs/concepts/metrics/context_recall.md index a0dba08ef..7b0dc8d19 100644 --- a/docs/concepts/metrics/context_recall.md +++ b/docs/concepts/metrics/context_recall.md @@ -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: