public sealed class PairwiseMetricInstance : IMessage<PairwiseMetricInstance>, IEquatable<PairwiseMetricInstance>, IDeepCloneable<PairwiseMetricInstance>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class PairwiseMetricInstance.
Pairwise metric instance. Usually one instance corresponds to one row in an
evaluation dataset.
public ContentMap ContentMapInstance { get; set; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePairwiseMetricInstance\u003c/code\u003e class is part of the Vertex AI v1beta1 API, used to represent a single instance of pairwise metric data, typically corresponding to a row in an evaluation dataset.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing methods for comparison, cloning, and message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors: a default one and another that takes a \u003ccode\u003ePairwiseMetricInstance\u003c/code\u003e object as a parameter for copying its properties.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eHasJsonInstance\u003c/code\u003e to check if the "json_instance" field is set, \u003ccode\u003eInstanceCase\u003c/code\u003e to define which field is set, and \u003ccode\u003eJsonInstance\u003c/code\u003e to handle the json string representation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is the 1.0.0-beta21.\u003c/p\u003e\n"]]],[],null,[]]