Interface SuggestionDedupingConfigOrBuilder (4.87.0)

public interface SuggestionDedupingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableDeduping()

public abstract boolean getEnableDeduping()

Optional. Whether to enable suggestion deduping.

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

Returns
Type Description
boolean

The enableDeduping.

getSimilarityThreshold()

public abstract float getSimilarityThreshold()

Optional. The threshold for similarity between two suggestions. Acceptable value is [0.0, 1.0], default to 0.8

float similarity_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The similarityThreshold.