Skip to content

Commit

Permalink
feat: add missing evaluator (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt authored Aug 21, 2024
1 parent e798c80 commit 8124ca8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/frontend/utils/evaluators.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
IconBadge,
IconBiohazard,
IconCheck,
IconEyeCheck,
IconIdBadge,
IconLanguage,
Expand Down Expand Up @@ -101,6 +102,15 @@ const EVALUATOR_TYPES = {
},
],
},
factualness: {
id: "factualness",
name: "Factualness",
icon: IconCheck,
color: "blue",
description:
"Checks if the LLM's response is relevant given the context and the prompt.",
params: [],
},
summarization: {
id: "summarization",
name: "Summarization",
Expand Down

0 comments on commit 8124ca8

Please # to comment.