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

Example: "gym playlist"

Attributes

  • annotationList (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMediaAnnotationList.t, default: nil) - Annotations from custom media annotator.
  • evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t, default: nil) - Required, but should only be used inside Aqua and must not be used by outside clients!!
  • isAnnotatedFromText (type: boolean(), default: nil) - Annotation comes from a text annotator. Needed to boost recall. Typically need to be verified in superroot, and have separate scoring.
  • longtailMood (type: boolean(), default: nil) - If the model is confident that this is a bizarre long-tail mood-based playlist, it can send a signal to downstream systems (that might do things like generate random music) Example: * [play music for brushing my teeth with the lights off on tuesday] This is pretty much an 'easter egg' -- it is not critical.
  • normalizedText (type: String.t, default: nil) - Optional, some canonical name for the playlist.
  • qref (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingQRefAnnotation.t, default: nil) - Needed for proto conformance in Semantic Parsing.
  • rawText (type: String.t, default: nil) - Required, corresponds to the raw text, like "80s remix" (tokenized)
  • special (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMusicPlaylist{
    annotationList:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMediaAnnotationList.t()
      | nil,
    evalData:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t()
      | nil,
    isAnnotatedFromText: boolean() | nil,
    longtailMood: boolean() | nil,
    normalizedText: String.t() | nil,
    qref:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingQRefAnnotation.t()
      | nil,
    rawText: String.t() | nil,
    special: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.