public sealed class QuestionAnsweringCorrectnessResult : IMessage<QuestionAnsweringCorrectnessResult>, IEquatable<QuestionAnsweringCorrectnessResult>, IDeepCloneable<QuestionAnsweringCorrectnessResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class QuestionAnsweringCorrectnessResult.
Spec for question answering correctness result.
Implements
IMessageQuestionAnsweringCorrectnessResult, IEquatableQuestionAnsweringCorrectnessResult, IDeepCloneableQuestionAnsweringCorrectnessResult, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
QuestionAnsweringCorrectnessResult()
public QuestionAnsweringCorrectnessResult()
QuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult)
public QuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult other)
Parameter | |
---|---|
Name | Description |
other |
QuestionAnsweringCorrectnessResult |
Properties
Confidence
public float Confidence { get; set; }
Output only. Confidence for question answering correctness score.
Property Value | |
---|---|
Type | Description |
float |
Explanation
public string Explanation { get; set; }
Output only. Explanation for question answering correctness score.
Property Value | |
---|---|
Type | Description |
string |
HasConfidence
public bool HasConfidence { get; }
Gets whether the "confidence" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasScore
public bool HasScore { get; }
Gets whether the "score" field is set
Property Value | |
---|---|
Type | Description |
bool |
Score
public float Score { get; set; }
Output only. Question Answering Correctness score.
Property Value | |
---|---|
Type | Description |
float |