From 44b7cd4b80ef63c5c04f20e7026a7139073ed007 Mon Sep 17 00:00:00 2001 From: Sdegraauw <144223601+Sdegraauw@users.noreply.github.com> Date: Fri, 13 Jun 2025 10:45:31 +0200 Subject: [PATCH] Corrected instruction prompt analyse was spelled "analyze" --- ragas/src/ragas/metrics/_context_recall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ragas/src/ragas/metrics/_context_recall.py b/ragas/src/ragas/metrics/_context_recall.py index 7af9915f9..573a1bdab 100644 --- a/ragas/src/ragas/metrics/_context_recall.py +++ b/ragas/src/ragas/metrics/_context_recall.py @@ -48,7 +48,7 @@ class ContextRecallClassificationPrompt( ): name: str = "context_recall_classification" instruction: str = ( - "Given a context, and an answer, analyze each sentence in the answer and classify if the sentence can be attributed to the given context or not. Use only 'Yes' (1) or 'No' (0) as a binary classification. Output json with reason." + "Given a context, and an answer, analyse each sentence in the answer and classify if the sentence can be attributed to the given context or not. Use only 'Yes' (1) or 'No' (0) as a binary classification. Output json with reason." ) input_model = QCA output_model = ContextRecallClassifications