Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PairwiseMetricInstance.
Pairwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.
Generated from protobuf message google.cloud.aiplatform.v1.PairwiseMetricInstance
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ json_instance
string
Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.
↳ content_map_instance
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.
getJsonInstance
Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.
string
hasJsonInstance
setJsonInstance
Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.
var
string
$this
getContentMapInstance
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.
hasContentMapInstance
setContentMapInstance
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
getInstance
string

