Class BoostSpec (1.32.1)

BoostSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Boost specification to boost certain documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation is available at https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec

Attribute

NameDescription
condition_boost_specs MutableSequence[google.cloud.dialogflowcx_v3.types.BoostSpec.ConditionBoostSpec]
Optional. Condition boost specifications. If a document matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.

Classes

ConditionBoostSpec

ConditionBoostSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Boost applies to documents which match a condition.