View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductClassification (google_api_content_warehouse v0.3.0)

Whether the product being described fits into specific categories (e.g., "video games").

Attributes

  • bookConfidence (type: number(), default: nil) - TODO(ppoudyal) Expand confidence to cases where the product phrase might be a book/movie/video_game but isn't just a title The score (between 0 - 1) measuring the confidence that product
  • isVideoGame (type: boolean(), default: nil) - TODO(ppoudyal) Deprecate is_video_game once the score covers all cases covered by $VideoGameProductPhrase The product phrase contains a video game title.
  • movieConfidence (type: number(), default: nil) - phrase mentions a book title The score (between 0 - 1) measuring the confidence that product
  • videoGameConfidence (type: number(), default: nil) - phrase mentions a movie title The score (between 0 - 1) measuring the confidence that product

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductClassification{
    bookConfidence: number() | nil,
    isVideoGame: boolean() | nil,
    movieConfidence: number() | nil,
    videoGameConfidence: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.