BoostSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Specification to boost suggestions based on the condtion of the suggestion.
Attribute |
|
---|---|
Name | Description |
condition_boost_specs |
MutableSequence[google.cloud.discoveryengine_v1beta.types.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec]
Condition boost specifications. If a suggestion matches multiple conditions in the specifictions, boost values from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. Note: Currently only support language condition boost. |
Classes
ConditionBoostSpec
ConditionBoostSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Boost applies to suggestions which match a condition.