diff --git a/document/cloud-client/quickstart_beta.py b/document/cloud-client/quickstart_beta.py index 0eb6bae3c832..0e3319216682 100644 --- a/document/cloud-client/quickstart_beta.py +++ b/document/cloud-client/quickstart_beta.py @@ -55,7 +55,7 @@ def _get_text(el): return response for entity in document.entities: - print('Entity type: {}'.format(entity.type)) + print('Entity type: {}'.format(entity.type_)) print('Text: {}'.format(_get_text(entity))) print('Mention text: {}\n'.format(entity.mention_text)) diff --git a/document/cloud-client/requirements.txt b/document/cloud-client/requirements.txt index 8f6203b26d90..799161951337 100644 --- a/document/cloud-client/requirements.txt +++ b/document/cloud-client/requirements.txt @@ -1,2 +1,2 @@ -google-cloud-documentai==0.2.0 +google-cloud-documentai==0.3.0 google-cloud-storage==1.31.2 \ No newline at end of file