public sealed class QuestionAnsweringCorrectnessSpec : IMessage<QuestionAnsweringCorrectnessSpec>, IEquatable<QuestionAnsweringCorrectnessSpec>, IDeepCloneable<QuestionAnsweringCorrectnessSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class QuestionAnsweringCorrectnessSpec.
Spec for question answering correctness metric.
Implements
IMessageQuestionAnsweringCorrectnessSpec, IEquatableQuestionAnsweringCorrectnessSpec, IDeepCloneableQuestionAnsweringCorrectnessSpec, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
QuestionAnsweringCorrectnessSpec()
public QuestionAnsweringCorrectnessSpec()
QuestionAnsweringCorrectnessSpec(QuestionAnsweringCorrectnessSpec)
public QuestionAnsweringCorrectnessSpec(QuestionAnsweringCorrectnessSpec other)
Parameter | |
---|---|
Name | Description |
other |
QuestionAnsweringCorrectnessSpec |
Properties
UseReference
public bool UseReference { get; set; }
Optional. Whether to use instance.reference to compute question answering correctness.
Property Value | |
---|---|
Type | Description |
bool |
Version
public int Version { get; set; }
Optional. Which version to use for evaluation.
Property Value | |
---|---|
Type | Description |
int |