View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTextSentimentAnnotation (google_api_ai_platform v0.13.0)

Annotation details specific to text sentiment.

Attributes

  • annotationSpecId (type: String.t, default: nil) - The resource Id of the AnnotationSpec that this Annotation pertains to.
  • displayName (type: String.t, default: nil) - The display name of the AnnotationSpec that this Annotation pertains to.
  • sentiment (type: integer(), default: nil) - The sentiment score for text.
  • sentimentMax (type: integer(), default: nil) - The sentiment max score for text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTextSentimentAnnotation{
    annotationSpecId: String.t() | nil,
    displayName: String.t() | nil,
    sentiment: integer() | nil,
    sentimentMax: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.