Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk (googly_document_ai v0.1.0)

Copy Markdown View Source

Represents a chunk.

Attributes

  • chunk_fields (type: list(Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField.t())) - Chunk fields inside this chunk.
  • chunk_id (type: String.t()) - ID of the chunk.
  • content (type: String.t()) - Text content of the chunk.
  • page_footers (type: list(Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter.t())) - Page footers associated with the chunk.
  • page_headers (type: list(Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader.t())) - Page headers associated with the chunk.
  • page_span (type: Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan.t()) - Page span of the chunk.
  • source_block_ids (type: list(String.t())) - Unused.

Summary

Types

t()

@type t() ::
  %Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk{
    chunk_fields:
      [
        Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField.t()
      ]
      | nil,
    chunk_id: String.t() | nil,
    content: String.t() | nil,
    page_footers:
      [
        Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter.t()
      ]
      | nil,
    page_headers:
      [
        Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader.t()
      ]
      | nil,
    page_span:
      Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan.t()
      | nil,
    source_block_ids: [String.t()] | nil
  }