Skip to content

Commit

Permalink
Missed reference to WORD_COUNT instead of US_PHONE_REGEX_MATCH.
Browse files Browse the repository at this point in the history
  • Loading branch information
schnecle committed May 2, 2024
1 parent 101c35b commit f530deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugin-authoring-evaluator.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export function myAwesomeEval<ModelCustomOptions extends z.ZodTypeAny>(
case DELICIOUSNESS:
// This evaluator requires an LLM as judge
return createDeliciousnessEvaluator(judge, judgeConfig);
case WORD_COUNT:
case US_PHONE_REGEX_MATCH:
// This evaluator does not require an LLM
return createWordCountEvaluator();
}
Expand Down

0 comments on commit f530deb

Please sign in to comment.