[[["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\u003eThis documentation covers the \u003ccode\u003eCoherenceInput\u003c/code\u003e class within the Vertex AI v1beta1 API, used as input for the coherence metric.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCoherenceInput\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is implemented with multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default \u003ccode\u003eCoherenceInput()\u003c/code\u003e and a copy constructor \u003ccode\u003eCoherenceInput(CoherenceInput other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has two required properties: \u003ccode\u003eInstance\u003c/code\u003e of type \u003ccode\u003eCoherenceInstance\u003c/code\u003e, representing the coherence instance, and \u003ccode\u003eMetricSpec\u003c/code\u003e of type \u003ccode\u003eCoherenceSpec\u003c/code\u003e, which holds the specification for the coherence score metric.\u003c/p\u003e\n"],["\u003cp\u003eThe latest documented version of this class is \u003ccode\u003e1.0.0-beta21\u003c/code\u003e, with a previous version available as \u003ccode\u003e1.0.0-beta20\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class CoherenceInput (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.CoherenceInput)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.CoherenceInput) \n\n public sealed class CoherenceInput : IMessage\u003cCoherenceInput\u003e, IEquatable\u003cCoherenceInput\u003e, IDeepCloneable\u003cCoherenceInput\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class CoherenceInput.\n\nInput for coherence metric. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CoherenceInput \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CoherenceInput](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CoherenceInput), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CoherenceInput](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CoherenceInput), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CoherenceInput](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CoherenceInput), [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### CoherenceInput()\n\n public CoherenceInput()\n\n### CoherenceInput(CoherenceInput)\n\n public CoherenceInput(CoherenceInput other)\n\nProperties\n----------\n\n### Instance\n\n public CoherenceInstance Instance { get; set; }\n\nRequired. Coherence instance.\n\n### MetricSpec\n\n public CoherenceSpec MetricSpec { get; set; }\n\nRequired. Spec for coherence score metric."]]