View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample (google_api_ai_platform v0.23.0)

The translation example that contains reference sentences from various sources.

Attributes

  • referenceSentencePairLists (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList.t), default: nil) - The reference sentences from inline text.
  • referenceSentencesFileInputs (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput.t), default: nil) - The reference sentences from file.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample{
    referenceSentencePairLists:
      [
        GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList.t()
      ]
      | nil,
    referenceSentencesFileInputs:
      [
        GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.