View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig (google_api_retail v0.19.1)

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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.