Class PairwiseQuestionAnsweringQualityInstance (1.49.0)

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

Spec for pairwise question answering quality instance.

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

Attributes

NameDescription
prediction str
Required. Output of the candidate model. This field is a member of oneof_ _prediction.
baseline_prediction str
Required. Output of the baseline model. This field is a member of oneof_ _baseline_prediction.
reference str
Optional. Ground truth used to compare against the prediction. This field is a member of oneof_ _reference.
context str
Required. Text to answer the question. This field is a member of oneof_ _context.
instruction str
Required. Question Answering prompt for LLM. This field is a member of oneof_ _instruction.

Methods

PairwiseQuestionAnsweringQualityInstance

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

Spec for pairwise question answering quality instance.

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