Discovery Engine V1BETA API - Module Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceThreshold (v0.17.0)

Reference documentation and code samples for the Discovery Engine V1BETA API module Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceThreshold.

The relevance threshold of the search results. The higher relevance threshold is, the higher relevant results are shown and the less number of results are returned.

Constants

RELEVANCE_THRESHOLD_UNSPECIFIED

value: 0
Default value. In this case, server behavior defaults to Google defined threshold.

LOWEST

value: 1
Lowest relevance threshold.

LOW

value: 2
Low relevance threshold.

MEDIUM

value: 3
Medium relevance threshold.

HIGH

value: 4
High relevance threshold.