We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb957c5 commit a1505b7Copy full SHA for a1505b7
documentai/snippets/batch_process_documents_sample.py
@@ -102,7 +102,7 @@ def batch_process_documents(
102
field_value = get_text(form_field.field_value, document)
103
print("Extracted key value pair:")
104
print(f"\t{field_name}, {field_value}")
105
- for paragraph in document.pages:
+ for paragraph in page.paragraphs:
106
paragraph_text = get_text(paragraph.layout, document)
107
print(f"Paragraph text:\n{paragraph_text}")
108
else:
0 commit comments