Class RubricVerdict (1.156.0)

RubricVerdict(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the verdict of an evaluation against a single rubric.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
evaluated_rubric google.cloud.aiplatform_v1beta1.types.Rubric
Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.
verdict bool
Required. Outcome of the evaluation against the rubric, represented as a boolean. true indicates a "Pass", false indicates a "Fail".
reasoning str
Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict. This field is a member of oneof_ _reasoning.

Methods

RubricVerdict

RubricVerdict(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the verdict of an evaluation against a single rubric.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields