View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair (google_api_ai_platform v0.22.0)

A pair of sentences used as reference in source and target languages.

Attributes

  • sourceSentence (type: String.t, default: nil) - Source sentence in the sentence pair.
  • targetSentence (type: String.t, default: nil) - Target sentence in the sentence pair.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair{
    sourceSentence: String.t() | nil,
    targetSentence: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.