Class PointwiseMetricInstance (1.87.0)

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

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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

Attributes

Name Description
json_instance str
Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template. This field is a member of oneof_ instance.
content_map_instance google.cloud.aiplatform_v1beta1.types.ContentMap
Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content. This field is a member of oneof_ instance.

Methods

PointwiseMetricInstance

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

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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