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
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "relevanceThreshold": enum (RelevanceThreshold),
  "semanticRelevanceThreshold": number
  // End of mutually exclusive fields.
}
Fields
Configures how the relevance threshold is determined. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
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].

End of mutually exclusive fields.