Interface PointwiseMetricInstanceOrBuilder (3.64.0)

public interface PointwiseMetricInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentMapInstance()

public abstract ContentMap 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.

.google.cloud.aiplatform.v1beta1.ContentMap content_map_instance = 2;

Returns
Type Description
ContentMap

The contentMapInstance.

getContentMapInstanceOrBuilder()

public abstract ContentMapOrBuilder getContentMapInstanceOrBuilder()

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.

.google.cloud.aiplatform.v1beta1.ContentMap content_map_instance = 2;

Returns
Type Description
ContentMapOrBuilder

getInstanceCase()

public abstract PointwiseMetricInstance.InstanceCase getInstanceCase()
Returns
Type Description
PointwiseMetricInstance.InstanceCase

getJsonInstance()

public abstract String getJsonInstance()

Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template.

string json_instance = 1;

Returns
Type Description
String

The jsonInstance.

getJsonInstanceBytes()

public abstract ByteString getJsonInstanceBytes()

Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template.

string json_instance = 1;

Returns
Type Description
ByteString

The bytes for jsonInstance.

hasContentMapInstance()

public abstract boolean hasContentMapInstance()

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.

.google.cloud.aiplatform.v1beta1.ContentMap content_map_instance = 2;

Returns
Type Description
boolean

Whether the contentMapInstance field is set.

hasJsonInstance()

public abstract boolean hasJsonInstance()

Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template.

string json_instance = 1;

Returns
Type Description
boolean

Whether the jsonInstance field is set.