Class FrequentlyBoughtTogetherFeaturesConfig (1.21.1)

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

Additional configs for the frequently-bought-together model type.

Attribute

Name Description
context_products_type google.cloud.retail_v2.types.Model.ContextProductsType
Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the frequently-bought-together type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.