public sealed class Model.Types.FrequentlyBoughtTogetherFeaturesConfig : IMessage<Model.Types.FrequentlyBoughtTogetherFeaturesConfig>, IEquatable<Model.Types.FrequentlyBoughtTogetherFeaturesConfig>, IDeepCloneable<Model.Types.FrequentlyBoughtTogetherFeaturesConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Model.Types.FrequentlyBoughtTogetherFeaturesConfig.
Additional configs for the frequently-bought-together model type.
public Model.Types.ContextProductsType ContextProductsType { get; set; }
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][google.cloud.retail.v2.Model.ContextProductsType.MULTIPLE_CONTEXT_PRODUCTS].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eFrequentlyBoughtTogetherFeaturesConfig\u003c/code\u003e class is 2.12.0, which is part of the Google.Cloud.Retail.V2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed for additional configurations for the frequently-bought-together model type within the Retail v2 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFrequentlyBoughtTogetherFeaturesConfig\u003c/code\u003e implements several interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003eContextProductsType\u003c/code\u003e property that defines the context of the model when used in prediction requests, with a default value of \u003ccode\u003eMULTIPLE_CONTEXT_PRODUCTS\u003c/code\u003e if not specified.\u003c/p\u003e\n"],["\u003cp\u003eThere are various available versions for this class, from version 1.0.0 to 2.12.0, all accessible through their respective documentation links.\u003c/p\u003e\n"]]],[],null,[]]