Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

feat: Add Support for Layout Parser Documents#334

Merged
holtskinner merged 16 commits intomainfrom
layout-parser
Jul 16, 2024
Merged

feat: Add Support for Layout Parser Documents#334
holtskinner merged 16 commits intomainfrom
layout-parser

Conversation

@holtskinner
Copy link
Copy Markdown
Contributor

@holtskinner holtskinner commented Jul 11, 2024

  • Adds Document.chunks - List[documentai.Document.ChunkedDocument.Chunk]
  • Adds Document.document_layout_blocks - An un-nested List of documentai.Document.DocumentLayout.DocumentLayoutBlock
  • Updated Document.text to support Document AI Layout Parser

Fixes #335

@holtskinner holtskinner requested review from a team July 11, 2024 20:47
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Jul 11, 2024
@holtskinner holtskinner enabled auto-merge (squash) July 11, 2024 20:48
@holtskinner holtskinner assigned dizcology and unassigned nicain Jul 11, 2024
@holtskinner holtskinner requested a review from a team as a code owner July 11, 2024 21:02
@holtskinner holtskinner requested review from polong-lin and removed request for a team July 11, 2024 21:02
@parthea
Copy link
Copy Markdown
Contributor

parthea commented Jul 12, 2024

@holtskinner Please could you check the failing Samples - Lint presubmit?

Comment thread google/cloud/documentai_toolbox/wrappers/document.py Outdated
@holtskinner
Copy link
Copy Markdown
Contributor Author

@holtskinner Please could you check the failing Samples - Lint presubmit?

Done @parthea

@holtskinner holtskinner requested a review from dizcology July 16, 2024 17:44
@holtskinner holtskinner removed their assignment Jul 16, 2024
Comment thread google/cloud/documentai_toolbox/wrappers/document.py Outdated
Comment thread google/cloud/documentai_toolbox/wrappers/document.py Outdated
@holtskinner holtskinner merged commit c877b22 into main Jul 16, 2024
@holtskinner holtskinner deleted the layout-parser branch July 16, 2024 20:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Layout Parser

4 participants