Skip to content

Commit 9b90b04

Browse files
Google APIscopybara-github
authored andcommitted
feat: Added config options to enable LLM layout parsing
PiperOrigin-RevId: 738162282
1 parent 1ce9037 commit 9b90b04

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

google/cloud/documentai/v1beta3/document_processor_service.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,16 @@ message ProcessOptions {
372372

373373
// Optional. Config for chunking in layout parser processor.
374374
ChunkingConfig chunking_config = 1 [(google.api.field_behavior) = OPTIONAL];
375+
376+
// Optional. Whether to include images in layout parser processor response.
377+
bool return_images = 2 [(google.api.field_behavior) = OPTIONAL];
378+
379+
// Optional. Whether to include bounding boxes in layout parser processor
380+
// response.
381+
bool return_bounding_boxes = 3 [(google.api.field_behavior) = OPTIONAL];
382+
383+
// Optional. Whether to refine PDF layout using LLM.
384+
bool enable_llm_layout_parsing = 5 [(google.api.field_behavior) = OPTIONAL];
375385
}
376386

377387
// A list of individual page numbers.

0 commit comments

Comments
 (0)