Class PairwiseMetricInstance (1.66.0)

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

Pairwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.

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

Attribute

Name Description
json_instance str
Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template. This field is a member of oneof_ instance.

Methods

PairwiseMetricInstance

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

Pairwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.

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