Interface QuestionAnsweringCorrectnessSpecOrBuilder (3.50.0)

public interface QuestionAnsweringCorrectnessSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getUseReference()

public abstract boolean getUseReference()

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

bool use_reference = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The useReference.

getVersion()

public abstract int getVersion()

Optional. Which version to use for evaluation.

int32 version = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The version.