相关性过滤规范。
| JSON 表示法 |
|---|
{ "keywordSearchThreshold": { object ( |
| 字段 | |
|---|---|
keywordSearchThreshold |
可选。关键词搜索相关性过滤阈值设定。 |
semanticSearchThreshold |
可选。语义搜索相关性过滤阈值规范。 |
RelevanceThresholdSpec
针对特定子搜索的相关性过滤规范。
| JSON 表示法 |
|---|
{
// 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 |
自定义子搜索相关性阈值。该值必须在 [0.0, 1.0] 范围内。 |
| 互斥字段的结束位置。 | |