1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class QuestionAnsweringCorrectnessResult : IMessage<QuestionAnsweringCorrectnessResult>, IEquatable<QuestionAnsweringCorrectnessResult>, IDeepCloneable<QuestionAnsweringCorrectnessResult>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class QuestionAnsweringCorrectnessResult.

Spec for question answering correctness result.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> QuestionAnsweringCorrectnessResult

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[QuestionAnsweringCorrectnessResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.QuestionAnsweringCorrectnessResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[QuestionAnsweringCorrectnessResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.QuestionAnsweringCorrectnessResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[QuestionAnsweringCorrectnessResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.QuestionAnsweringCorrectnessResult), [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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### QuestionAnsweringCorrectnessResult()

    public QuestionAnsweringCorrectnessResult()

### QuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult)

    public QuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.QuestionAnsweringCorrectnessResult` |

## Properties

### Confidence

    public float Confidence { get; set; }

Output only. Confidence for question answering correctness score.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.single` |   |

### Explanation

    public string Explanation { get; set; }

Output only. Explanation for question answering correctness score.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### HasConfidence

    public bool HasConfidence { get; }

Gets whether the "confidence" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasScore

    public bool HasScore { get; }

Gets whether the "score" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Score

    public float Score { get; set; }

Output only. Question Answering Correctness score.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.single` |   |