RelevanceFilterSpec

Relevance filtering specification.

JSON representation
{
  "keywordSearchThreshold": {
    object (RelevanceThresholdSpec)
  },
  "semanticSearchThreshold": {
    object (RelevanceThresholdSpec)
  }
}
Fields
keywordSearchThreshold

object (RelevanceThresholdSpec)

Optional. Relevance filtering threshold specification for keyword search.

semanticSearchThreshold

object (RelevanceThresholdSpec)

Optional. Relevance filtering threshold specification for semantic search.

RelevanceThresholdSpec

Specification for relevance filtering on a specific sub-search.

JSON representation
{

  // Union field relevance_threshold_spec can be only one of the following:
  "relevanceThreshold": enum (RelevanceThreshold),
  "semanticRelevanceThreshold": number
  // End of list of possible types for union field relevance_threshold_spec.
}
Fields
Union field relevance_threshold_spec. Configures how the relevance threshold is determined. relevance_threshold_spec can be only one of the following:
relevanceThreshold

enum (RelevanceThreshold)

Pre-defined relevance threshold for the sub-search.

semanticRelevanceThreshold

number

Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].