Cloud AI Platform v1 API - Class QuestionAnsweringRelevanceSpec (3.6.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class QuestionAnsweringRelevanceSpec.

Spec for question answering relevance metric.

Inheritance

object > QuestionAnsweringRelevanceSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

QuestionAnsweringRelevanceSpec()

public QuestionAnsweringRelevanceSpec()

QuestionAnsweringRelevanceSpec(QuestionAnsweringRelevanceSpec)

public QuestionAnsweringRelevanceSpec(QuestionAnsweringRelevanceSpec other)
Parameter
Name Description
other QuestionAnsweringRelevanceSpec

Properties

UseReference

public bool UseReference { get; set; }

Optional. Whether to use instance.reference to compute question answering relevance.

Property Value
Type Description
bool

Version

public int Version { get; set; }

Optional. Which version to use for evaluation.

Property Value
Type Description
int