Skip to content

Commit afa3cc7

Browse files
committed
Basic evaluator is not an llm evaluator
1 parent 4ab8ac0 commit afa3cc7

File tree

1 file changed

+1
-2
lines changed
  • evaluators/langevals/langevals_langevals

1 file changed

+1
-2
lines changed

evaluators/langevals/langevals_langevals/basic.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
EvaluatorEntry,
66
EvaluationResult,
77
EvaluatorSettings,
8-
LLMEvaluatorSettings,
98
SingleEvaluationResult,
109
)
1110
from pydantic import BaseModel, Field
@@ -27,7 +26,7 @@ class CustomBasicRule(BaseModel):
2726
value: str
2827

2928

30-
class CustomBasicSettings(LLMEvaluatorSettings):
29+
class CustomBasicSettings(EvaluatorSettings):
3130
rules: list[CustomBasicRule] = Field(default=[
3231
CustomBasicRule(field="output", rule="not_contains", value="artificial intelligence"),
3332
], description="List of rules to check, the message must pass all of them")

0 commit comments

Comments
 (0)