Skip to content

Commit

Permalink
Basic evaluator is not an llm evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriochaves committed Aug 19, 2024
1 parent 4ab8ac0 commit afa3cc7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions evaluators/langevals/langevals_langevals/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
EvaluatorEntry,
EvaluationResult,
EvaluatorSettings,
LLMEvaluatorSettings,
SingleEvaluationResult,
)
from pydantic import BaseModel, Field
Expand All @@ -27,7 +26,7 @@ class CustomBasicRule(BaseModel):
value: str


class CustomBasicSettings(LLMEvaluatorSettings):
class CustomBasicSettings(EvaluatorSettings):
rules: list[CustomBasicRule] = Field(default=[
CustomBasicRule(field="output", rule="not_contains", value="artificial intelligence"),
], description="List of rules to check, the message must pass all of them")
Expand Down

0 comments on commit afa3cc7

Please sign in to comment.