GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationProductInformation
Table of Contents ▼
Jump to a specific part of the page:
Description
Information about a single product. For ProductNet models, each product has one label with a detection score. The label is mapped to one or multiple category ids. For PRIMI generic feature models, each product can have multiple entities, and each entity has a score. The category_id and detection_score fields are not populated for PRIMI generic feature models.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
categoryId
(type:list(integer())
, default:nil
)
- The possible Merlot ids for the item. There may be more than one if the product detector result corresponds to a collection of merlot ids, which can't be easily grouped up to a common ancestor, for which the detector would still make sense for all the children. E.g. a detected "chair" can be either an indoor chair or an outdoor one, however in Merlot the common ancestor of the two is furniture. -
clusterIds
(type:list(integer())
, default:nil
)
- The k-d tree clusters for retrieval. Will be deprecated, use the token_groups instead. To add tokens/cluster_ids from new tokenization model in the future, add it to the token_groups. -
detectionScore
(type:number()
, default:nil
)
- The localization detection score. -
embedding
(type:String.t
, default:nil
)
- The serialized embedding values. -
entities
(type:list(GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationEntity)
, default:nil
)
- The recognized entities and scores. -
featureType
(type:String.t
, default:nil
)
- Feature type (different detectors and embedders) requested. -
productLocation
(type:GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationBoundingBox
, default:nil
)
- The bounding box. -
tokenGroups
(type:list(GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationProductInformationTokenGroup)
, default:nil
)
-
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationProductInformation{
categoryId: [integer()] | nil,
clusterIds: [integer()] | nil,
detectionScore: number() | nil,
embedding: String.t() | nil,
entities: [ GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationEntity.t() ] | nil,
featureType: String.t() | nil,
productLocation: GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationBoundingBox.t() | nil,
tokenGroups: [ GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationProductInformationTokenGroup.t() ] | nil
}
categoryId: [integer()] | nil,
clusterIds: [integer()] | nil,
detectionScore: number() | nil,
embedding: String.t() | nil,
entities: [ GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationEntity.t() ] | nil,
featureType: String.t() | nil,
productLocation: GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationBoundingBox.t() | nil,
tokenGroups: [ GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationProductInformationTokenGroup.t() ] | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryShoppingProductInformationProductInformation