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

Metadata describes the original input document content.

Attributes

  • originalDocumentBlob (type: GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePartBlob.t, default: nil) - The original document blob.
  • pageNumber (type: integer(), default: nil) - The (1-indexed) page number of the image in the original document. The first page carries the original document content and mime type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePartDocumentMetadata{
    originalDocumentBlob:
      GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePartBlob.t() | nil,
    pageNumber: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.