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

Copy Markdown View Source

For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.

Attributes

  • page_offset (type: integer()) - The index of the first page in Document.pages in the overall document global pages. Available for document shards created by the document splitter.
  • shard_count (type: String.t()) - Total number of shards.
  • shard_index (type: String.t()) - The 0-based index of this shard.
  • text_offset (type: String.t()) - The index of the first character in Document.text in the overall document global text.

Summary

Types

t()

@type t() :: %Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentShardInfo{
  page_offset: integer() | nil,
  shard_count: String.t() | nil,
  shard_index: String.t() | nil,
  text_offset: String.t() | nil
}