Chunk(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents a chunk.
Attributes | |
---|---|
Name | Description |
chunk_id |
str
ID of the chunk. |
source_block_ids |
MutableSequence[str]
List of all parsed documents layout source blocks used to generate the chunk. |
content |
str
Text content of the chunk. |
page_span |
google.cloud.documentai_v1beta3.types.Document.ChunkedDocument.Chunk.ChunkPageSpan
Page span of the chunk. |
Classes
ChunkPageSpan
ChunkPageSpan(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents where the chunk starts and ends in the document.