GetCatalogItemResult

data class GetCatalogItemResult(val categoryHierarchies: List<GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse>, val description: String, val itemAttributes: GoogleCloudRecommendationengineV1beta1FeatureMapResponse, val itemGroupId: String, val languageCode: String, val productMetadata: GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponse, val tags: List<String>, val title: String)

Constructors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both "Shoes & Accessories" -> "Shoes" and "Sports & Fitness" -> "Athletic Clothing" -> "Shoes", it could be represented as: "categoryHierarchies": [ { "categories": "Shoes & Accessories", "Shoes"}, { "categories": "Sports & Fitness", "Athletic Clothing", "Shoes" } ]

Link copied to clipboard

Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.

Link copied to clipboard

Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.

Link copied to clipboard

Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. /recommendations-ai/docs/catalog#item-group-id.

Link copied to clipboard

Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.

Link copied to clipboard

Optional. Metadata specific to retail products.

Link copied to clipboard

Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.

Link copied to clipboard

Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.