Skip to content

Commit

Permalink
fix: remove the return statement (#263)
Browse files Browse the repository at this point in the history
Co-authored-by: nanda.teja1 <[email protected]>
  • Loading branch information
nandateja and nanda.teja1 authored Feb 18, 2025
1 parent bb83c85 commit 50225c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/eval/ragas/ragas_llm_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def evaluate_bulk_questions(self, metrics_records: List[ExperimentQuestionMetric

metrics_to_evaluate = [self.aspect_critic, self.answers_relevancy]
if self.experimental_config.knowledge_base:
return metrics_to_evaluate + [self.faithfulness, self.context_precision]
metrics_to_evaluate + [self.faithfulness, self.context_precision]

for metrics_record in metrics_records:
sample_params = {
Expand Down

0 comments on commit 50225c4

Please sign in to comment.