You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
The wrapped_document, when using document.from_batch_process_metadata (or any other methods) will be missing entities field when using data from the Classifier.
When using output of splitter, everything works fine.
But with classifier - you wont get any important information like type and confidence.
from google.cloud.documentai_toolbox import document
import os
doc = document.Document.from_document_path(os.path.join(os.path.dirname(__file__), "output-document_split.json"))
print(doc.entities)
doc = document.Document.from_document_path(os.path.join(os.path.dirname(__file__), "output-document_classify.json"))
print(doc.entities)
Hello,
The wrapped_document, when using
document.from_batch_process_metadata(or any other methods) will be missing entities field when using data from the Classifier.When using output of splitter, everything works fine.
But with classifier - you wont get any important information like type and confidence.
output-document_split.json
output-document_classify.json