public sealed class CometInstance : IMessage<CometInstance>, IEquatable<CometInstance>, IDeepCloneable<CometInstance>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class CometInstance.
Spec for Comet instance - The fields used for evaluation are dependent on the comet version.
Implements
IMessageCometInstance, IEquatableCometInstance, IDeepCloneableCometInstance, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
CometInstance()
public CometInstance()
CometInstance(CometInstance)
public CometInstance(CometInstance other)
Parameter | |
---|---|
Name | Description |
other |
CometInstance |
Properties
HasPrediction
public bool HasPrediction { get; }
Gets whether the "prediction" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasReference
public bool HasReference { get; }
Gets whether the "reference" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSource
public bool HasSource { get; }
Gets whether the "source" field is set
Property Value | |
---|---|
Type | Description |
bool |
Prediction
public string Prediction { get; set; }
Required. Output of the evaluated model.
Property Value | |
---|---|
Type | Description |
string |
Reference
public string Reference { get; set; }
Optional. Ground truth used to compare against the prediction.
Property Value | |
---|---|
Type | Description |
string |
Source
public string Source { get; set; }
Optional. Source text in original language.
Property Value | |
---|---|
Type | Description |
string |