Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c5c5d09

Browse filesBrowse files
committed
debug handle_response_sample_v1beta3.py for schema error
1 parent 830fc65 commit c5c5d09
Copy full SHA for c5c5d09

File tree

Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed

‎documentai/snippets/handle_response_sample_v1beta3.py

Copy file name to clipboardExpand all lines: documentai/snippets/handle_response_sample_v1beta3.py
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ def process_document_summarizer_sample(
6363
# Optional: Request specific summarization format other than the default
6464
# for the processor version.
6565
process_options = documentai.ProcessOptions(
66-
schema_override=documentai.DocumentSchema(
67-
entity_types=[
68-
documentai.DocumentSchema.EntityType(
69-
name="summary_document_type",
70-
base_types=["document"],
71-
properties=properties,
72-
)
73-
]
74-
)
66+
# schema_override=documentai.DocumentSchema(
67+
# entity_types=[
68+
# documentai.DocumentSchema.EntityType(
69+
# name="summary_document_type",
70+
# base_types=["document"],
71+
# properties=properties,
72+
# )
73+
# ]
74+
# )
7575
)
7676

7777
# Online processing request to Document AI

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.