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 |
|---|
{
// The following is a list of mutually exclusive fields. At most one of the
// fields will be set in a response:
"relevanceThreshold": enum ( |
| 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 |
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]. |
| End of mutually exclusive fields. | |