public sealed class MetricxInstance : IMessage<MetricxInstance>, IEquatable<MetricxInstance>, IDeepCloneable<MetricxInstance>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class MetricxInstance.
Spec for MetricX instance - The fields used for evaluation are dependent on the MetricX version.
Implements
IMessageMetricxInstance, IEquatableMetricxInstance, IDeepCloneableMetricxInstance, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
MetricxInstance()
public MetricxInstance()MetricxInstance(MetricxInstance)
public MetricxInstance(MetricxInstance other)| Parameter | |
|---|---|
| Name | Description |
other |
MetricxInstance |
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 |
|