public sealed class QuestionAnsweringRelevanceResult : IMessage<QuestionAnsweringRelevanceResult>, IEquatable<QuestionAnsweringRelevanceResult>, IDeepCloneable<QuestionAnsweringRelevanceResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class QuestionAnsweringRelevanceResult.
Spec for question answering relevance result.
Implements
IMessageQuestionAnsweringRelevanceResult, IEquatableQuestionAnsweringRelevanceResult, IDeepCloneableQuestionAnsweringRelevanceResult, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
QuestionAnsweringRelevanceResult()
public QuestionAnsweringRelevanceResult()
QuestionAnsweringRelevanceResult(QuestionAnsweringRelevanceResult)
public QuestionAnsweringRelevanceResult(QuestionAnsweringRelevanceResult other)
Parameter | |
---|---|
Name | Description |
other |
QuestionAnsweringRelevanceResult |
Properties
Confidence
public float Confidence { get; set; }
Output only. Confidence for question answering relevance score.
Property Value | |
---|---|
Type | Description |
float |
Explanation
public string Explanation { get; set; }
Output only. Explanation for question answering relevance 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 Relevance score.
Property Value | |
---|---|
Type | Description |
float |