View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableData (google_api_content_warehouse v0.4.0)

Message containing information about hyper-reliable categories. go/local-hyper-reliable

Attributes

  • commodityStrength (type: number(), default: nil) - Whether a location is a commodity (distance is an important metric), neutral or non-commodity (distance is not important). Commodity locations are "atm", "gas station", etc. Non-commodity locations are "restaurant", "hotel", etc, and all others are neutral. The value is 1 for commodity queries, 0 for non-commodity queries, no-value for neutral queries (when the field doesn't exist in the grammar). The reason it is a float is to prepare for future changes when we expand the signal value from discrete classes to a score, and the score will be in the range of [0,1].
  • gcidsynsOverride (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableDataGCIDSynsOverride.t), default: nil) -
  • hyperReliable (type: boolean(), default: nil) -
  • retrievalGcids (type: list(String.t), default: nil) - Categories used for retrieval and used in Artemis diversity tiers as restricts. See https://ariane.googleplex.com/launch/190585 for details.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableData{
    commodityStrength: number() | nil,
    gcidsynsOverride:
      [
        GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableDataGCIDSynsOverride.t()
      ]
      | nil,
    hyperReliable: boolean() | nil,
    retrievalGcids: [String.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.