Example
Attributes
Name of the field to compare. Span filters use namespaced names such as
Span::span_type, SpanAttribute::gen_ai.usage.total_tokens, or
Evaluator::Safety::Is Toxic; see get_span_fields() on
Application.Comparison to apply. Pass an
OperatorType member (for example
OperatorType.EQUAL) or its string value ("equal").