Relevance filtering specification.
| JSON representation |
|---|
{ "keywordSearchThreshold": { object ( |
| Fields | |
|---|---|
keywordSearchThreshold |
Optional. Relevance filtering threshold specification for keyword search. |
semanticSearchThreshold |
Optional. Relevance filtering threshold specification for semantic search. |
RelevanceThresholdSpec
Specification for relevance filtering on a specific sub-search.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field relevance_threshold_spec. Configures how the relevance threshold is determined. relevance_threshold_spec can be only one of the following: |
|
relevanceThreshold |
Pre-defined relevance threshold for the sub-search. |
semanticRelevanceThreshold |
Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0]. |