Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions mmv1/products/discoveryengine/DataStore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,14 @@ properties:
description: |
If true, the LLM based annotation is added to the image during parsing.
required: false
- name: 'enableLlmLayoutParsing'
type: Boolean
description: |
If true, the pdf layout will be refined using an LLM.
- name: 'enableGetProcessedDocument'
type: Boolean
description: |
If true, the processed document will be made available for the GetProcessedDocument API.
- name: 'structuredContentTypes'
type: Array
description: |
Expand Down Expand Up @@ -401,6 +409,14 @@ properties:
description: |
If true, the LLM based annotation is added to the image during parsing.
required: false
- name: 'enableLlmLayoutParsing'
type: Boolean
description: |
If true, the pdf layout will be refined using an LLM.
- name: 'enableGetProcessedDocument'
type: Boolean
description: |
If true, the processed document will be made available for the GetProcessedDocument API.
- name: 'structuredContentTypes'
type: Array
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ resource "google_discovery_engine_data_store" "document_processing_config_layout
document_processing_config {
default_parsing_config {
layout_parsing_config {
enable_table_annotation = true
enable_image_annotation = true
structured_content_types = ["shareholder-structure"]
exclude_html_elements = ["nav", "footer"]
exclude_html_classes = ["overlay", "screenreader"]
exclude_html_ids = ["cookie-banner"]
enable_table_annotation = true
enable_image_annotation = true
enable_llm_layout_parsing = true
enable_get_processed_document = true
structured_content_types = ["shareholder-structure"]
exclude_html_elements = ["nav", "footer"]
exclude_html_classes = ["overlay", "screenreader"]
exclude_html_ids = ["cookie-banner"]
}
}
chunking_config {
Expand All @@ -23,5 +25,14 @@ resource "google_discovery_engine_data_store" "document_processing_config_layout
include_ancestor_headings = true
}
}
parsing_config_overrides {
file_type = "pdf"
layout_parsing_config {
enable_table_annotation = true
enable_image_annotation = true
enable_llm_layout_parsing = true
enable_get_processed_document = true
}
}
}
}