View Source GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePart (google_api_ai_platform v0.5.0)

A single part of a message.

Attributes

  • documentMetadata (type: GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePartDocumentMetadata.t, default: nil) - Document metadata. The metadata should only be used by the Cloud LLM when supporting document mime types. It will only be populated when this image input part is converted from a document input part.
  • fileData (type: GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePartFileData.t, default: nil) - URI-based data.
  • functionCall (type: GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceFunctionCall.t, default: nil) - Function call data.
  • functionResponse (type: GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceFunctionResponse.t, default: nil) - Function response data.
  • inlineData (type: GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePartBlob.t, default: nil) - Inline bytes data
  • lmRootMetadata (type: GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePartLMRootMetadata.t, default: nil) - Metadata provides extra info for building the LM Root request. Note: High enough tag number for internal only fields.
  • text (type: String.t, default: nil) - Text input.
  • videoMetadata (type: GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePartVideoMetadata.t, default: nil) - Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.