NlpSemanticParsingModelsShoppingAssistantProductExpression

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):

View Attributes

Attributes

  1. 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.
  2. grammaticalGender (type: String.t, default: nil)
    -
  3. grammaticalNumber (type: String.t, default: nil)
    -
  4. phrases (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantPhrase), default: nil)
    - Ordered list of phrases that the user used to describe a product.
  5. productClassification (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductClassification, default: nil)
    -
  6. 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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductExpression