Skip to content

Commit

Permalink
fix: typo in metric
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaphoenix committed Aug 21, 2024
1 parent 338fdd7 commit ec18c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dfcx_scrapi/tools/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def build_metrics(
metric_list.append(RougeL())
elif metric == "answer_correctness":
metric_list.append(AnswerCorrectness(llm=generation_model))
elif metric == "faitfulness":
elif metric == "faithfulness":
metric_list.append(Faithfulness(llm=generation_model))
elif metric == "context_recall":
metric_list.append(ContextRecall(llm=generation_model))
Expand Down

0 comments on commit ec18c7a

Please sign in to comment.