Skip to content

EvaluatorCriterion

Source code in docs_src/capo_cloudwatchomni/types/evaluator_criterion.py
class EvaluatorCriterion(TypedDict, closed=True):
    evaluator_id: "capo_cloudwatchomni.types.evaluator_identifier.EvaluatorIdentifier"
    """The ID of the evaluator to check. Must be one of the run's evaluators."""
    threshold: "capo_cloudwatchomni.types.rule_threshold.RuleThreshold"
    """The minimum score, the maximum score or the passing labels for the evaluator."""

evaluator_id instance-attribute

evaluator_id: EvaluatorIdentifier

The ID of the evaluator to check. Must be one of the run's evaluators.

threshold instance-attribute

threshold: RuleThreshold

The minimum score, the maximum score or the passing labels for the evaluator.