Google Cloud Ai Platform V1 Client - Class PairwiseMetricSpec (1.56.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PairwiseMetricSpec.
Spec for pairwise metric.
Generated from protobuf message google.cloud.aiplatform.v1.PairwiseMetricSpec
Namespace
Google \ Cloud \ AIPlatform \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ metric_prompt_template
string
Required. Metric prompt template for pairwise metric.
getMetricPromptTemplate
Required. Metric prompt template for pairwise metric.
Returns
Type
Description
string
hasMetricPromptTemplate
clearMetricPromptTemplate
setMetricPromptTemplate
Required. Metric prompt template for pairwise metric.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-01 UTC."],[],[]]