Interface AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpecOrBuilder (0.42.0)

public static interface AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisable()

public abstract boolean getDisable()

Disable query rephraser.

bool disable = 1;

Returns
Type Description
boolean

The disable.

getMaxRephraseSteps()

public abstract int getMaxRephraseSteps()

Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.

int32 max_rephrase_steps = 2;

Returns
Type Description
int

The maxRephraseSteps.