Skip to content

Commit a5b601c

Browse files
fix : solves #1215 - Inconsistency in the Value of EVALMODE_TO_COLUMNS[EvaluationMode.ca] (#1216)
Sets `EVALMODE_TO_COLUMNS[EvaluationMode.ca] = ["contexts", "answer"]` in `src/ragas/validation.py` to fix #1215. Co-authored-by: Juan Gonzalez <[email protected]>
1 parent 5bd0408 commit a5b601c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ragas/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def validate_column_dtypes(ds: Dataset):
6767
EvaluationMode.ga: ["ground_truth", "answer"],
6868
EvaluationMode.qga: ["question", "ground_truth", "answer"],
6969
EvaluationMode.qcg: ["question", "contexts", "ground_truth"],
70-
EvaluationMode.ca: ["contexts", "summary"],
70+
EvaluationMode.ca: ["contexts", "answer"],
7171
}
7272

7373

0 commit comments

Comments
 (0)