View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig (google_api_retail v0.10.0)

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

Attributes

  • contextProductsType (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig{
    contextProductsType: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.