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

Prediction input format for Text Sentiment.

Attributes

  • content (type: String.t, default: nil) - The text snippet to make the predictions on.
  • mimeType (type: String.t, default: nil) - The MIME type of the text snippet. The supported MIME types are listed below. - text/plain

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictInstanceTextSentimentPredictionInstance{
    content: String.t() | nil,
    mimeType: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.