GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductExpression
Table of Contents ▼
Jump to a specific part of the page:
Description
An expression parsed from a user query that describes a product or set of products.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
evalData
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData
, default:nil
)
- This field should not be used by clients of the grammar. It is intended to be used internally in Aqua for metric and regression tests. -
grammaticalGender
(type:String.t
, default:nil
)
- -
grammaticalNumber
(type:String.t
, default:nil
)
- -
phrases
(type:list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantPhrase)
, default:nil
)
- Ordered list of phrases that the user used to describe a product. -
productClassification
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductClassification
, default:nil
)
- -
shoppingListItemInfo
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantShoppingListItemInfo
, default:nil
)
- Associated shopping list item info. Only set when the product is come from a shopping list item.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductExpression{
evalData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t() | nil,
grammaticalGender: String.t() | nil,
grammaticalNumber: String.t() | nil,
phrases: [ GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantPhrase.t() ] | nil,
productClassification: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductClassification.t() | nil,
shoppingListItemInfo: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantShoppingListItemInfo.t() | nil
}
evalData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t() | nil,
grammaticalGender: String.t() | nil,
grammaticalNumber: String.t() | nil,
phrases: [ GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantPhrase.t() ] | nil,
productClassification: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductClassification.t() | nil,
shoppingListItemInfo: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantShoppingListItemInfo.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductExpression