We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ab8ac0 commit afa3cc7Copy full SHA for afa3cc7
evaluators/langevals/langevals_langevals/basic.py
@@ -5,7 +5,6 @@
5
EvaluatorEntry,
6
EvaluationResult,
7
EvaluatorSettings,
8
- LLMEvaluatorSettings,
9
SingleEvaluationResult,
10
)
11
from pydantic import BaseModel, Field
@@ -27,7 +26,7 @@ class CustomBasicRule(BaseModel):
27
26
value: str
28
29
30
-class CustomBasicSettings(LLMEvaluatorSettings):
+class CustomBasicSettings(EvaluatorSettings):
31
rules: list[CustomBasicRule] = Field(default=[
32
CustomBasicRule(field="output", rule="not_contains", value="artificial intelligence"),
33
], description="List of rules to check, the message must pass all of them")
0 commit comments