public sealed class PairwiseQuestionAnsweringQualitySpec : IMessage<PairwiseQuestionAnsweringQualitySpec>, IEquatable<PairwiseQuestionAnsweringQualitySpec>, IDeepCloneable<PairwiseQuestionAnsweringQualitySpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class PairwiseQuestionAnsweringQualitySpec.
Spec for pairwise question answering quality score metric.
[[["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-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePairwiseQuestionAnsweringQualitySpec\u003c/code\u003e class in the Vertex AI v1beta1 API defines specifications for evaluating the quality of question answering in a pairwise manner.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace, available in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly, with the most recent version being 1.0.0-beta21.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for functionality like deep cloning and protocol buffer message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default one and one that accepts another \u003ccode\u003ePairwiseQuestionAnsweringQualitySpec\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eIt features two key properties: \u003ccode\u003eUseReference\u003c/code\u003e, which is a boolean to determine whether to use instance references for quality calculation, and \u003ccode\u003eVersion\u003c/code\u003e, which is an integer that specifies the evaluation version.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class PairwiseQuestionAnsweringQualitySpec (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PairwiseQuestionAnsweringQualitySpec)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.PairwiseQuestionAnsweringQualitySpec) \n\n public sealed class PairwiseQuestionAnsweringQualitySpec : IMessage\u003cPairwiseQuestionAnsweringQualitySpec\u003e, IEquatable\u003cPairwiseQuestionAnsweringQualitySpec\u003e, IDeepCloneable\u003cPairwiseQuestionAnsweringQualitySpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class PairwiseQuestionAnsweringQualitySpec.\n\nSpec for pairwise question answering quality score metric. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PairwiseQuestionAnsweringQualitySpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PairwiseQuestionAnsweringQualitySpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PairwiseQuestionAnsweringQualitySpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PairwiseQuestionAnsweringQualitySpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PairwiseQuestionAnsweringQualitySpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PairwiseQuestionAnsweringQualitySpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PairwiseQuestionAnsweringQualitySpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### PairwiseQuestionAnsweringQualitySpec()\n\n public PairwiseQuestionAnsweringQualitySpec()\n\n### PairwiseQuestionAnsweringQualitySpec(PairwiseQuestionAnsweringQualitySpec)\n\n public PairwiseQuestionAnsweringQualitySpec(PairwiseQuestionAnsweringQualitySpec other)\n\nProperties\n----------\n\n### UseReference\n\n public bool UseReference { get; set; }\n\nOptional. Whether to use instance.reference to compute question answering\nquality.\n\n### Version\n\n public int Version { get; set; }\n\nOptional. Which version to use for evaluation."]]