diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md index a3da65ebac95..af14d37db599 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md @@ -2,6 +2,9 @@ ## 3.1.0b4 (Unreleased) +**Dependency Updates** + +- Bumped `msrest` requirement from `0.6.12` to `0.6.21`. ## 3.1.0b3 (2021-02-09) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_api_versions.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_api_versions.py index 890d62a03d41..1c4cb7225907 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_api_versions.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_api_versions.py @@ -10,7 +10,7 @@ class FormRecognizerApiVersion(str, Enum): """Form Recognizer API versions supported by this package""" #: This is the default version - V2_1_PREVIEW = "2.1-preview.2" + V2_1_PREVIEW = "2.1-preview.3" V2_0 = "2.0" diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py index 11b88989763b..34e18c63683b 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py @@ -92,13 +92,16 @@ def begin_recognize_receipts(self, receipt, **kwargs): :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword str locale: Locale of the receipt. Supported locales include: en-US, en-AU, en-CA, en-GB, and en-IN. + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :return: An instance of an LROPoller. Call `result()` on the poller object to return a list[:class:`~azure.ai.formrecognizer.RecognizedForm`]. :rtype: ~azure.core.polling.LROPoller[list[~azure.ai.formrecognizer.RecognizedForm]] :raises ~azure.core.exceptions.HttpResponseError: .. versionadded:: v2.1-preview - The *locale* keyword argument and support for image/bmp content + The *locale* and *pages* keyword arguments and support for image/bmp content .. admonition:: Example: @@ -110,6 +113,7 @@ def begin_recognize_receipts(self, receipt, **kwargs): :caption: Recognize sales receipt fields. """ locale = kwargs.pop("locale", None) + pages = kwargs.pop("pages", None) content_type = kwargs.pop("content_type", None) include_field_elements = kwargs.pop("include_field_elements", False) if content_type == "application/json": @@ -129,7 +133,15 @@ def begin_recognize_receipts(self, receipt, **kwargs): raise ValueError( "'locale' is only available for API version V2_1_PREVIEW and up" ) - + # FIXME: part of this code will be removed once autorest can handle diff mixin + # signatures across API versions + if pages: + if self._api_version == FormRecognizerApiVersion.V2_1_PREVIEW: + kwargs.update({"pages": pages}) + else: + raise ValueError( + "'pages' is only available for API version V2_1_PREVIEW and up" + ) return self._client.begin_analyze_receipt_async( # type: ignore file_stream=receipt, content_type=content_type, @@ -158,13 +170,16 @@ def begin_recognize_receipts_from_url(self, receipt_url, **kwargs): :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword str locale: Locale of the receipt. Supported locales include: en-US, en-AU, en-CA, en-GB, and en-IN. + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :return: An instance of an LROPoller. Call `result()` on the poller object to return a list[:class:`~azure.ai.formrecognizer.RecognizedForm`]. :rtype: ~azure.core.polling.LROPoller[list[~azure.ai.formrecognizer.RecognizedForm]] :raises ~azure.core.exceptions.HttpResponseError: .. versionadded:: v2.1-preview - The *locale* keyword argument and support for image/bmp content + The *locale* and *pages* keyword arguments and support for image/bmp content .. admonition:: Example: @@ -176,6 +191,7 @@ def begin_recognize_receipts_from_url(self, receipt_url, **kwargs): :caption: Recognize sales receipt fields from a URL. """ locale = kwargs.pop("locale", None) + pages = kwargs.pop("pages", None) include_field_elements = kwargs.pop("include_field_elements", False) cls = kwargs.pop("cls", self._prebuilt_callback) @@ -188,6 +204,15 @@ def begin_recognize_receipts_from_url(self, receipt_url, **kwargs): raise ValueError( "'locale' is only available for API version V2_1_PREVIEW and up" ) + # FIXME: part of this code will be removed once autorest can handle diff mixin + # signatures across API versions + if pages: + if self._api_version == FormRecognizerApiVersion.V2_1_PREVIEW: + kwargs.update({"pages": pages}) + else: + raise ValueError( + "'pages' is only available for API version V2_1_PREVIEW and up" + ) return self._client.begin_analyze_receipt_async( # type: ignore file_stream={"source": receipt_url}, include_text_details=include_field_elements, @@ -584,6 +609,9 @@ def begin_recognize_custom_forms(self, model_id, form, **kwargs): auto-detected, but can be overridden by passing this keyword argument. For options, see :class:`~azure.ai.formrecognizer.FormContentType`. :paramtype content_type: str or ~azure.ai.formrecognizer.FormContentType + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -605,6 +633,16 @@ def begin_recognize_custom_forms(self, model_id, form, **kwargs): if not model_id: raise ValueError("model_id cannot be None or empty.") + pages = kwargs.pop("pages", None) + # FIXME: part of this code will be removed once autorest can handle diff mixin + # signatures across API versions + if pages: + if self._api_version == FormRecognizerApiVersion.V2_1_PREVIEW: + kwargs.update({"pages": pages}) + else: + raise ValueError( + "'pages' is only available for API version V2_1_PREVIEW and up" + ) polling_interval = kwargs.pop( "polling_interval", self._client._config.polling_interval ) @@ -653,6 +691,9 @@ def begin_recognize_custom_forms_from_url(self, model_id, form_url, **kwargs): :keyword bool include_field_elements: Whether or not to include all lines per page and field elements such as lines, words, and selection marks for each form field. + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -665,6 +706,16 @@ def begin_recognize_custom_forms_from_url(self, model_id, form_url, **kwargs): if not model_id: raise ValueError("model_id cannot be None or empty.") + pages = kwargs.pop("pages", None) + # FIXME: part of this code will be removed once autorest can handle diff mixin + # signatures across API versions + if pages: + if self._api_version == FormRecognizerApiVersion.V2_1_PREVIEW: + kwargs.update({"pages": pages}) + else: + raise ValueError( + "'pages' is only available for API version V2_1_PREVIEW and up" + ) polling_interval = kwargs.pop( "polling_interval", self._client._config.polling_interval ) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_configuration.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_configuration.py index 5c1e01eaef07..6b2e3ca94ca5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_configuration.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_configuration.py @@ -8,13 +8,18 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- -from typing import Any +from typing import TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies from ._version import VERSION +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential class FormRecognizerClientConfiguration(Configuration): """Configuration for FormRecognizerClient. diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_form_recognizer_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_form_recognizer_client.py index 5bf7bc262ea6..e66fb0060f2e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_form_recognizer_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_form_recognizer_client.py @@ -9,13 +9,22 @@ # regenerated. # -------------------------------------------------------------------------- -from azure.core import PipelineClient -from msrest import Serializer, Deserializer +from typing import TYPE_CHECKING +from azure.core import PipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin +from msrest import Deserializer, Serializer + from ._configuration import FormRecognizerClientConfiguration from ._operations_mixin import FormRecognizerClientOperationsMixin + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + class _SDKClient(object): def __init__(self, *args, **kwargs): """This is a fake class to support current implemetation of MultiApiClientMixin." @@ -38,14 +47,14 @@ class FormRecognizerClient(FormRecognizerClientOperationsMixin, MultiApiClientMi :type credential: ~azure.core.credentials.TokenCredential :param endpoint: Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus2.api.cognitive.microsoft.com). :type endpoint: str - :param str api_version: API version to use if no profile is provided, or if - missing in profile. + :param api_version: API version to use if no profile is provided, or if missing in profile. + :type api_version: str :param profile: A profile definition, from KnownProfiles to dict. :type profile: azure.profiles.KnownProfiles :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2.1-preview.2' + DEFAULT_API_VERSION = '2.1-preview.3' _PROFILE_TAG = "azure.ai.formrecognizer.FormRecognizerClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -58,14 +67,14 @@ def __init__( self, credential, # type: "TokenCredential" endpoint, # type: str - api_version=None, - profile=KnownProfiles.default, + api_version=None, # type: Optional[str] + profile=KnownProfiles.default, # type: KnownProfiles **kwargs # type: Any ): if api_version == '2.0': base_url = '{endpoint}/formrecognizer/v2.0' - elif api_version == '2.1-preview.2': - base_url = '{endpoint}/formrecognizer/v2.1-preview.2' + elif api_version == '2.1-preview.3': + base_url = '{endpoint}/formrecognizer/v2.1-preview.3' else: raise ValueError("API version {} is not available".format(api_version)) self._config = FormRecognizerClientConfiguration(credential, endpoint, **kwargs) @@ -84,13 +93,13 @@ def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2.0: :mod:`v2_0.models` - * 2.1-preview.2: :mod:`v2_1_preview_2.models` + * 2.1-preview.3: :mod:`v2_1_preview_3.models` """ if api_version == '2.0': from .v2_0 import models return models - elif api_version == '2.1-preview.2': - from .v2_1_preview_2 import models + elif api_version == '2.1-preview.3': + from .v2_1_preview_3 import models return models raise ValueError("API version {} is not available".format(api_version)) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_operations_mixin.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_operations_mixin.py index adeb8112784e..4424212191c3 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_operations_mixin.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/_operations_mixin.py @@ -29,30 +29,35 @@ class FormRecognizerClientOperationsMixin(object): def begin_analyze_business_card_async( self, include_text_details=False, # type: Optional[bool] - locale=None, # type: Optional[Union[str, "models.Locale"]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + locale=None, # type: Optional[Union[str, "_models.Locale"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): """Analyze Business Card. Extract field text and semantic values from a given business card document. The input document - must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -60,8 +65,8 @@ def begin_analyze_business_card_async( :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_analyze_business_card_async') - if api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze_business_card_async'".format(api_version)) mixin_instance = OperationClass() @@ -70,35 +75,87 @@ def begin_analyze_business_card_async( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.begin_analyze_business_card_async(include_text_details, locale, file_stream, **kwargs) + return mixin_instance.begin_analyze_business_card_async(include_text_details, locale, pages, file_stream, **kwargs) + + def begin_analyze_id_document_async( + self, + include_text_details=False, # type: Optional[bool] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] + **kwargs # type: Any + ): + """Analyze ID Document. + + Extract field text and semantic values from a given ID document. The input document must be of + one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' + or 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri) of the + document to be analyzed. + + :param include_text_details: Include text lines and element references in the result. + :type include_text_details: bool + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath + :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". + Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + api_version = self._get_api_version('begin_analyze_id_document_async') + if api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass + else: + raise ValueError("API version {} does not have operation 'begin_analyze_id_document_async'".format(api_version)) + mixin_instance = OperationClass() + mixin_instance._client = self._client + mixin_instance._config = self._config + mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False + mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) + return mixin_instance.begin_analyze_id_document_async(include_text_details, pages, file_stream, **kwargs) def begin_analyze_invoice_async( self, include_text_details=False, # type: Optional[bool] - locale=None, # type: Optional[Union[str, "models.Locale"]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + locale=None, # type: Optional[Union[str, "_models.Locale"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): """Analyze Invoice Document. Extract field text and semantic values from a given invoice document. The input document must - be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -106,8 +163,8 @@ def begin_analyze_invoice_async( :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_analyze_invoice_async') - if api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze_invoice_async'".format(api_version)) mixin_instance = OperationClass() @@ -116,13 +173,14 @@ def begin_analyze_invoice_async( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.begin_analyze_invoice_async(include_text_details, locale, file_stream, **kwargs) + return mixin_instance.begin_analyze_invoice_async(include_text_details, locale, pages, file_stream, **kwargs) def begin_analyze_layout_async( self, - language=None, # type: Optional[Union[str, "models.Language"]] pages=None, # type: Optional[List[str]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + language=None, # type: Optional[Union[str, "_models.Language"]] + reading_order="basic", # type: Optional[Union[str, "_models.ReadingOrder"]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): """Analyze Layout. @@ -132,25 +190,40 @@ def begin_analyze_layout_async( 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri or local path) of the document to be analyzed. - :param language: The BCP-47 language code of the text in the document. Currently, only English - ('en'), Dutch (‘nl’), French (‘fr’), German (‘de’), Italian (‘it’), Portuguese (‘pt'), - simplified Chinese ('zh-Hans') and Spanish ('es') are supported (print – nine languages and - handwritten – English only). Layout supports auto language identification and multi language - documents, so only provide a language code if you would like to force the documented to be - processed as that specific language. - :type language: str or ~azure.ai.formrecognizer.models.Language :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or - range with a comma or space. + range with a comma. :type pages: list[str] - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :param language: Currently, only Afrikaans (‘af’), Albanian (‘sq’), Asturian (‘ast’), Basque + (‘eu’), Bislama (‘bi’), Breton (‘br’), Catalan (‘ca’), Cebuano (‘ceb’), Chamorro (‘ch’), + Cornish (‘kw’), Corsican (‘co’), Crimean Tatar - Latin script(‘crh’), Czech (‘cs’), Danish + (‘da’), Dutch (‘nl’), English ('en'), Estonian (‘et’), Fijian (‘fj’), Filipino (‘fil’), Finnish + (‘fi’), French (‘fr’), Friulian (‘fur’), Galician (‘gl’), German (‘de’), Gilbertese (‘gil’), + Greenlandic (‘kl’), Haitian Creole (‘ht’), Hani (‘hni’), Hmong Daw (‘mww’), Hungarian (‘hu’), + Indonesian (‘id’), Interlingua (‘ia’), Inuktitut (‘iu’), Irish (‘ga’), Italian (‘it’), Japanese + (‘ja’), Javanese (‘jv’), Kabuverdianu (‘kea’), Kachin (‘kac’), Kara-Kalpak (‘kaa’), Kashubian + (‘csb’), Khasi (‘kha’), Korean (‘ko’), Kurdish - Latin script (‘ku’), K’iche’ (‘quc’), + Luxembourgish (‘lb’), Malay (‘ms’), Manx (‘gv’), Neapolitan (‘nap’), Norwegian (‘no’), Occitan + (‘oc’), Polish (‘pl’), Portuguese (‘pt’), Romansh (‘rm’), Scots (‘sco’), Scottish Gaelic + (‘gd’), simplified Chinese (‘zh-Hans’), Slovenian (‘sl’), Spanish (‘es’), Swahili (‘sw’), + Swedish (‘sv’), Tatar - Latin script (‘tt’), Tetum (‘tet’), traditional Chinese (‘zh-Hant’), + Turkish (‘tr’), Upper Sorbian (‘hsb’), Uzbek (‘uz’), Volapük (‘vo’), Walser (‘wae’), Western + Frisian (‘fy’), Yucatec Maya (‘yua’), Zhuang (‘za’) and Zulu (‘zu’) are supported (print – + seventy-three languages and handwritten – English only). Layout supports auto language + identification and multi language documents, so only provide a language code if you would like + to force the documented to be processed as that specific language. + :type language: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Language + :param reading_order: Reading order algorithm to sort the text lines returned. Supported + reading orders include: basic(default), natural. + :type reading_order: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.ReadingOrder + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -160,8 +233,8 @@ def begin_analyze_layout_async( api_version = self._get_api_version('begin_analyze_layout_async') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze_layout_async'".format(api_version)) mixin_instance = OperationClass() @@ -173,36 +246,41 @@ def begin_analyze_layout_async( # FIXME: this is handwritten if api_version == '2.0': return mixin_instance.begin_analyze_layout_async(file_stream, **kwargs) - elif api_version == '2.1-preview.2': - return mixin_instance.begin_analyze_layout_async(language, pages, file_stream, **kwargs) + elif api_version == '2.1-preview.3': + return mixin_instance.begin_analyze_layout_async(pages, language, reading_order, file_stream, **kwargs) def begin_analyze_receipt_async( self, include_text_details=False, # type: Optional[bool] - locale=None, # type: Optional[Union[str, "models.Locale"]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + locale=None, # type: Optional[Union[str, "_models.Locale"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): """Analyze Receipt. Extract field text and semantic values from a given receipt document. The input document must - be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,8 +290,8 @@ def begin_analyze_receipt_async( api_version = self._get_api_version('begin_analyze_receipt_async') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze_receipt_async'".format(api_version)) mixin_instance = OperationClass() @@ -225,35 +303,40 @@ def begin_analyze_receipt_async( # FIXME: this is handwritten if api_version == '2.0': return mixin_instance.begin_analyze_receipt_async(include_text_details, file_stream, **kwargs) - elif api_version == '2.1-preview.2': - return mixin_instance.begin_analyze_receipt_async(include_text_details, locale, file_stream, **kwargs) + elif api_version == '2.1-preview.3': + return mixin_instance.begin_analyze_receipt_async(include_text_details, locale, pages, file_stream, **kwargs) def begin_analyze_with_custom_model( self, model_id, # type: str include_text_details=False, # type: Optional[bool] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): """Analyze Form. Extract key-value pairs, tables, and semantic values from a given document. The input document - must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri or local - path) of the document to be analyzed. + must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri or local path) of the document to be analyzed. :param model_id: Model identifier. :type model_id: str :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". - Allowed values are: "application/pdf", "image/jpeg", "image/png", "image/tiff", "application/json". + Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -263,8 +346,8 @@ def begin_analyze_with_custom_model( api_version = self._get_api_version('begin_analyze_with_custom_model') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze_with_custom_model'".format(api_version)) mixin_instance = OperationClass() @@ -273,11 +356,15 @@ def begin_analyze_with_custom_model( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.begin_analyze_with_custom_model(model_id, include_text_details, file_stream, **kwargs) + # FIXME: this is handwritten + if api_version == '2.0': + return mixin_instance.begin_analyze_with_custom_model(model_id, include_text_details, file_stream, **kwargs) + elif api_version == '2.1-preview.3': + return mixin_instance.begin_analyze_with_custom_model(model_id, include_text_details, pages, file_stream, **kwargs) def begin_compose_custom_models_async( self, - compose_request, # type: "models.ComposeRequest" + compose_request, # type: "_models.ComposeRequest" **kwargs # type: Any ): """Compose trained with labels models into one composed model. @@ -287,11 +374,11 @@ def begin_compose_custom_models_async( It would validate limit of models put together. :param compose_request: Compose models. - :type compose_request: ~azure.ai.formrecognizer.models.ComposeRequest + :type compose_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.ComposeRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -299,8 +386,8 @@ def begin_compose_custom_models_async( :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_compose_custom_models_async') - if api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_compose_custom_models_async'".format(api_version)) mixin_instance = OperationClass() @@ -314,7 +401,7 @@ def begin_compose_custom_models_async( def begin_copy_custom_model( self, model_id, # type: str - copy_request, # type: "models.CopyRequest" + copy_request, # type: "_models.CopyRequest" **kwargs # type: Any ): """Copy Custom Model. @@ -325,11 +412,11 @@ def begin_copy_custom_model( :param model_id: Model identifier. :type model_id: str :param copy_request: Copy request parameters. - :type copy_request: ~azure.ai.formrecognizer.models.CopyRequest + :type copy_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -339,8 +426,8 @@ def begin_copy_custom_model( api_version = self._get_api_version('begin_copy_custom_model') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_copy_custom_model'".format(api_version)) mixin_instance = OperationClass() @@ -353,7 +440,7 @@ def begin_copy_custom_model( def begin_train_custom_model_async( self, - train_request, # type: "models.TrainRequest" + train_request, # type: "_models.TrainRequest" **kwargs # type: Any ): """Train Custom Model. @@ -365,15 +452,15 @@ def begin_train_custom_model_async( configuration setting value e.g., if '{Mounts:Input}' configuration setting value is '/input' then a valid source path would be '/input/contosodataset'. All data to be trained is expected to be under the source folder or sub folders under it. Models are trained using documents that - are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff'. - Other type of content is ignored. + are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' + or 'image/bmp'. Other type of content is ignored. :param train_request: Training request parameters. - :type train_request: ~azure.ai.formrecognizer.models.TrainRequest + :type train_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -381,8 +468,8 @@ def begin_train_custom_model_async( :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_train_custom_model_async') - if api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_train_custom_model_async'".format(api_version)) mixin_instance = OperationClass() @@ -413,8 +500,8 @@ def delete_custom_model( api_version = self._get_api_version('delete_custom_model') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'delete_custom_model'".format(api_version)) mixin_instance = OperationClass() @@ -435,14 +522,14 @@ def generate_model_copy_authorization( :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyAuthorizationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyAuthorizationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyAuthorizationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('generate_model_copy_authorization') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'generate_model_copy_authorization'".format(api_version)) mixin_instance = OperationClass() @@ -466,12 +553,12 @@ def get_analyze_business_card_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_analyze_business_card_result') - if api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_analyze_business_card_result'".format(api_version)) mixin_instance = OperationClass() @@ -498,14 +585,14 @@ def get_analyze_form_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_analyze_form_result') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_analyze_form_result'".format(api_version)) mixin_instance = OperationClass() @@ -516,6 +603,35 @@ def get_analyze_form_result( mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.get_analyze_form_result(model_id, result_id, **kwargs) + def get_analyze_id_document_result( + self, + result_id, # type: str + **kwargs # type: Any + ): + """Get Analyze ID Document Result. + + Track the progress and obtain the result of the analyze ID operation. + + :param result_id: Analyze operation result identifier. + :type result_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AnalyzeOperationResult, or the result of cls(response) + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = self._get_api_version('get_analyze_id_document_result') + if api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass + else: + raise ValueError("API version {} does not have operation 'get_analyze_id_document_result'".format(api_version)) + mixin_instance = OperationClass() + mixin_instance._client = self._client + mixin_instance._config = self._config + mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False + mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) + return mixin_instance.get_analyze_id_document_result(result_id, **kwargs) + def get_analyze_invoice_result( self, result_id, # type: str @@ -529,12 +645,12 @@ def get_analyze_invoice_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_analyze_invoice_result') - if api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_analyze_invoice_result'".format(api_version)) mixin_instance = OperationClass() @@ -558,14 +674,14 @@ def get_analyze_layout_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_analyze_layout_result') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_analyze_layout_result'".format(api_version)) mixin_instance = OperationClass() @@ -589,14 +705,14 @@ def get_analyze_receipt_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_analyze_receipt_result') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_analyze_receipt_result'".format(api_version)) mixin_instance = OperationClass() @@ -623,14 +739,14 @@ def get_custom_model( :type include_keys: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: Model, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Model + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Model :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_custom_model') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_custom_model'".format(api_version)) mixin_instance = OperationClass() @@ -657,14 +773,14 @@ def get_custom_model_copy_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_custom_model_copy_result') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_custom_model_copy_result'".format(api_version)) mixin_instance = OperationClass() @@ -685,14 +801,14 @@ def get_custom_models( :keyword callable cls: A custom type or function that will be passed the direct response :return: Models, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Models + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Models :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_custom_models') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_custom_models'".format(api_version)) mixin_instance = OperationClass() @@ -713,14 +829,14 @@ def list_custom_models( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Models or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.ai.formrecognizer.models.Models] + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.formrecognizer.v2_1_preview_3.models.Models] :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('list_custom_models') if api_version == '2.0': from .v2_0.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from .v2_1_preview_2.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from .v2_1_preview_3.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'list_custom_models'".format(api_version)) mixin_instance = OperationClass() @@ -733,7 +849,7 @@ def list_custom_models( def train_custom_model_async( self, - train_request, # type: "models.TrainRequest" + train_request, # type: "_models.TrainRequest" **kwargs # type: Any ): """Train Custom Model. @@ -749,7 +865,7 @@ def train_custom_model_async( Other type of content is ignored. :param train_request: Training request parameters. - :type train_request: ~azure.ai.formrecognizer.models.TrainRequest + :type train_request: ~azure.ai.formrecognizer.v2_0.models.TrainRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_configuration.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_configuration.py index f6cc9f813873..eb07352dd604 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_configuration.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_configuration.py @@ -8,13 +8,16 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- -from typing import Any +from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies from .._version import VERSION +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential class FormRecognizerClientConfiguration(Configuration): """Configuration for FormRecognizerClient. @@ -30,8 +33,8 @@ class FormRecognizerClientConfiguration(Configuration): def __init__( self, - credential, # type: "AsyncTokenCredential" - endpoint, # type: str + credential: "AsyncTokenCredential", + endpoint: str, **kwargs # type: Any ) -> None: if credential is None: diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_form_recognizer_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_form_recognizer_client.py index 39cbaba78f38..4e9af2240204 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_form_recognizer_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_form_recognizer_client.py @@ -9,13 +9,20 @@ # regenerated. # -------------------------------------------------------------------------- -from azure.core import AsyncPipelineClient -from msrest import Serializer, Deserializer +from typing import Any, Optional, TYPE_CHECKING +from azure.core import AsyncPipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin +from msrest import Deserializer, Serializer + from ._configuration import FormRecognizerClientConfiguration from ._operations_mixin import FormRecognizerClientOperationsMixin + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + class _SDKClient(object): def __init__(self, *args, **kwargs): """This is a fake class to support current implemetation of MultiApiClientMixin." @@ -38,14 +45,14 @@ class FormRecognizerClient(FormRecognizerClientOperationsMixin, MultiApiClientMi :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param endpoint: Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus2.api.cognitive.microsoft.com). :type endpoint: str - :param str api_version: API version to use if no profile is provided, or if - missing in profile. + :param api_version: API version to use if no profile is provided, or if missing in profile. + :type api_version: str :param profile: A profile definition, from KnownProfiles to dict. :type profile: azure.profiles.KnownProfiles :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2.1-preview.2' + DEFAULT_API_VERSION = '2.1-preview.3' _PROFILE_TAG = "azure.ai.formrecognizer.FormRecognizerClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -56,16 +63,16 @@ class FormRecognizerClient(FormRecognizerClientOperationsMixin, MultiApiClientMi def __init__( self, - credential, # type: "AsyncTokenCredential" - endpoint, # type: str - api_version=None, - profile=KnownProfiles.default, + credential: "AsyncTokenCredential", + endpoint: str, + api_version: Optional[str] = None, + profile: KnownProfiles = KnownProfiles.default, **kwargs # type: Any ) -> None: if api_version == '2.0': base_url = '{endpoint}/formrecognizer/v2.0' - elif api_version == '2.1-preview.2': - base_url = '{endpoint}/formrecognizer/v2.1-preview.2' + elif api_version == '2.1-preview.3': + base_url = '{endpoint}/formrecognizer/v2.1-preview.3' else: raise ValueError("API version {} is not available".format(api_version)) self._config = FormRecognizerClientConfiguration(credential, endpoint, **kwargs) @@ -84,13 +91,13 @@ def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2.0: :mod:`v2_0.models` - * 2.1-preview.2: :mod:`v2_1_preview_2.models` + * 2.1-preview.3: :mod:`v2_1_preview_3.models` """ if api_version == '2.0': from ..v2_0 import models return models - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2 import models + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3 import models return models raise ValueError("API version {} is not available".format(api_version)) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_operations_mixin.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_operations_mixin.py index 3a4af2d988b8..0742416eb59d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_operations_mixin.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/aio/_operations_mixin.py @@ -25,30 +25,35 @@ class FormRecognizerClientOperationsMixin(object): async def begin_analyze_business_card_async( self, include_text_details: Optional[bool] = False, - locale: Optional[Union[str, "models.Locale"]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + locale: Optional[Union[str, "_models.Locale"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Business Card. Extract field text and semantic values from a given business card document. The input document - must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -56,8 +61,8 @@ async def begin_analyze_business_card_async( :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_analyze_business_card_async') - if api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze_business_card_async'".format(api_version)) mixin_instance = OperationClass() @@ -66,35 +71,87 @@ async def begin_analyze_business_card_async( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return await mixin_instance.begin_analyze_business_card_async(include_text_details, locale, file_stream, **kwargs) + return await mixin_instance.begin_analyze_business_card_async(include_text_details, locale, pages, file_stream, **kwargs) + + async def begin_analyze_id_document_async( + self, + include_text_details: Optional[bool] = False, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, + **kwargs + ) -> AsyncLROPoller[None]: + """Analyze ID Document. + + Extract field text and semantic values from a given ID document. The input document must be of + one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' + or 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri) of the + document to be analyzed. + + :param include_text_details: Include text lines and element references in the result. + :type include_text_details: bool + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath + :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". + Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + api_version = self._get_api_version('begin_analyze_id_document_async') + if api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + else: + raise ValueError("API version {} does not have operation 'begin_analyze_id_document_async'".format(api_version)) + mixin_instance = OperationClass() + mixin_instance._client = self._client + mixin_instance._config = self._config + mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False + mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) + return await mixin_instance.begin_analyze_id_document_async(include_text_details, pages, file_stream, **kwargs) async def begin_analyze_invoice_async( self, include_text_details: Optional[bool] = False, - locale: Optional[Union[str, "models.Locale"]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + locale: Optional[Union[str, "_models.Locale"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Invoice Document. Extract field text and semantic values from a given invoice document. The input document must - be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -102,8 +159,8 @@ async def begin_analyze_invoice_async( :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_analyze_invoice_async') - if api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze_invoice_async'".format(api_version)) mixin_instance = OperationClass() @@ -112,13 +169,14 @@ async def begin_analyze_invoice_async( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return await mixin_instance.begin_analyze_invoice_async(include_text_details, locale, file_stream, **kwargs) + return await mixin_instance.begin_analyze_invoice_async(include_text_details, locale, pages, file_stream, **kwargs) async def begin_analyze_layout_async( self, - language: Optional[Union[str, "models.Language"]] = None, pages: Optional[List[str]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + language: Optional[Union[str, "_models.Language"]] = None, + reading_order: Optional[Union[str, "_models.ReadingOrder"]] = "basic", + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Layout. @@ -128,25 +186,40 @@ async def begin_analyze_layout_async( 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri or local path) of the document to be analyzed. - :param language: The BCP-47 language code of the text in the document. Currently, only English - ('en'), Dutch (‘nl’), French (‘fr’), German (‘de’), Italian (‘it’), Portuguese (‘pt'), - simplified Chinese ('zh-Hans') and Spanish ('es') are supported (print – nine languages and - handwritten – English only). Layout supports auto language identification and multi language - documents, so only provide a language code if you would like to force the documented to be - processed as that specific language. - :type language: str or ~azure.ai.formrecognizer.models.Language :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or - range with a comma or space. + range with a comma. :type pages: list[str] - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :param language: Currently, only Afrikaans (‘af’), Albanian (‘sq’), Asturian (‘ast’), Basque + (‘eu’), Bislama (‘bi’), Breton (‘br’), Catalan (‘ca’), Cebuano (‘ceb’), Chamorro (‘ch’), + Cornish (‘kw’), Corsican (‘co’), Crimean Tatar - Latin script(‘crh’), Czech (‘cs’), Danish + (‘da’), Dutch (‘nl’), English ('en'), Estonian (‘et’), Fijian (‘fj’), Filipino (‘fil’), Finnish + (‘fi’), French (‘fr’), Friulian (‘fur’), Galician (‘gl’), German (‘de’), Gilbertese (‘gil’), + Greenlandic (‘kl’), Haitian Creole (‘ht’), Hani (‘hni’), Hmong Daw (‘mww’), Hungarian (‘hu’), + Indonesian (‘id’), Interlingua (‘ia’), Inuktitut (‘iu’), Irish (‘ga’), Italian (‘it’), Japanese + (‘ja’), Javanese (‘jv’), Kabuverdianu (‘kea’), Kachin (‘kac’), Kara-Kalpak (‘kaa’), Kashubian + (‘csb’), Khasi (‘kha’), Korean (‘ko’), Kurdish - Latin script (‘ku’), K’iche’ (‘quc’), + Luxembourgish (‘lb’), Malay (‘ms’), Manx (‘gv’), Neapolitan (‘nap’), Norwegian (‘no’), Occitan + (‘oc’), Polish (‘pl’), Portuguese (‘pt’), Romansh (‘rm’), Scots (‘sco’), Scottish Gaelic + (‘gd’), simplified Chinese (‘zh-Hans’), Slovenian (‘sl’), Spanish (‘es’), Swahili (‘sw’), + Swedish (‘sv’), Tatar - Latin script (‘tt’), Tetum (‘tet’), traditional Chinese (‘zh-Hant’), + Turkish (‘tr’), Upper Sorbian (‘hsb’), Uzbek (‘uz’), Volapük (‘vo’), Walser (‘wae’), Western + Frisian (‘fy’), Yucatec Maya (‘yua’), Zhuang (‘za’) and Zulu (‘zu’) are supported (print – + seventy-three languages and handwritten – English only). Layout supports auto language + identification and multi language documents, so only provide a language code if you would like + to force the documented to be processed as that specific language. + :type language: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Language + :param reading_order: Reading order algorithm to sort the text lines returned. Supported + reading orders include: basic(default), natural. + :type reading_order: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.ReadingOrder + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -156,8 +229,8 @@ async def begin_analyze_layout_async( api_version = self._get_api_version('begin_analyze_layout_async') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze_layout_async'".format(api_version)) mixin_instance = OperationClass() @@ -169,36 +242,41 @@ async def begin_analyze_layout_async( # FIXME: this is handwritten if api_version == '2.0': return await mixin_instance.begin_analyze_layout_async(file_stream, **kwargs) - elif api_version == '2.1-preview.2': - return await mixin_instance.begin_analyze_layout_async(language, pages, file_stream, **kwargs) + elif api_version == '2.1-preview.3': + return await mixin_instance.begin_analyze_layout_async(pages, language, reading_order, file_stream, **kwargs) async def begin_analyze_receipt_async( self, include_text_details: Optional[bool] = False, - locale: Optional[Union[str, "models.Locale"]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + locale: Optional[Union[str, "_models.Locale"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Receipt. Extract field text and semantic values from a given receipt document. The input document must - be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -208,8 +286,8 @@ async def begin_analyze_receipt_async( api_version = self._get_api_version('begin_analyze_receipt_async') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze_receipt_async'".format(api_version)) mixin_instance = OperationClass() @@ -221,35 +299,40 @@ async def begin_analyze_receipt_async( # FIXME: this is handwritten if api_version == '2.0': return await mixin_instance.begin_analyze_receipt_async(include_text_details, file_stream, **kwargs) - elif api_version == '2.1-preview.2': - return await mixin_instance.begin_analyze_receipt_async(include_text_details, locale, file_stream, **kwargs) + elif api_version == '2.1-preview.3': + return await mixin_instance.begin_analyze_receipt_async(include_text_details, locale, pages, file_stream, **kwargs) async def begin_analyze_with_custom_model( self, model_id: str, include_text_details: Optional[bool] = False, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Form. Extract key-value pairs, tables, and semantic values from a given document. The input document - must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri or local - path) of the document to be analyzed. + must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri or local path) of the document to be analyzed. :param model_id: Model identifier. :type model_id: str :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". - Allowed values are: "application/pdf", "image/jpeg", "image/png", "image/tiff", "application/json". + Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -259,8 +342,8 @@ async def begin_analyze_with_custom_model( api_version = self._get_api_version('begin_analyze_with_custom_model') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze_with_custom_model'".format(api_version)) mixin_instance = OperationClass() @@ -269,11 +352,15 @@ async def begin_analyze_with_custom_model( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return await mixin_instance.begin_analyze_with_custom_model(model_id, include_text_details, file_stream, **kwargs) + # FIXME: this is handwritten + if api_version == '2.0': + return await mixin_instance.begin_analyze_with_custom_model(model_id, include_text_details, file_stream, **kwargs) + elif api_version == '2.1-preview.3': + return await mixin_instance.begin_analyze_with_custom_model(model_id, include_text_details, pages, file_stream, **kwargs) async def begin_compose_custom_models_async( self, - compose_request: "models.ComposeRequest", + compose_request: "_models.ComposeRequest", **kwargs ) -> AsyncLROPoller[None]: """Compose trained with labels models into one composed model. @@ -283,11 +370,11 @@ async def begin_compose_custom_models_async( It would validate limit of models put together. :param compose_request: Compose models. - :type compose_request: ~azure.ai.formrecognizer.models.ComposeRequest + :type compose_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.ComposeRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -295,8 +382,8 @@ async def begin_compose_custom_models_async( :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_compose_custom_models_async') - if api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_compose_custom_models_async'".format(api_version)) mixin_instance = OperationClass() @@ -310,7 +397,7 @@ async def begin_compose_custom_models_async( async def begin_copy_custom_model( self, model_id: str, - copy_request: "models.CopyRequest", + copy_request: "_models.CopyRequest", **kwargs ) -> AsyncLROPoller[None]: """Copy Custom Model. @@ -321,11 +408,11 @@ async def begin_copy_custom_model( :param model_id: Model identifier. :type model_id: str :param copy_request: Copy request parameters. - :type copy_request: ~azure.ai.formrecognizer.models.CopyRequest + :type copy_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -335,8 +422,8 @@ async def begin_copy_custom_model( api_version = self._get_api_version('begin_copy_custom_model') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_copy_custom_model'".format(api_version)) mixin_instance = OperationClass() @@ -349,7 +436,7 @@ async def begin_copy_custom_model( async def begin_train_custom_model_async( self, - train_request: "models.TrainRequest", + train_request: "_models.TrainRequest", **kwargs ) -> AsyncLROPoller[None]: """Train Custom Model. @@ -361,15 +448,15 @@ async def begin_train_custom_model_async( configuration setting value e.g., if '{Mounts:Input}' configuration setting value is '/input' then a valid source path would be '/input/contosodataset'. All data to be trained is expected to be under the source folder or sub folders under it. Models are trained using documents that - are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff'. - Other type of content is ignored. + are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' + or 'image/bmp'. Other type of content is ignored. :param train_request: Training request parameters. - :type train_request: ~azure.ai.formrecognizer.models.TrainRequest + :type train_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +464,8 @@ async def begin_train_custom_model_async( :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_train_custom_model_async') - if api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_train_custom_model_async'".format(api_version)) mixin_instance = OperationClass() @@ -409,8 +496,8 @@ async def delete_custom_model( api_version = self._get_api_version('delete_custom_model') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'delete_custom_model'".format(api_version)) mixin_instance = OperationClass() @@ -424,21 +511,21 @@ async def delete_custom_model( async def generate_model_copy_authorization( self, **kwargs - ) -> "models.CopyAuthorizationResult": + ) -> "_models.CopyAuthorizationResult": """Generate Copy Authorization. Generate authorization to copy a model into the target Form Recognizer resource. :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyAuthorizationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyAuthorizationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyAuthorizationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('generate_model_copy_authorization') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'generate_model_copy_authorization'".format(api_version)) mixin_instance = OperationClass() @@ -453,7 +540,7 @@ async def get_analyze_business_card_result( self, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Business Card Result. Track the progress and obtain the result of the analyze business card operation. @@ -462,12 +549,12 @@ async def get_analyze_business_card_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_analyze_business_card_result') - if api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_analyze_business_card_result'".format(api_version)) mixin_instance = OperationClass() @@ -483,7 +570,7 @@ async def get_analyze_form_result( model_id: str, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Form Result. Obtain current status and the result of the analyze form operation. @@ -494,14 +581,14 @@ async def get_analyze_form_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_analyze_form_result') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_analyze_form_result'".format(api_version)) mixin_instance = OperationClass() @@ -512,11 +599,40 @@ async def get_analyze_form_result( mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.get_analyze_form_result(model_id, result_id, **kwargs) + async def get_analyze_id_document_result( + self, + result_id: str, + **kwargs + ) -> "_models.AnalyzeOperationResult": + """Get Analyze ID Document Result. + + Track the progress and obtain the result of the analyze ID operation. + + :param result_id: Analyze operation result identifier. + :type result_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AnalyzeOperationResult, or the result of cls(response) + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = self._get_api_version('get_analyze_id_document_result') + if api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + else: + raise ValueError("API version {} does not have operation 'get_analyze_id_document_result'".format(api_version)) + mixin_instance = OperationClass() + mixin_instance._client = self._client + mixin_instance._config = self._config + mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False + mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) + return await mixin_instance.get_analyze_id_document_result(result_id, **kwargs) + async def get_analyze_invoice_result( self, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Invoice Result. Track the progress and obtain the result of the analyze invoice operation. @@ -525,12 +641,12 @@ async def get_analyze_invoice_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_analyze_invoice_result') - if api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + if api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_analyze_invoice_result'".format(api_version)) mixin_instance = OperationClass() @@ -545,7 +661,7 @@ async def get_analyze_layout_result( self, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Layout Result. Track the progress and obtain the result of the analyze layout operation. @@ -554,14 +670,14 @@ async def get_analyze_layout_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_analyze_layout_result') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_analyze_layout_result'".format(api_version)) mixin_instance = OperationClass() @@ -576,7 +692,7 @@ async def get_analyze_receipt_result( self, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Receipt Result. Track the progress and obtain the result of the analyze receipt operation. @@ -585,14 +701,14 @@ async def get_analyze_receipt_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_analyze_receipt_result') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_analyze_receipt_result'".format(api_version)) mixin_instance = OperationClass() @@ -608,7 +724,7 @@ async def get_custom_model( model_id: str, include_keys: Optional[bool] = False, **kwargs - ) -> "models.Model": + ) -> "_models.Model": """Get Custom Model. Get detailed information about a custom model. @@ -619,14 +735,14 @@ async def get_custom_model( :type include_keys: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: Model, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Model + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Model :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_custom_model') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_custom_model'".format(api_version)) mixin_instance = OperationClass() @@ -642,7 +758,7 @@ async def get_custom_model_copy_result( model_id: str, result_id: str, **kwargs - ) -> "models.CopyOperationResult": + ) -> "_models.CopyOperationResult": """Get Custom Model Copy Result. Obtain current status and the result of a custom model copy operation. @@ -653,14 +769,14 @@ async def get_custom_model_copy_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_custom_model_copy_result') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_custom_model_copy_result'".format(api_version)) mixin_instance = OperationClass() @@ -674,21 +790,21 @@ async def get_custom_model_copy_result( async def get_custom_models( self, **kwargs - ) -> "models.Models": + ) -> "_models.Models": """Get Custom Models. Get information about all custom models. :keyword callable cls: A custom type or function that will be passed the direct response :return: Models, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Models + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Models :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_custom_models') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_custom_models'".format(api_version)) mixin_instance = OperationClass() @@ -702,21 +818,21 @@ async def get_custom_models( def list_custom_models( self, **kwargs - ) -> AsyncItemPaged["models.Models"]: + ) -> AsyncItemPaged["_models.Models"]: """List Custom Models. Get information about all custom models. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Models or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.formrecognizer.models.Models] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.formrecognizer.v2_1_preview_3.models.Models] :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('list_custom_models') if api_version == '2.0': from ..v2_0.aio.operations import FormRecognizerClientOperationsMixin as OperationClass - elif api_version == '2.1-preview.2': - from ..v2_1_preview_2.aio.operations import FormRecognizerClientOperationsMixin as OperationClass + elif api_version == '2.1-preview.3': + from ..v2_1_preview_3.aio.operations import FormRecognizerClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'list_custom_models'".format(api_version)) mixin_instance = OperationClass() @@ -729,7 +845,7 @@ def list_custom_models( async def train_custom_model_async( self, - train_request: "models.TrainRequest", + train_request: "_models.TrainRequest", **kwargs ) -> None: """Train Custom Model. @@ -745,7 +861,7 @@ async def train_custom_model_async( Other type of content is ignored. :param train_request: Training request parameters. - :type train_request: ~azure.ai.formrecognizer.models.TrainRequest + :type train_request: ~azure.ai.formrecognizer.v2_0.models.TrainRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/models.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/models.py index f6c66469502d..6c7122cc10ed 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/models.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/models.py @@ -4,4 +4,4 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- -from .v2_1_preview_2.models import * +from .v2_1_preview_3.models import * diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/_metadata.json b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/_metadata.json index 73104d31db92..444bd02bc7c1 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/_metadata.json +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": "\u0027{endpoint}/formrecognizer/v2.0\u0027", "azure_arm": false, "has_lro_operations": true, - "client_side_validation": false + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.core\": [\"PipelineClient\"]}, \"local\": {\"._configuration\": [\"FormRecognizerClientConfiguration\"], \"._operations_mixin\": [\"FormRecognizerClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.core\": [\"AsyncPipelineClient\"]}, \"local\": {\"._configuration\": [\"FormRecognizerClientConfiguration\"], \"._operations_mixin\": [\"FormRecognizerClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "endpoint": { - "signature": "endpoint, # type: str", + "signature": "endpoint: str,", "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus2.api.cognitive.microsoft.com).", "docstring_type": "str", "required": true @@ -42,235 +44,269 @@ }, "constant": { }, - "call": "credential, endpoint" + "call": "credential, endpoint", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://cognitiveservices.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { }, "operation_mixins": { - "train_custom_model_async" : { - "sync": { - "signature": "def train_custom_model_async(\n self,\n train_request, # type: \"models.TrainRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Train Custom Model.\n\nCreate and train a custom model. The request must include a source parameter that is either an\nexternally accessible Azure storage blob container Uri (preferably a Shared Access Signature\nUri) or valid path to a data folder in a locally mounted drive. When local paths are specified,\nthey must follow the Linux/Unix path format and be an absolute path rooted to the input mount\nconfiguration setting value e.g., if \u0027{Mounts:Input}\u0027 configuration setting value is \u0027/input\u0027\nthen a valid source path would be \u0027/input/contosodataset\u0027. All data to be trained is expected\nto be under the source folder or sub folders under it. Models are trained using documents that\nare of the following content type - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027.\nOther type of content is ignored.\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def train_custom_model_async(\n self,\n train_request: \"models.TrainRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"Train Custom Model.\n\nCreate and train a custom model. The request must include a source parameter that is either an\nexternally accessible Azure storage blob container Uri (preferably a Shared Access Signature\nUri) or valid path to a data folder in a locally mounted drive. When local paths are specified,\nthey must follow the Linux/Unix path format and be an absolute path rooted to the input mount\nconfiguration setting value e.g., if \u0027{Mounts:Input}\u0027 configuration setting value is \u0027/input\u0027\nthen a valid source path would be \u0027/input/contosodataset\u0027. All data to be trained is expected\nto be under the source folder or sub folders under it. Models are trained using documents that\nare of the following content type - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027.\nOther type of content is ignored.\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "train_request" - }, - "get_custom_model" : { - "sync": { - "signature": "def get_custom_model(\n self,\n model_id, # type: str\n include_keys=False, # type: Optional[bool]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Custom Model.\n\nGet detailed information about a custom model.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_keys: Include list of extracted keys in model information.\n:type include_keys: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Model, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.Model\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_custom_model(\n self,\n model_id: str,\n include_keys: Optional[bool] = False,\n **kwargs\n) -\u003e \"models.Model\":\n", - "doc": "\"\"\"Get Custom Model.\n\nGet detailed information about a custom model.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_keys: Include list of extracted keys in model information.\n:type include_keys: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Model, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.Model\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id, include_keys" - }, - "delete_custom_model" : { - "sync": { - "signature": "def delete_custom_model(\n self,\n model_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Delete Custom Model.\n\nMark model for deletion. Model artifacts will be permanently removed within a predetermined\nperiod.\n\n:param model_id: Model identifier.\n:type model_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def delete_custom_model(\n self,\n model_id: str,\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"Delete Custom Model.\n\nMark model for deletion. Model artifacts will be permanently removed within a predetermined\nperiod.\n\n:param model_id: Model identifier.\n:type model_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id" - }, - "_analyze_with_custom_model_initial" : { - "sync": { - "signature": "def _analyze_with_custom_model_initial(\n self,\n model_id, # type: str\n include_text_details=False, # type: Optional[bool]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _analyze_with_custom_model_initial(\n self,\n model_id: str,\n include_text_details: Optional[bool] = False,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id, include_text_details, file_stream" - }, - "begin_analyze_with_custom_model" : { - "sync": { - "signature": "def begin_analyze_with_custom_model(\n self,\n model_id, # type: str\n include_text_details=False, # type: Optional[bool]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Analyze Form.\n\nExtract key-value pairs, tables, and semantic values from a given document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_analyze_with_custom_model(\n self,\n model_id: str,\n include_text_details: Optional[bool] = False,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Analyze Form.\n\nExtract key-value pairs, tables, and semantic values from a given document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "model_id, include_text_details, file_stream" - }, - "get_analyze_form_result" : { - "sync": { - "signature": "def get_analyze_form_result(\n self,\n model_id, # type: str\n result_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Analyze Form Result.\n\nObtain current status and the result of the analyze form operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_analyze_form_result(\n self,\n model_id: str,\n result_id: str,\n **kwargs\n) -\u003e \"models.AnalyzeOperationResult\":\n", - "doc": "\"\"\"Get Analyze Form Result.\n\nObtain current status and the result of the analyze form operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id, result_id" - }, - "_copy_custom_model_initial" : { - "sync": { - "signature": "def _copy_custom_model_initial(\n self,\n model_id, # type: str\n copy_request, # type: \"models.CopyRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _copy_custom_model_initial(\n self,\n model_id: str,\n copy_request: \"models.CopyRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id, copy_request" - }, - "begin_copy_custom_model" : { - "sync": { - "signature": "def begin_copy_custom_model(\n self,\n model_id, # type: str\n copy_request, # type: \"models.CopyRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Copy Custom Model.\n\nCopy custom model stored in this resource (the source) to user specified target Form Recognizer\nresource.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_copy_custom_model(\n self,\n model_id: str,\n copy_request: \"models.CopyRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Copy Custom Model.\n\nCopy custom model stored in this resource (the source) to user specified target Form Recognizer\nresource.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "model_id, copy_request" - }, - "get_custom_model_copy_result" : { - "sync": { - "signature": "def get_custom_model_copy_result(\n self,\n model_id, # type: str\n result_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Custom Model Copy Result.\n\nObtain current status and the result of a custom model copy operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Copy operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.CopyOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_custom_model_copy_result(\n self,\n model_id: str,\n result_id: str,\n **kwargs\n) -\u003e \"models.CopyOperationResult\":\n", - "doc": "\"\"\"Get Custom Model Copy Result.\n\nObtain current status and the result of a custom model copy operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Copy operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.CopyOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id, result_id" - }, - "generate_model_copy_authorization" : { - "sync": { - "signature": "def generate_model_copy_authorization(\n self,\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generate Copy Authorization.\n\nGenerate authorization to copy a model into the target Form Recognizer resource.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyAuthorizationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.CopyAuthorizationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def generate_model_copy_authorization(\n self,\n **kwargs\n) -\u003e \"models.CopyAuthorizationResult\":\n", - "doc": "\"\"\"Generate Copy Authorization.\n\nGenerate authorization to copy a model into the target Form Recognizer resource.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyAuthorizationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.CopyAuthorizationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "" - }, - "_analyze_receipt_async_initial" : { - "sync": { - "signature": "def _analyze_receipt_async_initial(\n self,\n include_text_details=False, # type: Optional[bool]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _analyze_receipt_async_initial(\n self,\n include_text_details: Optional[bool] = False,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "include_text_details, file_stream" - }, - "begin_analyze_receipt_async" : { - "sync": { - "signature": "def begin_analyze_receipt_async(\n self,\n include_text_details=False, # type: Optional[bool]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Analyze Receipt.\n\nExtract field text and semantic values from a given receipt document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_analyze_receipt_async(\n self,\n include_text_details: Optional[bool] = False,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Analyze Receipt.\n\nExtract field text and semantic values from a given receipt document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "include_text_details, file_stream" - }, - "get_analyze_receipt_result" : { - "sync": { - "signature": "def get_analyze_receipt_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Analyze Receipt Result.\n\nTrack the progress and obtain the result of the analyze receipt operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_analyze_receipt_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"models.AnalyzeOperationResult\":\n", - "doc": "\"\"\"Get Analyze Receipt Result.\n\nTrack the progress and obtain the result of the analyze receipt operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "result_id" - }, - "_analyze_layout_async_initial" : { - "sync": { - "signature": "def _analyze_layout_async_initial(\n self,\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _analyze_layout_async_initial(\n self,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "file_stream" - }, - "begin_analyze_layout_async" : { - "sync": { - "signature": "def begin_analyze_layout_async(\n self,\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Analyze Layout.\n\nExtract text and layout information from a given document. The input document must be of one of\nthe supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or \u0027image/tiff\u0027.\nAlternatively, use \u0027application/json\u0027 type to specify the location (Uri or local path) of the\ndocument to be analyzed.\n\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_analyze_layout_async(\n self,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Analyze Layout.\n\nExtract text and layout information from a given document. The input document must be of one of\nthe supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or \u0027image/tiff\u0027.\nAlternatively, use \u0027application/json\u0027 type to specify the location (Uri or local path) of the\ndocument to be analyzed.\n\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "file_stream" - }, - "get_analyze_layout_result" : { - "sync": { - "signature": "def get_analyze_layout_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Analyze Layout Result.\n\nTrack the progress and obtain the result of the analyze layout operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_analyze_layout_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"models.AnalyzeOperationResult\":\n", - "doc": "\"\"\"Get Analyze Layout Result.\n\nTrack the progress and obtain the result of the analyze layout operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "result_id" - }, - "list_custom_models" : { - "sync": { - "signature": "def list_custom_models(\n self,\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"List Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either Models or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.ai.formrecognizer.models.Models]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def list_custom_models(\n self,\n **kwargs\n) -\u003e AsyncItemPaged[\"models.Models\"]:\n", - "doc": "\"\"\"List Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either Models or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.formrecognizer.models.Models]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "" - }, - "get_custom_models" : { - "sync": { - "signature": "def get_custom_models(\n self,\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Models, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.Models\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_custom_models(\n self,\n **kwargs\n) -\u003e \"models.Models\":\n", - "doc": "\"\"\"Get Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Models, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.Models\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.core.polling.base_polling\": [\"LROBasePolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"IO\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.core.polling.async_base_polling\": [\"AsyncLROBasePolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"IO\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "train_custom_model_async" : { + "sync": { + "signature": "def train_custom_model_async(\n self,\n train_request, # type: \"_models.TrainRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Train Custom Model.\n\nCreate and train a custom model. The request must include a source parameter that is either an\nexternally accessible Azure storage blob container Uri (preferably a Shared Access Signature\nUri) or valid path to a data folder in a locally mounted drive. When local paths are specified,\nthey must follow the Linux/Unix path format and be an absolute path rooted to the input mount\nconfiguration setting value e.g., if \u0027{Mounts:Input}\u0027 configuration setting value is \u0027/input\u0027\nthen a valid source path would be \u0027/input/contosodataset\u0027. All data to be trained is expected\nto be under the source folder or sub folders under it. Models are trained using documents that\nare of the following content type - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027.\nOther type of content is ignored.\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.v2_0.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def train_custom_model_async(\n self,\n train_request: \"_models.TrainRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"Train Custom Model.\n\nCreate and train a custom model. The request must include a source parameter that is either an\nexternally accessible Azure storage blob container Uri (preferably a Shared Access Signature\nUri) or valid path to a data folder in a locally mounted drive. When local paths are specified,\nthey must follow the Linux/Unix path format and be an absolute path rooted to the input mount\nconfiguration setting value e.g., if \u0027{Mounts:Input}\u0027 configuration setting value is \u0027/input\u0027\nthen a valid source path would be \u0027/input/contosodataset\u0027. All data to be trained is expected\nto be under the source folder or sub folders under it. Models are trained using documents that\nare of the following content type - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027.\nOther type of content is ignored.\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.v2_0.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "train_request" + }, + "get_custom_model" : { + "sync": { + "signature": "def get_custom_model(\n self,\n model_id, # type: str\n include_keys=False, # type: Optional[bool]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Custom Model.\n\nGet detailed information about a custom model.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_keys: Include list of extracted keys in model information.\n:type include_keys: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Model, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.Model\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_custom_model(\n self,\n model_id: str,\n include_keys: Optional[bool] = False,\n **kwargs\n) -\u003e \"_models.Model\":\n", + "doc": "\"\"\"Get Custom Model.\n\nGet detailed information about a custom model.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_keys: Include list of extracted keys in model information.\n:type include_keys: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Model, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.Model\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id, include_keys" + }, + "delete_custom_model" : { + "sync": { + "signature": "def delete_custom_model(\n self,\n model_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Delete Custom Model.\n\nMark model for deletion. Model artifacts will be permanently removed within a predetermined\nperiod.\n\n:param model_id: Model identifier.\n:type model_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def delete_custom_model(\n self,\n model_id: str,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"Delete Custom Model.\n\nMark model for deletion. Model artifacts will be permanently removed within a predetermined\nperiod.\n\n:param model_id: Model identifier.\n:type model_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id" + }, + "_analyze_with_custom_model_initial" : { + "sync": { + "signature": "def _analyze_with_custom_model_initial(\n self,\n model_id, # type: str\n include_text_details=False, # type: Optional[bool]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _analyze_with_custom_model_initial(\n self,\n model_id: str,\n include_text_details: Optional[bool] = False,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id, include_text_details, file_stream" + }, + "begin_analyze_with_custom_model" : { + "sync": { + "signature": "def begin_analyze_with_custom_model(\n self,\n model_id, # type: str\n include_text_details=False, # type: Optional[bool]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Analyze Form.\n\nExtract key-value pairs, tables, and semantic values from a given document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_analyze_with_custom_model(\n self,\n model_id: str,\n include_text_details: Optional[bool] = False,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Analyze Form.\n\nExtract key-value pairs, tables, and semantic values from a given document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "model_id, include_text_details, file_stream" + }, + "get_analyze_form_result" : { + "sync": { + "signature": "def get_analyze_form_result(\n self,\n model_id, # type: str\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Analyze Form Result.\n\nObtain current status and the result of the analyze form operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_analyze_form_result(\n self,\n model_id: str,\n result_id: str,\n **kwargs\n) -\u003e \"_models.AnalyzeOperationResult\":\n", + "doc": "\"\"\"Get Analyze Form Result.\n\nObtain current status and the result of the analyze form operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id, result_id" + }, + "_copy_custom_model_initial" : { + "sync": { + "signature": "def _copy_custom_model_initial(\n self,\n model_id, # type: str\n copy_request, # type: \"_models.CopyRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.v2_0.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _copy_custom_model_initial(\n self,\n model_id: str,\n copy_request: \"_models.CopyRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.v2_0.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id, copy_request" + }, + "begin_copy_custom_model" : { + "sync": { + "signature": "def begin_copy_custom_model(\n self,\n model_id, # type: str\n copy_request, # type: \"_models.CopyRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Copy Custom Model.\n\nCopy custom model stored in this resource (the source) to user specified target Form Recognizer\nresource.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.v2_0.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_copy_custom_model(\n self,\n model_id: str,\n copy_request: \"_models.CopyRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Copy Custom Model.\n\nCopy custom model stored in this resource (the source) to user specified target Form Recognizer\nresource.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.v2_0.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "model_id, copy_request" + }, + "get_custom_model_copy_result" : { + "sync": { + "signature": "def get_custom_model_copy_result(\n self,\n model_id, # type: str\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Custom Model Copy Result.\n\nObtain current status and the result of a custom model copy operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Copy operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.CopyOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_custom_model_copy_result(\n self,\n model_id: str,\n result_id: str,\n **kwargs\n) -\u003e \"_models.CopyOperationResult\":\n", + "doc": "\"\"\"Get Custom Model Copy Result.\n\nObtain current status and the result of a custom model copy operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Copy operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.CopyOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id, result_id" + }, + "generate_model_copy_authorization" : { + "sync": { + "signature": "def generate_model_copy_authorization(\n self,\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generate Copy Authorization.\n\nGenerate authorization to copy a model into the target Form Recognizer resource.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyAuthorizationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.CopyAuthorizationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def generate_model_copy_authorization(\n self,\n **kwargs\n) -\u003e \"_models.CopyAuthorizationResult\":\n", + "doc": "\"\"\"Generate Copy Authorization.\n\nGenerate authorization to copy a model into the target Form Recognizer resource.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyAuthorizationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.CopyAuthorizationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "" + }, + "_analyze_receipt_async_initial" : { + "sync": { + "signature": "def _analyze_receipt_async_initial(\n self,\n include_text_details=False, # type: Optional[bool]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _analyze_receipt_async_initial(\n self,\n include_text_details: Optional[bool] = False,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "include_text_details, file_stream" + }, + "begin_analyze_receipt_async" : { + "sync": { + "signature": "def begin_analyze_receipt_async(\n self,\n include_text_details=False, # type: Optional[bool]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Analyze Receipt.\n\nExtract field text and semantic values from a given receipt document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_analyze_receipt_async(\n self,\n include_text_details: Optional[bool] = False,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Analyze Receipt.\n\nExtract field text and semantic values from a given receipt document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "include_text_details, file_stream" + }, + "get_analyze_receipt_result" : { + "sync": { + "signature": "def get_analyze_receipt_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Analyze Receipt Result.\n\nTrack the progress and obtain the result of the analyze receipt operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_analyze_receipt_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"_models.AnalyzeOperationResult\":\n", + "doc": "\"\"\"Get Analyze Receipt Result.\n\nTrack the progress and obtain the result of the analyze receipt operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "result_id" + }, + "_analyze_layout_async_initial" : { + "sync": { + "signature": "def _analyze_layout_async_initial(\n self,\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _analyze_layout_async_initial(\n self,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "file_stream" + }, + "begin_analyze_layout_async" : { + "sync": { + "signature": "def begin_analyze_layout_async(\n self,\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Analyze Layout.\n\nExtract text and layout information from a given document. The input document must be of one of\nthe supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or \u0027image/tiff\u0027.\nAlternatively, use \u0027application/json\u0027 type to specify the location (Uri or local path) of the\ndocument to be analyzed.\n\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_analyze_layout_async(\n self,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Analyze Layout.\n\nExtract text and layout information from a given document. The input document must be of one of\nthe supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or \u0027image/tiff\u0027.\nAlternatively, use \u0027application/json\u0027 type to specify the location (Uri or local path) of the\ndocument to be analyzed.\n\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "file_stream" + }, + "get_analyze_layout_result" : { + "sync": { + "signature": "def get_analyze_layout_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Analyze Layout Result.\n\nTrack the progress and obtain the result of the analyze layout operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_analyze_layout_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"_models.AnalyzeOperationResult\":\n", + "doc": "\"\"\"Get Analyze Layout Result.\n\nTrack the progress and obtain the result of the analyze layout operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "result_id" + }, + "list_custom_models" : { + "sync": { + "signature": "def list_custom_models(\n self,\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"List Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either Models or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.ai.formrecognizer.v2_0.models.Models]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def list_custom_models(\n self,\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.Models\"]:\n", + "doc": "\"\"\"List Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either Models or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.formrecognizer.v2_0.models.Models]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "" + }, + "get_custom_models" : { + "sync": { + "signature": "def get_custom_models(\n self,\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Models, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.Models\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_custom_models(\n self,\n **kwargs\n) -\u003e \"_models.Models\":\n", + "doc": "\"\"\"Get Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Models, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_0.models.Models\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.core.polling.base_polling\": [\"LROBasePolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"IO\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.core.polling.async_base_polling\": [\"AsyncLROBasePolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"IO\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/aio/operations/_form_recognizer_client_operations.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/aio/operations/_form_recognizer_client_operations.py index f3b8464b3672..5dfc78af8182 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/aio/operations/_form_recognizer_client_operations.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/aio/operations/_form_recognizer_client_operations.py @@ -15,7 +15,7 @@ from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod from azure.core.polling.async_base_polling import AsyncLROBasePolling -from ... import models +from ... import models as _models T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -24,7 +24,7 @@ class FormRecognizerClientOperationsMixin: async def train_custom_model_async( self, - train_request: "models.TrainRequest", + train_request: "_models.TrainRequest", **kwargs ) -> None: """Train Custom Model. @@ -40,7 +40,7 @@ async def train_custom_model_async( Other type of content is ignored. :param train_request: Training request parameters. - :type train_request: ~azure.ai.formrecognizer.models.TrainRequest + :type train_request: ~azure.ai.formrecognizer.v2_0.models.TrainRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None @@ -78,7 +78,7 @@ async def train_custom_model_async( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -94,7 +94,7 @@ async def get_custom_model( model_id: str, include_keys: Optional[bool] = False, **kwargs - ) -> "models.Model": + ) -> "_models.Model": """Get Custom Model. Get detailed information about a custom model. @@ -105,10 +105,10 @@ async def get_custom_model( :type include_keys: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: Model, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Model + :rtype: ~azure.ai.formrecognizer.v2_0.models.Model :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Model"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Model"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -138,7 +138,7 @@ async def get_custom_model( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('Model', pipeline_response) @@ -194,7 +194,7 @@ async def delete_custom_model( if response.status_code not in [204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) if cls: @@ -206,7 +206,7 @@ async def _analyze_with_custom_model_initial( self, model_id: str, include_text_details: Optional[bool] = False, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -255,7 +255,7 @@ async def _analyze_with_custom_model_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -270,7 +270,7 @@ async def begin_analyze_with_custom_model( self, model_id: str, include_text_details: Optional[bool] = False, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Form. @@ -285,13 +285,13 @@ async def begin_analyze_with_custom_model( :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -345,7 +345,7 @@ async def get_analyze_form_result( model_id: str, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Form Result. Obtain current status and the result of the analyze form operation. @@ -356,10 +356,10 @@ async def get_analyze_form_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -388,7 +388,7 @@ async def get_analyze_form_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -402,7 +402,7 @@ async def get_analyze_form_result( async def _copy_custom_model_initial( self, model_id: str, - copy_request: "models.CopyRequest", + copy_request: "_models.CopyRequest", **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -438,7 +438,7 @@ async def _copy_custom_model_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -452,7 +452,7 @@ async def _copy_custom_model_initial( async def begin_copy_custom_model( self, model_id: str, - copy_request: "models.CopyRequest", + copy_request: "_models.CopyRequest", **kwargs ) -> AsyncLROPoller[None]: """Copy Custom Model. @@ -463,11 +463,11 @@ async def begin_copy_custom_model( :param model_id: Model identifier. :type model_id: str :param copy_request: Copy request parameters. - :type copy_request: ~azure.ai.formrecognizer.models.CopyRequest + :type copy_request: ~azure.ai.formrecognizer.v2_0.models.CopyRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -520,7 +520,7 @@ async def get_custom_model_copy_result( model_id: str, result_id: str, **kwargs - ) -> "models.CopyOperationResult": + ) -> "_models.CopyOperationResult": """Get Custom Model Copy Result. Obtain current status and the result of a custom model copy operation. @@ -531,10 +531,10 @@ async def get_custom_model_copy_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyOperationResult + :rtype: ~azure.ai.formrecognizer.v2_0.models.CopyOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.CopyOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CopyOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -563,7 +563,7 @@ async def get_custom_model_copy_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('CopyOperationResult', pipeline_response) @@ -577,17 +577,17 @@ async def get_custom_model_copy_result( async def generate_model_copy_authorization( self, **kwargs - ) -> "models.CopyAuthorizationResult": + ) -> "_models.CopyAuthorizationResult": """Generate Copy Authorization. Generate authorization to copy a model into the target Form Recognizer resource. :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyAuthorizationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyAuthorizationResult + :rtype: ~azure.ai.formrecognizer.v2_0.models.CopyAuthorizationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.CopyAuthorizationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CopyAuthorizationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -614,7 +614,7 @@ async def generate_model_copy_authorization( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -630,7 +630,7 @@ async def generate_model_copy_authorization( async def _analyze_receipt_async_initial( self, include_text_details: Optional[bool] = False, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -678,7 +678,7 @@ async def _analyze_receipt_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -692,7 +692,7 @@ async def _analyze_receipt_async_initial( async def begin_analyze_receipt_async( self, include_text_details: Optional[bool] = False, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Receipt. @@ -705,13 +705,13 @@ async def begin_analyze_receipt_async( :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -762,7 +762,7 @@ async def get_analyze_receipt_result( self, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Receipt Result. Track the progress and obtain the result of the analyze receipt operation. @@ -771,10 +771,10 @@ async def get_analyze_receipt_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -802,7 +802,7 @@ async def get_analyze_receipt_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -815,7 +815,7 @@ async def get_analyze_receipt_result( async def _analyze_layout_async_initial( self, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -861,7 +861,7 @@ async def _analyze_layout_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -874,7 +874,7 @@ async def _analyze_layout_async_initial( async def begin_analyze_layout_async( self, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Layout. @@ -885,13 +885,13 @@ async def begin_analyze_layout_async( document to be analyzed. :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -941,7 +941,7 @@ async def get_analyze_layout_result( self, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Layout Result. Track the progress and obtain the result of the analyze layout operation. @@ -950,10 +950,10 @@ async def get_analyze_layout_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -981,7 +981,7 @@ async def get_analyze_layout_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -995,17 +995,17 @@ async def get_analyze_layout_result( def list_custom_models( self, **kwargs - ) -> AsyncIterable["models.Models"]: + ) -> AsyncIterable["_models.Models"]: """List Custom Models. Get information about all custom models. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Models or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.formrecognizer.models.Models] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.formrecognizer.v2_0.models.Models] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Models"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Models"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1054,7 +1054,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error) @@ -1068,17 +1068,17 @@ async def get_next(next_link=None): async def get_custom_models( self, **kwargs - ) -> "models.Models": + ) -> "_models.Models": """Get Custom Models. Get information about all custom models. :keyword callable cls: A custom type or function that will be passed the direct response :return: Models, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Models + :rtype: ~azure.ai.formrecognizer.v2_0.models.Models :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Models"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Models"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1107,7 +1107,7 @@ async def get_custom_models( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('Models', pipeline_response) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_form_recognizer_client_enums.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_form_recognizer_client_enums.py index 483cbee31c4f..6ee0efcc8d73 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_form_recognizer_client_enums.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_form_recognizer_client_enums.py @@ -30,10 +30,14 @@ class ContentType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Content type for upload """ - APPLICATION_PDF = "application/pdf" #: Content Type 'application/pdf'. - IMAGE_JPEG = "image/jpeg" #: Content Type 'image/jpeg'. - IMAGE_PNG = "image/png" #: Content Type 'image/png'. - IMAGE_TIFF = "image/tiff" #: Content Type 'image/tiff'. + #: Content Type 'application/pdf'. + APPLICATION_PDF = "application/pdf" + #: Content Type 'image/jpeg'. + IMAGE_JPEG = "image/jpeg" + #: Content Type 'image/png'. + IMAGE_PNG = "image/png" + #: Content Type 'image/tiff'. + IMAGE_TIFF = "image/tiff" class FieldValueType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Semantic data type of the field value. diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_models.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_models.py index 6b23382f7fb9..26dafd68aee4 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_models.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_models.py @@ -17,14 +17,14 @@ class AnalyzeOperationResult(msrest.serialization.Model): :param status: Required. Operation status. Possible values include: "notStarted", "running", "succeeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.OperationStatus + :type status: str or ~azure.ai.formrecognizer.v2_0.models.OperationStatus :param created_date_time: Required. Date and time (UTC) when the analyze operation was submitted. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. :type last_updated_date_time: ~datetime.datetime :param analyze_result: Results of the analyze operation. - :type analyze_result: ~azure.ai.formrecognizer.models.AnalyzeResult + :type analyze_result: ~azure.ai.formrecognizer.v2_0.models.AnalyzeResult """ _validation = { @@ -59,13 +59,13 @@ class AnalyzeResult(msrest.serialization.Model): :param version: Required. Version of schema used for this result. :type version: str :param read_results: Required. Text extracted from the input. - :type read_results: list[~azure.ai.formrecognizer.models.ReadResult] + :type read_results: list[~azure.ai.formrecognizer.v2_0.models.ReadResult] :param page_results: Page-level information extracted from the input. - :type page_results: list[~azure.ai.formrecognizer.models.PageResult] + :type page_results: list[~azure.ai.formrecognizer.v2_0.models.PageResult] :param document_results: Document-level information extracted from the input. - :type document_results: list[~azure.ai.formrecognizer.models.DocumentResult] + :type document_results: list[~azure.ai.formrecognizer.v2_0.models.DocumentResult] :param errors: List of errors reported during the analyze operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_0.models.ErrorInformation] """ _validation = { @@ -136,13 +136,13 @@ class CopyOperationResult(msrest.serialization.Model): :param status: Required. Operation status. Possible values include: "notStarted", "running", "succeeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.OperationStatus + :type status: str or ~azure.ai.formrecognizer.v2_0.models.OperationStatus :param created_date_time: Required. Date and time (UTC) when the copy operation was submitted. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. :type last_updated_date_time: ~datetime.datetime :param copy_result: Results of the copy operation. - :type copy_result: ~azure.ai.formrecognizer.models.CopyResult + :type copy_result: ~azure.ai.formrecognizer.v2_0.models.CopyResult """ _validation = { @@ -181,7 +181,7 @@ class CopyRequest(msrest.serialization.Model): region name supported by Cognitive Services. :type target_resource_region: str :param copy_authorization: Required. Entity that encodes claims to authorize the copy request. - :type copy_authorization: ~azure.ai.formrecognizer.models.CopyAuthorizationResult + :type copy_authorization: ~azure.ai.formrecognizer.v2_0.models.CopyAuthorizationResult """ _validation = { @@ -214,7 +214,7 @@ class CopyResult(msrest.serialization.Model): :param model_id: Required. Identifier of the target model. :type model_id: str :param errors: Errors returned during the copy operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_0.models.ErrorInformation] """ _validation = { @@ -245,7 +245,7 @@ class DataTable(msrest.serialization.Model): :param columns: Required. Number of columns. :type columns: int :param cells: Required. List of cells contained in the table. - :type cells: list[~azure.ai.formrecognizer.models.DataTableCell] + :type cells: list[~azure.ai.formrecognizer.v2_0.models.DataTableCell] """ _validation = { @@ -348,7 +348,7 @@ class DocumentResult(msrest.serialization.Model): :param page_range: Required. First and last page number where the document is found. :type page_range: list[int] :param fields: Required. Dictionary of named field values. - :type fields: dict[str, ~azure.ai.formrecognizer.models.FieldValue] + :type fields: dict[str, ~azure.ai.formrecognizer.v2_0.models.FieldValue] """ _validation = { @@ -409,7 +409,7 @@ class ErrorResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param error: Required. - :type error: ~azure.ai.formrecognizer.models.ErrorInformation + :type error: ~azure.ai.formrecognizer.v2_0.models.ErrorInformation """ _validation = { @@ -435,7 +435,7 @@ class FieldValue(msrest.serialization.Model): :param type: Required. Type of field value. Possible values include: "string", "date", "time", "phoneNumber", "number", "integer", "array", "object". - :type type: str or ~azure.ai.formrecognizer.models.FieldValueType + :type type: str or ~azure.ai.formrecognizer.v2_0.models.FieldValueType :param value_string: String value. :type value_string: str :param value_date: Date value. @@ -449,9 +449,9 @@ class FieldValue(msrest.serialization.Model): :param value_integer: Integer value. :type value_integer: int :param value_array: Array of field values. - :type value_array: list[~azure.ai.formrecognizer.models.FieldValue] + :type value_array: list[~azure.ai.formrecognizer.v2_0.models.FieldValue] :param value_object: Dictionary of named field values. - :type value_object: dict[str, ~azure.ai.formrecognizer.models.FieldValue] + :type value_object: dict[str, ~azure.ai.formrecognizer.v2_0.models.FieldValue] :param text: Text content of the extracted field. :type text: str :param bounding_box: Bounding box of the field value, if appropriate. @@ -608,9 +608,9 @@ class KeyValuePair(msrest.serialization.Model): :param label: A user defined label for the key/value pair entry. :type label: str :param key: Required. Information about the extracted key in a key-value pair. - :type key: ~azure.ai.formrecognizer.models.KeyValueElement + :type key: ~azure.ai.formrecognizer.v2_0.models.KeyValueElement :param value: Required. Information about the extracted value in a key-value pair. - :type value: ~azure.ai.formrecognizer.models.KeyValueElement + :type value: ~azure.ai.formrecognizer.v2_0.models.KeyValueElement :param confidence: Required. Confidence value. :type confidence: float """ @@ -645,11 +645,11 @@ class Model(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param model_info: Required. Basic custom model information. - :type model_info: ~azure.ai.formrecognizer.models.ModelInfo + :type model_info: ~azure.ai.formrecognizer.v2_0.models.ModelInfo :param keys: Keys extracted by the custom model. - :type keys: ~azure.ai.formrecognizer.models.KeysResult + :type keys: ~azure.ai.formrecognizer.v2_0.models.KeysResult :param train_result: Custom model training result. - :type train_result: ~azure.ai.formrecognizer.models.TrainResult + :type train_result: ~azure.ai.formrecognizer.v2_0.models.TrainResult """ _validation = { @@ -681,7 +681,7 @@ class ModelInfo(msrest.serialization.Model): :type model_id: str :param status: Required. Status of the model. Possible values include: "creating", "ready", "invalid". - :type status: str or ~azure.ai.formrecognizer.models.ModelStatus + :type status: str or ~azure.ai.formrecognizer.v2_0.models.ModelStatus :param created_date_time: Required. Date and time (UTC) when the model was created. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. @@ -717,9 +717,9 @@ class Models(msrest.serialization.Model): """Response to the list custom models operation. :param summary: Summary of all trained custom models. - :type summary: ~azure.ai.formrecognizer.models.ModelsSummary + :type summary: ~azure.ai.formrecognizer.v2_0.models.ModelsSummary :param model_list: Collection of trained custom models. - :type model_list: list[~azure.ai.formrecognizer.models.ModelInfo] + :type model_list: list[~azure.ai.formrecognizer.v2_0.models.ModelInfo] :param next_link: Link to the next page of custom models. :type next_link: str """ @@ -785,9 +785,9 @@ class PageResult(msrest.serialization.Model): :param cluster_id: Cluster identifier. :type cluster_id: int :param key_value_pairs: List of key-value pairs extracted from the page. - :type key_value_pairs: list[~azure.ai.formrecognizer.models.KeyValuePair] + :type key_value_pairs: list[~azure.ai.formrecognizer.v2_0.models.KeyValuePair] :param tables: List of data tables extracted from the page. - :type tables: list[~azure.ai.formrecognizer.models.DataTable] + :type tables: list[~azure.ai.formrecognizer.v2_0.models.DataTable] """ _validation = { @@ -830,16 +830,16 @@ class ReadResult(msrest.serialization.Model): :param unit: Required. The unit used by the width, height and boundingBox properties. For images, the unit is "pixel". For PDF, the unit is "inch". Possible values include: "pixel", "inch". - :type unit: str or ~azure.ai.formrecognizer.models.LengthUnit + :type unit: str or ~azure.ai.formrecognizer.v2_0.models.LengthUnit :param language: The detected language on the page overall. Possible values include: "en", "es". - :type language: str or ~azure.ai.formrecognizer.models.Language + :type language: str or ~azure.ai.formrecognizer.v2_0.models.Language :param lines: When includeTextDetails is set to true, a list of recognized text lines. The maximum number of lines returned is 300 per page. The lines are sorted top to bottom, left to right, although in certain cases proximity is treated with higher priority. As the sorting order depends on the detected text, it may change across images and OCR version updates. Thus, business logic should be built upon the actual line location instead of order. - :type lines: list[~azure.ai.formrecognizer.models.TextLine] + :type lines: list[~azure.ai.formrecognizer.v2_0.models.TextLine] """ _validation = { @@ -908,9 +908,9 @@ class TextLine(msrest.serialization.Model): :type bounding_box: list[float] :param language: The detected language of this line, if different from the overall page language. Possible values include: "en", "es". - :type language: str or ~azure.ai.formrecognizer.models.Language + :type language: str or ~azure.ai.formrecognizer.v2_0.models.Language :param words: Required. List of words in the text line. - :type words: list[~azure.ai.formrecognizer.models.TextWord] + :type words: list[~azure.ai.formrecognizer.v2_0.models.TextWord] """ _validation = { @@ -982,10 +982,10 @@ class TrainingDocumentInfo(msrest.serialization.Model): :param pages: Required. Total number of pages trained. :type pages: int :param errors: Required. List of errors. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_0.models.ErrorInformation] :param status: Required. Status of the training operation. Possible values include: "succeeded", "partiallySucceeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.TrainStatus + :type status: str or ~azure.ai.formrecognizer.v2_0.models.TrainStatus """ _validation = { @@ -1021,7 +1021,7 @@ class TrainRequest(msrest.serialization.Model): :param source: Required. Source path containing the training documents. :type source: str :param source_filter: Filter to apply to the documents in the source path for training. - :type source_filter: ~azure.ai.formrecognizer.models.TrainSourceFilter + :type source_filter: ~azure.ai.formrecognizer.v2_0.models.TrainSourceFilter :param use_label_file: Use label file for training a model. :type use_label_file: bool """ @@ -1053,14 +1053,14 @@ class TrainResult(msrest.serialization.Model): :param training_documents: Required. List of the documents used to train the model and any errors reported in each document. - :type training_documents: list[~azure.ai.formrecognizer.models.TrainingDocumentInfo] + :type training_documents: list[~azure.ai.formrecognizer.v2_0.models.TrainingDocumentInfo] :param fields: List of fields used to train the model and the train operation error reported by each. - :type fields: list[~azure.ai.formrecognizer.models.FormFieldsReport] + :type fields: list[~azure.ai.formrecognizer.v2_0.models.FormFieldsReport] :param average_model_accuracy: Average accuracy. :type average_model_accuracy: float :param errors: Errors returned during the training operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_0.models.ErrorInformation] """ _validation = { diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_models_py3.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_models_py3.py index 48ec2873c1c5..71dc3f468ca6 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_models_py3.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/models/_models_py3.py @@ -22,14 +22,14 @@ class AnalyzeOperationResult(msrest.serialization.Model): :param status: Required. Operation status. Possible values include: "notStarted", "running", "succeeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.OperationStatus + :type status: str or ~azure.ai.formrecognizer.v2_0.models.OperationStatus :param created_date_time: Required. Date and time (UTC) when the analyze operation was submitted. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. :type last_updated_date_time: ~datetime.datetime :param analyze_result: Results of the analyze operation. - :type analyze_result: ~azure.ai.formrecognizer.models.AnalyzeResult + :type analyze_result: ~azure.ai.formrecognizer.v2_0.models.AnalyzeResult """ _validation = { @@ -69,13 +69,13 @@ class AnalyzeResult(msrest.serialization.Model): :param version: Required. Version of schema used for this result. :type version: str :param read_results: Required. Text extracted from the input. - :type read_results: list[~azure.ai.formrecognizer.models.ReadResult] + :type read_results: list[~azure.ai.formrecognizer.v2_0.models.ReadResult] :param page_results: Page-level information extracted from the input. - :type page_results: list[~azure.ai.formrecognizer.models.PageResult] + :type page_results: list[~azure.ai.formrecognizer.v2_0.models.PageResult] :param document_results: Document-level information extracted from the input. - :type document_results: list[~azure.ai.formrecognizer.models.DocumentResult] + :type document_results: list[~azure.ai.formrecognizer.v2_0.models.DocumentResult] :param errors: List of errors reported during the analyze operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_0.models.ErrorInformation] """ _validation = { @@ -156,13 +156,13 @@ class CopyOperationResult(msrest.serialization.Model): :param status: Required. Operation status. Possible values include: "notStarted", "running", "succeeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.OperationStatus + :type status: str or ~azure.ai.formrecognizer.v2_0.models.OperationStatus :param created_date_time: Required. Date and time (UTC) when the copy operation was submitted. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. :type last_updated_date_time: ~datetime.datetime :param copy_result: Results of the copy operation. - :type copy_result: ~azure.ai.formrecognizer.models.CopyResult + :type copy_result: ~azure.ai.formrecognizer.v2_0.models.CopyResult """ _validation = { @@ -206,7 +206,7 @@ class CopyRequest(msrest.serialization.Model): region name supported by Cognitive Services. :type target_resource_region: str :param copy_authorization: Required. Entity that encodes claims to authorize the copy request. - :type copy_authorization: ~azure.ai.formrecognizer.models.CopyAuthorizationResult + :type copy_authorization: ~azure.ai.formrecognizer.v2_0.models.CopyAuthorizationResult """ _validation = { @@ -243,7 +243,7 @@ class CopyResult(msrest.serialization.Model): :param model_id: Required. Identifier of the target model. :type model_id: str :param errors: Errors returned during the copy operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_0.models.ErrorInformation] """ _validation = { @@ -277,7 +277,7 @@ class DataTable(msrest.serialization.Model): :param columns: Required. Number of columns. :type columns: int :param cells: Required. List of cells contained in the table. - :type cells: list[~azure.ai.formrecognizer.models.DataTableCell] + :type cells: list[~azure.ai.formrecognizer.v2_0.models.DataTableCell] """ _validation = { @@ -395,7 +395,7 @@ class DocumentResult(msrest.serialization.Model): :param page_range: Required. First and last page number where the document is found. :type page_range: list[int] :param fields: Required. Dictionary of named field values. - :type fields: dict[str, ~azure.ai.formrecognizer.models.FieldValue] + :type fields: dict[str, ~azure.ai.formrecognizer.v2_0.models.FieldValue] """ _validation = { @@ -463,7 +463,7 @@ class ErrorResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param error: Required. - :type error: ~azure.ai.formrecognizer.models.ErrorInformation + :type error: ~azure.ai.formrecognizer.v2_0.models.ErrorInformation """ _validation = { @@ -491,7 +491,7 @@ class FieldValue(msrest.serialization.Model): :param type: Required. Type of field value. Possible values include: "string", "date", "time", "phoneNumber", "number", "integer", "array", "object". - :type type: str or ~azure.ai.formrecognizer.models.FieldValueType + :type type: str or ~azure.ai.formrecognizer.v2_0.models.FieldValueType :param value_string: String value. :type value_string: str :param value_date: Date value. @@ -505,9 +505,9 @@ class FieldValue(msrest.serialization.Model): :param value_integer: Integer value. :type value_integer: int :param value_array: Array of field values. - :type value_array: list[~azure.ai.formrecognizer.models.FieldValue] + :type value_array: list[~azure.ai.formrecognizer.v2_0.models.FieldValue] :param value_object: Dictionary of named field values. - :type value_object: dict[str, ~azure.ai.formrecognizer.models.FieldValue] + :type value_object: dict[str, ~azure.ai.formrecognizer.v2_0.models.FieldValue] :param text: Text content of the extracted field. :type text: str :param bounding_box: Bounding box of the field value, if appropriate. @@ -688,9 +688,9 @@ class KeyValuePair(msrest.serialization.Model): :param label: A user defined label for the key/value pair entry. :type label: str :param key: Required. Information about the extracted key in a key-value pair. - :type key: ~azure.ai.formrecognizer.models.KeyValueElement + :type key: ~azure.ai.formrecognizer.v2_0.models.KeyValueElement :param value: Required. Information about the extracted value in a key-value pair. - :type value: ~azure.ai.formrecognizer.models.KeyValueElement + :type value: ~azure.ai.formrecognizer.v2_0.models.KeyValueElement :param confidence: Required. Confidence value. :type confidence: float """ @@ -730,11 +730,11 @@ class Model(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param model_info: Required. Basic custom model information. - :type model_info: ~azure.ai.formrecognizer.models.ModelInfo + :type model_info: ~azure.ai.formrecognizer.v2_0.models.ModelInfo :param keys: Keys extracted by the custom model. - :type keys: ~azure.ai.formrecognizer.models.KeysResult + :type keys: ~azure.ai.formrecognizer.v2_0.models.KeysResult :param train_result: Custom model training result. - :type train_result: ~azure.ai.formrecognizer.models.TrainResult + :type train_result: ~azure.ai.formrecognizer.v2_0.models.TrainResult """ _validation = { @@ -770,7 +770,7 @@ class ModelInfo(msrest.serialization.Model): :type model_id: str :param status: Required. Status of the model. Possible values include: "creating", "ready", "invalid". - :type status: str or ~azure.ai.formrecognizer.models.ModelStatus + :type status: str or ~azure.ai.formrecognizer.v2_0.models.ModelStatus :param created_date_time: Required. Date and time (UTC) when the model was created. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. @@ -811,9 +811,9 @@ class Models(msrest.serialization.Model): """Response to the list custom models operation. :param summary: Summary of all trained custom models. - :type summary: ~azure.ai.formrecognizer.models.ModelsSummary + :type summary: ~azure.ai.formrecognizer.v2_0.models.ModelsSummary :param model_list: Collection of trained custom models. - :type model_list: list[~azure.ai.formrecognizer.models.ModelInfo] + :type model_list: list[~azure.ai.formrecognizer.v2_0.models.ModelInfo] :param next_link: Link to the next page of custom models. :type next_link: str """ @@ -887,9 +887,9 @@ class PageResult(msrest.serialization.Model): :param cluster_id: Cluster identifier. :type cluster_id: int :param key_value_pairs: List of key-value pairs extracted from the page. - :type key_value_pairs: list[~azure.ai.formrecognizer.models.KeyValuePair] + :type key_value_pairs: list[~azure.ai.formrecognizer.v2_0.models.KeyValuePair] :param tables: List of data tables extracted from the page. - :type tables: list[~azure.ai.formrecognizer.models.DataTable] + :type tables: list[~azure.ai.formrecognizer.v2_0.models.DataTable] """ _validation = { @@ -937,16 +937,16 @@ class ReadResult(msrest.serialization.Model): :param unit: Required. The unit used by the width, height and boundingBox properties. For images, the unit is "pixel". For PDF, the unit is "inch". Possible values include: "pixel", "inch". - :type unit: str or ~azure.ai.formrecognizer.models.LengthUnit + :type unit: str or ~azure.ai.formrecognizer.v2_0.models.LengthUnit :param language: The detected language on the page overall. Possible values include: "en", "es". - :type language: str or ~azure.ai.formrecognizer.models.Language + :type language: str or ~azure.ai.formrecognizer.v2_0.models.Language :param lines: When includeTextDetails is set to true, a list of recognized text lines. The maximum number of lines returned is 300 per page. The lines are sorted top to bottom, left to right, although in certain cases proximity is treated with higher priority. As the sorting order depends on the detected text, it may change across images and OCR version updates. Thus, business logic should be built upon the actual line location instead of order. - :type lines: list[~azure.ai.formrecognizer.models.TextLine] + :type lines: list[~azure.ai.formrecognizer.v2_0.models.TextLine] """ _validation = { @@ -1025,9 +1025,9 @@ class TextLine(msrest.serialization.Model): :type bounding_box: list[float] :param language: The detected language of this line, if different from the overall page language. Possible values include: "en", "es". - :type language: str or ~azure.ai.formrecognizer.models.Language + :type language: str or ~azure.ai.formrecognizer.v2_0.models.Language :param words: Required. List of words in the text line. - :type words: list[~azure.ai.formrecognizer.models.TextWord] + :type words: list[~azure.ai.formrecognizer.v2_0.models.TextWord] """ _validation = { @@ -1108,10 +1108,10 @@ class TrainingDocumentInfo(msrest.serialization.Model): :param pages: Required. Total number of pages trained. :type pages: int :param errors: Required. List of errors. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_0.models.ErrorInformation] :param status: Required. Status of the training operation. Possible values include: "succeeded", "partiallySucceeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.TrainStatus + :type status: str or ~azure.ai.formrecognizer.v2_0.models.TrainStatus """ _validation = { @@ -1152,7 +1152,7 @@ class TrainRequest(msrest.serialization.Model): :param source: Required. Source path containing the training documents. :type source: str :param source_filter: Filter to apply to the documents in the source path for training. - :type source_filter: ~azure.ai.formrecognizer.models.TrainSourceFilter + :type source_filter: ~azure.ai.formrecognizer.v2_0.models.TrainSourceFilter :param use_label_file: Use label file for training a model. :type use_label_file: bool """ @@ -1188,14 +1188,14 @@ class TrainResult(msrest.serialization.Model): :param training_documents: Required. List of the documents used to train the model and any errors reported in each document. - :type training_documents: list[~azure.ai.formrecognizer.models.TrainingDocumentInfo] + :type training_documents: list[~azure.ai.formrecognizer.v2_0.models.TrainingDocumentInfo] :param fields: List of fields used to train the model and the train operation error reported by each. - :type fields: list[~azure.ai.formrecognizer.models.FormFieldsReport] + :type fields: list[~azure.ai.formrecognizer.v2_0.models.FormFieldsReport] :param average_model_accuracy: Average accuracy. :type average_model_accuracy: float :param errors: Errors returned during the training operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_0.models.ErrorInformation] """ _validation = { diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/operations/_form_recognizer_client_operations.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/operations/_form_recognizer_client_operations.py index 8cfe8582277f..4270e2f1eaee 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/operations/_form_recognizer_client_operations.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_0/operations/_form_recognizer_client_operations.py @@ -15,7 +15,7 @@ from azure.core.polling import LROPoller, NoPolling, PollingMethod from azure.core.polling.base_polling import LROBasePolling -from .. import models +from .. import models as _models if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -28,7 +28,7 @@ class FormRecognizerClientOperationsMixin(object): def train_custom_model_async( self, - train_request, # type: "models.TrainRequest" + train_request, # type: "_models.TrainRequest" **kwargs # type: Any ): # type: (...) -> None @@ -45,7 +45,7 @@ def train_custom_model_async( Other type of content is ignored. :param train_request: Training request parameters. - :type train_request: ~azure.ai.formrecognizer.models.TrainRequest + :type train_request: ~azure.ai.formrecognizer.v2_0.models.TrainRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None @@ -83,7 +83,7 @@ def train_custom_model_async( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -100,7 +100,7 @@ def get_custom_model( include_keys=False, # type: Optional[bool] **kwargs # type: Any ): - # type: (...) -> "models.Model" + # type: (...) -> "_models.Model" """Get Custom Model. Get detailed information about a custom model. @@ -111,10 +111,10 @@ def get_custom_model( :type include_keys: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: Model, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Model + :rtype: ~azure.ai.formrecognizer.v2_0.models.Model :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Model"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Model"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -144,7 +144,7 @@ def get_custom_model( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('Model', pipeline_response) @@ -201,7 +201,7 @@ def delete_custom_model( if response.status_code not in [204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) if cls: @@ -213,7 +213,7 @@ def _analyze_with_custom_model_initial( self, model_id, # type: str include_text_details=False, # type: Optional[bool] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> None @@ -263,7 +263,7 @@ def _analyze_with_custom_model_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -278,7 +278,7 @@ def begin_analyze_with_custom_model( self, model_id, # type: str include_text_details=False, # type: Optional[bool] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> LROPoller[None] @@ -294,13 +294,13 @@ def begin_analyze_with_custom_model( :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -355,7 +355,7 @@ def get_analyze_form_result( result_id, # type: str **kwargs # type: Any ): - # type: (...) -> "models.AnalyzeOperationResult" + # type: (...) -> "_models.AnalyzeOperationResult" """Get Analyze Form Result. Obtain current status and the result of the analyze form operation. @@ -366,10 +366,10 @@ def get_analyze_form_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -398,7 +398,7 @@ def get_analyze_form_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -412,7 +412,7 @@ def get_analyze_form_result( def _copy_custom_model_initial( self, model_id, # type: str - copy_request, # type: "models.CopyRequest" + copy_request, # type: "_models.CopyRequest" **kwargs # type: Any ): # type: (...) -> None @@ -449,7 +449,7 @@ def _copy_custom_model_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -463,7 +463,7 @@ def _copy_custom_model_initial( def begin_copy_custom_model( self, model_id, # type: str - copy_request, # type: "models.CopyRequest" + copy_request, # type: "_models.CopyRequest" **kwargs # type: Any ): # type: (...) -> LROPoller[None] @@ -475,11 +475,11 @@ def begin_copy_custom_model( :param model_id: Model identifier. :type model_id: str :param copy_request: Copy request parameters. - :type copy_request: ~azure.ai.formrecognizer.models.CopyRequest + :type copy_request: ~azure.ai.formrecognizer.v2_0.models.CopyRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -533,7 +533,7 @@ def get_custom_model_copy_result( result_id, # type: str **kwargs # type: Any ): - # type: (...) -> "models.CopyOperationResult" + # type: (...) -> "_models.CopyOperationResult" """Get Custom Model Copy Result. Obtain current status and the result of a custom model copy operation. @@ -544,10 +544,10 @@ def get_custom_model_copy_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyOperationResult + :rtype: ~azure.ai.formrecognizer.v2_0.models.CopyOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.CopyOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CopyOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -576,7 +576,7 @@ def get_custom_model_copy_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('CopyOperationResult', pipeline_response) @@ -591,17 +591,17 @@ def generate_model_copy_authorization( self, **kwargs # type: Any ): - # type: (...) -> "models.CopyAuthorizationResult" + # type: (...) -> "_models.CopyAuthorizationResult" """Generate Copy Authorization. Generate authorization to copy a model into the target Form Recognizer resource. :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyAuthorizationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyAuthorizationResult + :rtype: ~azure.ai.formrecognizer.v2_0.models.CopyAuthorizationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.CopyAuthorizationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CopyAuthorizationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -628,7 +628,7 @@ def generate_model_copy_authorization( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -644,7 +644,7 @@ def generate_model_copy_authorization( def _analyze_receipt_async_initial( self, include_text_details=False, # type: Optional[bool] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> None @@ -693,7 +693,7 @@ def _analyze_receipt_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -707,7 +707,7 @@ def _analyze_receipt_async_initial( def begin_analyze_receipt_async( self, include_text_details=False, # type: Optional[bool] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> LROPoller[None] @@ -721,13 +721,13 @@ def begin_analyze_receipt_async( :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -779,7 +779,7 @@ def get_analyze_receipt_result( result_id, # type: str **kwargs # type: Any ): - # type: (...) -> "models.AnalyzeOperationResult" + # type: (...) -> "_models.AnalyzeOperationResult" """Get Analyze Receipt Result. Track the progress and obtain the result of the analyze receipt operation. @@ -788,10 +788,10 @@ def get_analyze_receipt_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -819,7 +819,7 @@ def get_analyze_receipt_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -832,7 +832,7 @@ def get_analyze_receipt_result( def _analyze_layout_async_initial( self, - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> None @@ -879,7 +879,7 @@ def _analyze_layout_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -892,7 +892,7 @@ def _analyze_layout_async_initial( def begin_analyze_layout_async( self, - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> LROPoller[None] @@ -904,13 +904,13 @@ def begin_analyze_layout_async( document to be analyzed. :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type file_stream: IO or ~azure.ai.formrecognizer.v2_0.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -961,7 +961,7 @@ def get_analyze_layout_result( result_id, # type: str **kwargs # type: Any ): - # type: (...) -> "models.AnalyzeOperationResult" + # type: (...) -> "_models.AnalyzeOperationResult" """Get Analyze Layout Result. Track the progress and obtain the result of the analyze layout operation. @@ -970,10 +970,10 @@ def get_analyze_layout_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_0.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1001,7 +1001,7 @@ def get_analyze_layout_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -1016,17 +1016,17 @@ def list_custom_models( self, **kwargs # type: Any ): - # type: (...) -> Iterable["models.Models"] + # type: (...) -> Iterable["_models.Models"] """List Custom Models. Get information about all custom models. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Models or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.ai.formrecognizer.models.Models] + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.formrecognizer.v2_0.models.Models] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Models"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Models"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1075,7 +1075,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error) @@ -1090,17 +1090,17 @@ def get_custom_models( self, **kwargs # type: Any ): - # type: (...) -> "models.Models" + # type: (...) -> "_models.Models" """Get Custom Models. Get information about all custom models. :keyword callable cls: A custom type or function that will be passed the direct response :return: Models, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Models + :rtype: ~azure.ai.formrecognizer.v2_0.models.Models :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Models"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Models"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1129,7 +1129,7 @@ def get_custom_models( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('Models', pipeline_response) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/_metadata.json b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/_metadata.json deleted file mode 100644 index 1964849ef24c..000000000000 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/_metadata.json +++ /dev/null @@ -1,384 +0,0 @@ -{ - "chosen_version": "2.1-preview.2", - "total_api_version_list": ["2.1-preview.2"], - "client": { - "name": "FormRecognizerClient", - "filename": "_form_recognizer_client", - "description": "Extracts information from forms and images into structured data.", - "base_url": null, - "custom_base_url": "\u0027{endpoint}/formrecognizer/v2.1-preview.2\u0027", - "azure_arm": false, - "has_lro_operations": true, - "client_side_validation": false - }, - "global_parameters": { - "sync": { - "credential": { - "signature": "credential, # type: \"TokenCredential\"", - "description": "Credential needed for the client to connect to Azure.", - "docstring_type": "~azure.core.credentials.TokenCredential", - "required": true - }, - "endpoint": { - "signature": "endpoint, # type: str", - "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus2.api.cognitive.microsoft.com).", - "docstring_type": "str", - "required": true - } - }, - "async": { - "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", - "description": "Credential needed for the client to connect to Azure.", - "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", - "required": true - }, - "endpoint": { - "signature": "endpoint, # type: str", - "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus2.api.cognitive.microsoft.com).", - "docstring_type": "str", - "required": true - } - }, - "constant": { - }, - "call": "credential, endpoint" - }, - "config": { - "credential": true, - "credential_scopes": ["https://cognitiveservices.azure.com/.default"], - "credential_default_policy_type": "BearerTokenCredentialPolicy", - "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null - }, - "operation_groups": { - }, - "operation_mixins": { - "_train_custom_model_async_initial" : { - "sync": { - "signature": "def _train_custom_model_async_initial(\n self,\n train_request, # type: \"models.TrainRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _train_custom_model_async_initial(\n self,\n train_request: \"models.TrainRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "train_request" - }, - "begin_train_custom_model_async" : { - "sync": { - "signature": "def begin_train_custom_model_async(\n self,\n train_request, # type: \"models.TrainRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Train Custom Model.\n\nCreate and train a custom model. The request must include a source parameter that is either an\nexternally accessible Azure storage blob container Uri (preferably a Shared Access Signature\nUri) or valid path to a data folder in a locally mounted drive. When local paths are specified,\nthey must follow the Linux/Unix path format and be an absolute path rooted to the input mount\nconfiguration setting value e.g., if \u0027{Mounts:Input}\u0027 configuration setting value is \u0027/input\u0027\nthen a valid source path would be \u0027/input/contosodataset\u0027. All data to be trained is expected\nto be under the source folder or sub folders under it. Models are trained using documents that\nare of the following content type - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027.\nOther type of content is ignored.\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_train_custom_model_async(\n self,\n train_request: \"models.TrainRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Train Custom Model.\n\nCreate and train a custom model. The request must include a source parameter that is either an\nexternally accessible Azure storage blob container Uri (preferably a Shared Access Signature\nUri) or valid path to a data folder in a locally mounted drive. When local paths are specified,\nthey must follow the Linux/Unix path format and be an absolute path rooted to the input mount\nconfiguration setting value e.g., if \u0027{Mounts:Input}\u0027 configuration setting value is \u0027/input\u0027\nthen a valid source path would be \u0027/input/contosodataset\u0027. All data to be trained is expected\nto be under the source folder or sub folders under it. Models are trained using documents that\nare of the following content type - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027.\nOther type of content is ignored.\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "train_request" - }, - "get_custom_model" : { - "sync": { - "signature": "def get_custom_model(\n self,\n model_id, # type: str\n include_keys=False, # type: Optional[bool]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Custom Model.\n\nGet detailed information about a custom model.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_keys: Include list of extracted keys in model information.\n:type include_keys: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Model, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.Model\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_custom_model(\n self,\n model_id: str,\n include_keys: Optional[bool] = False,\n **kwargs\n) -\u003e \"models.Model\":\n", - "doc": "\"\"\"Get Custom Model.\n\nGet detailed information about a custom model.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_keys: Include list of extracted keys in model information.\n:type include_keys: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Model, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.Model\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id, include_keys" - }, - "delete_custom_model" : { - "sync": { - "signature": "def delete_custom_model(\n self,\n model_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Delete Custom Model.\n\nMark model for deletion. Model artifacts will be permanently removed within a predetermined\nperiod.\n\n:param model_id: Model identifier.\n:type model_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def delete_custom_model(\n self,\n model_id: str,\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"Delete Custom Model.\n\nMark model for deletion. Model artifacts will be permanently removed within a predetermined\nperiod.\n\n:param model_id: Model identifier.\n:type model_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id" - }, - "_analyze_with_custom_model_initial" : { - "sync": { - "signature": "def _analyze_with_custom_model_initial(\n self,\n model_id, # type: str\n include_text_details=False, # type: Optional[bool]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _analyze_with_custom_model_initial(\n self,\n model_id: str,\n include_text_details: Optional[bool] = False,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id, include_text_details, file_stream" - }, - "begin_analyze_with_custom_model" : { - "sync": { - "signature": "def begin_analyze_with_custom_model(\n self,\n model_id, # type: str\n include_text_details=False, # type: Optional[bool]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Analyze Form.\n\nExtract key-value pairs, tables, and semantic values from a given document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_analyze_with_custom_model(\n self,\n model_id: str,\n include_text_details: Optional[bool] = False,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Analyze Form.\n\nExtract key-value pairs, tables, and semantic values from a given document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "model_id, include_text_details, file_stream" - }, - "get_analyze_form_result" : { - "sync": { - "signature": "def get_analyze_form_result(\n self,\n model_id, # type: str\n result_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Analyze Form Result.\n\nObtain current status and the result of the analyze form operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_analyze_form_result(\n self,\n model_id: str,\n result_id: str,\n **kwargs\n) -\u003e \"models.AnalyzeOperationResult\":\n", - "doc": "\"\"\"Get Analyze Form Result.\n\nObtain current status and the result of the analyze form operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id, result_id" - }, - "_copy_custom_model_initial" : { - "sync": { - "signature": "def _copy_custom_model_initial(\n self,\n model_id, # type: str\n copy_request, # type: \"models.CopyRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _copy_custom_model_initial(\n self,\n model_id: str,\n copy_request: \"models.CopyRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id, copy_request" - }, - "begin_copy_custom_model" : { - "sync": { - "signature": "def begin_copy_custom_model(\n self,\n model_id, # type: str\n copy_request, # type: \"models.CopyRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Copy Custom Model.\n\nCopy custom model stored in this resource (the source) to user specified target Form Recognizer\nresource.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_copy_custom_model(\n self,\n model_id: str,\n copy_request: \"models.CopyRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Copy Custom Model.\n\nCopy custom model stored in this resource (the source) to user specified target Form Recognizer\nresource.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "model_id, copy_request" - }, - "get_custom_model_copy_result" : { - "sync": { - "signature": "def get_custom_model_copy_result(\n self,\n model_id, # type: str\n result_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Custom Model Copy Result.\n\nObtain current status and the result of a custom model copy operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Copy operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.CopyOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_custom_model_copy_result(\n self,\n model_id: str,\n result_id: str,\n **kwargs\n) -\u003e \"models.CopyOperationResult\":\n", - "doc": "\"\"\"Get Custom Model Copy Result.\n\nObtain current status and the result of a custom model copy operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Copy operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.CopyOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "model_id, result_id" - }, - "generate_model_copy_authorization" : { - "sync": { - "signature": "def generate_model_copy_authorization(\n self,\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generate Copy Authorization.\n\nGenerate authorization to copy a model into the target Form Recognizer resource.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyAuthorizationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.CopyAuthorizationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def generate_model_copy_authorization(\n self,\n **kwargs\n) -\u003e \"models.CopyAuthorizationResult\":\n", - "doc": "\"\"\"Generate Copy Authorization.\n\nGenerate authorization to copy a model into the target Form Recognizer resource.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyAuthorizationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.CopyAuthorizationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "" - }, - "_compose_custom_models_async_initial" : { - "sync": { - "signature": "def _compose_custom_models_async_initial(\n self,\n compose_request, # type: \"models.ComposeRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param compose_request: Compose models.\n:type compose_request: ~azure.ai.formrecognizer.models.ComposeRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _compose_custom_models_async_initial(\n self,\n compose_request: \"models.ComposeRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param compose_request: Compose models.\n:type compose_request: ~azure.ai.formrecognizer.models.ComposeRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "compose_request" - }, - "begin_compose_custom_models_async" : { - "sync": { - "signature": "def begin_compose_custom_models_async(\n self,\n compose_request, # type: \"models.ComposeRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Compose trained with labels models into one composed model.\n\nCompose request would include list of models ids.\nIt would validate what all models either trained with labels model or composed model.\nIt would validate limit of models put together.\n\n:param compose_request: Compose models.\n:type compose_request: ~azure.ai.formrecognizer.models.ComposeRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_compose_custom_models_async(\n self,\n compose_request: \"models.ComposeRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Compose trained with labels models into one composed model.\n\nCompose request would include list of models ids.\nIt would validate what all models either trained with labels model or composed model.\nIt would validate limit of models put together.\n\n:param compose_request: Compose models.\n:type compose_request: ~azure.ai.formrecognizer.models.ComposeRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "compose_request" - }, - "_analyze_business_card_async_initial" : { - "sync": { - "signature": "def _analyze_business_card_async_initial(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"models.Locale\"]]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _analyze_business_card_async_initial(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"models.Locale\"]] = None,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "include_text_details, locale, file_stream" - }, - "begin_analyze_business_card_async" : { - "sync": { - "signature": "def begin_analyze_business_card_async(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"models.Locale\"]]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Analyze Business Card.\n\nExtract field text and semantic values from a given business card document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri) of the\ndocument to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_analyze_business_card_async(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"models.Locale\"]] = None,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Analyze Business Card.\n\nExtract field text and semantic values from a given business card document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri) of the\ndocument to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "include_text_details, locale, file_stream" - }, - "get_analyze_business_card_result" : { - "sync": { - "signature": "def get_analyze_business_card_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Analyze Business Card Result.\n\nTrack the progress and obtain the result of the analyze business card operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_analyze_business_card_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"models.AnalyzeOperationResult\":\n", - "doc": "\"\"\"Get Analyze Business Card Result.\n\nTrack the progress and obtain the result of the analyze business card operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "result_id" - }, - "_analyze_invoice_async_initial" : { - "sync": { - "signature": "def _analyze_invoice_async_initial(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"models.Locale\"]]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _analyze_invoice_async_initial(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"models.Locale\"]] = None,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "include_text_details, locale, file_stream" - }, - "begin_analyze_invoice_async" : { - "sync": { - "signature": "def begin_analyze_invoice_async(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"models.Locale\"]]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Analyze Invoice Document.\n\nExtract field text and semantic values from a given invoice document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri) of the\ndocument to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_analyze_invoice_async(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"models.Locale\"]] = None,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Analyze Invoice Document.\n\nExtract field text and semantic values from a given invoice document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri) of the\ndocument to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "include_text_details, locale, file_stream" - }, - "get_analyze_invoice_result" : { - "sync": { - "signature": "def get_analyze_invoice_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Analyze Invoice Result.\n\nTrack the progress and obtain the result of the analyze invoice operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_analyze_invoice_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"models.AnalyzeOperationResult\":\n", - "doc": "\"\"\"Get Analyze Invoice Result.\n\nTrack the progress and obtain the result of the analyze invoice operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "result_id" - }, - "_analyze_receipt_async_initial" : { - "sync": { - "signature": "def _analyze_receipt_async_initial(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"models.Locale\"]]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _analyze_receipt_async_initial(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"models.Locale\"]] = None,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "include_text_details, locale, file_stream" - }, - "begin_analyze_receipt_async" : { - "sync": { - "signature": "def begin_analyze_receipt_async(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"models.Locale\"]]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Analyze Receipt.\n\nExtract field text and semantic values from a given receipt document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri) of the\ndocument to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_analyze_receipt_async(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"models.Locale\"]] = None,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Analyze Receipt.\n\nExtract field text and semantic values from a given receipt document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027 or\n\u0027image/tiff\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri) of the\ndocument to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.models.Locale\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "include_text_details, locale, file_stream" - }, - "get_analyze_receipt_result" : { - "sync": { - "signature": "def get_analyze_receipt_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Analyze Receipt Result.\n\nTrack the progress and obtain the result of the analyze receipt operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_analyze_receipt_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"models.AnalyzeOperationResult\":\n", - "doc": "\"\"\"Get Analyze Receipt Result.\n\nTrack the progress and obtain the result of the analyze receipt operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "result_id" - }, - "_analyze_layout_async_initial" : { - "sync": { - "signature": "def _analyze_layout_async_initial(\n self,\n language=None, # type: Optional[Union[str, \"models.Language\"]]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param language: The BCP-47 language code of the text in the document. Currently, only English\n (\u0027en\u0027), Dutch (\u2018nl\u2019), French (\u2018fr\u2019), German (\u2018de\u2019), Italian (\u2018it\u2019), Portuguese (\u2018pt\u0027),\n simplified Chinese (\u0027zh-Hans\u0027) and Spanish (\u0027es\u0027) are supported (print \u2013 nine languages and\n handwritten \u2013 English only). Layout supports auto language identification and multi language\n documents, so only provide a language code if you would like to force the documented to be\n processed as that specific language.\n:type language: str or ~azure.ai.formrecognizer.models.Language\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma or space.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _analyze_layout_async_initial(\n self,\n language: Optional[Union[str, \"models.Language\"]] = None,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param language: The BCP-47 language code of the text in the document. Currently, only English\n (\u0027en\u0027), Dutch (\u2018nl\u2019), French (\u2018fr\u2019), German (\u2018de\u2019), Italian (\u2018it\u2019), Portuguese (\u2018pt\u0027),\n simplified Chinese (\u0027zh-Hans\u0027) and Spanish (\u0027es\u0027) are supported (print \u2013 nine languages and\n handwritten \u2013 English only). Layout supports auto language identification and multi language\n documents, so only provide a language code if you would like to force the documented to be\n processed as that specific language.\n:type language: str or ~azure.ai.formrecognizer.models.Language\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma or space.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "language, pages, file_stream" - }, - "begin_analyze_layout_async" : { - "sync": { - "signature": "def begin_analyze_layout_async(\n self,\n language=None, # type: Optional[Union[str, \"models.Language\"]]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"models.SourcePath\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Analyze Layout.\n\nExtract text and layout information from a given document. The input document must be of one of\nthe supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027 or\n\u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param language: The BCP-47 language code of the text in the document. Currently, only English\n (\u0027en\u0027), Dutch (\u2018nl\u2019), French (\u2018fr\u2019), German (\u2018de\u2019), Italian (\u2018it\u2019), Portuguese (\u2018pt\u0027),\n simplified Chinese (\u0027zh-Hans\u0027) and Spanish (\u0027es\u0027) are supported (print \u2013 nine languages and\n handwritten \u2013 English only). Layout supports auto language identification and multi language\n documents, so only provide a language code if you would like to force the documented to be\n processed as that specific language.\n:type language: str or ~azure.ai.formrecognizer.models.Language\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma or space.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_analyze_layout_async(\n self,\n language: Optional[Union[str, \"models.Language\"]] = None,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Analyze Layout.\n\nExtract text and layout information from a given document. The input document must be of one of\nthe supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027 or\n\u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param language: The BCP-47 language code of the text in the document. Currently, only English\n (\u0027en\u0027), Dutch (\u2018nl\u2019), French (\u2018fr\u2019), German (\u2018de\u2019), Italian (\u2018it\u2019), Portuguese (\u2018pt\u0027),\n simplified Chinese (\u0027zh-Hans\u0027) and Spanish (\u0027es\u0027) are supported (print \u2013 nine languages and\n handwritten \u2013 English only). Layout supports auto language identification and multi language\n documents, so only provide a language code if you would like to force the documented to be\n processed as that specific language.\n:type language: str or ~azure.ai.formrecognizer.models.Language\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma or space.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "language, pages, file_stream" - }, - "get_analyze_layout_result" : { - "sync": { - "signature": "def get_analyze_layout_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Analyze Layout Result.\n\nTrack the progress and obtain the result of the analyze layout operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_analyze_layout_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"models.AnalyzeOperationResult\":\n", - "doc": "\"\"\"Get Analyze Layout Result.\n\nTrack the progress and obtain the result of the analyze layout operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "result_id" - }, - "list_custom_models" : { - "sync": { - "signature": "def list_custom_models(\n self,\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"List Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either Models or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.ai.formrecognizer.models.Models]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def list_custom_models(\n self,\n **kwargs\n) -\u003e AsyncItemPaged[\"models.Models\"]:\n", - "doc": "\"\"\"List Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either Models or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.formrecognizer.models.Models]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "" - }, - "get_custom_models" : { - "sync": { - "signature": "def get_custom_models(\n self,\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Models, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.Models\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def get_custom_models(\n self,\n **kwargs\n) -\u003e \"models.Models\":\n", - "doc": "\"\"\"Get Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Models, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.models.Models\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "" - } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.core.polling.base_polling\": [\"LROBasePolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"IO\", \"Iterable\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.core.polling.async_base_polling\": [\"AsyncLROBasePolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"IO\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}" -} \ No newline at end of file diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/__init__.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/__init__.py similarity index 100% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/__init__.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/__init__.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/_configuration.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/_configuration.py similarity index 100% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/_configuration.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/_configuration.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/_form_recognizer_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/_form_recognizer_client.py similarity index 97% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/_form_recognizer_client.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/_form_recognizer_client.py index 8e3aacadea7d..2af20c09936c 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/_form_recognizer_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/_form_recognizer_client.py @@ -39,7 +39,7 @@ def __init__( **kwargs # type: Any ): # type: (...) -> None - base_url = '{endpoint}/formrecognizer/v2.1-preview.2' + base_url = '{endpoint}/formrecognizer/v2.1-preview.3' self._config = FormRecognizerClientConfiguration(credential, endpoint, **kwargs) self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/_metadata.json b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/_metadata.json new file mode 100644 index 000000000000..9b48ee04ef6d --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/_metadata.json @@ -0,0 +1,456 @@ +{ + "chosen_version": "2.1-preview.3", + "total_api_version_list": ["2.1-preview.3"], + "client": { + "name": "FormRecognizerClient", + "filename": "_form_recognizer_client", + "description": "Extracts information from forms and images into structured data.", + "base_url": null, + "custom_base_url": "\u0027{endpoint}/formrecognizer/v2.1-preview.3\u0027", + "azure_arm": false, + "has_lro_operations": true, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.core\": [\"PipelineClient\"]}, \"local\": {\"._configuration\": [\"FormRecognizerClientConfiguration\"], \"._operations_mixin\": [\"FormRecognizerClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.core\": [\"AsyncPipelineClient\"]}, \"local\": {\"._configuration\": [\"FormRecognizerClientConfiguration\"], \"._operations_mixin\": [\"FormRecognizerClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "endpoint": { + "signature": "endpoint, # type: str", + "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus2.api.cognitive.microsoft.com).", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "endpoint": { + "signature": "endpoint: str,", + "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus2.api.cognitive.microsoft.com).", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, endpoint", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } + }, + "config": { + "credential": true, + "credential_scopes": ["https://cognitiveservices.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" + }, + "operation_groups": { + }, + "operation_mixins": { + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.core.polling.base_polling\": [\"LROBasePolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"IO\", \"Iterable\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.core.polling.async_base_polling\": [\"AsyncLROBasePolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"IO\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_train_custom_model_async_initial" : { + "sync": { + "signature": "def _train_custom_model_async_initial(\n self,\n train_request, # type: \"_models.TrainRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _train_custom_model_async_initial(\n self,\n train_request: \"_models.TrainRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "train_request" + }, + "begin_train_custom_model_async" : { + "sync": { + "signature": "def begin_train_custom_model_async(\n self,\n train_request, # type: \"_models.TrainRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Train Custom Model.\n\nCreate and train a custom model. The request must include a source parameter that is either an\nexternally accessible Azure storage blob container Uri (preferably a Shared Access Signature\nUri) or valid path to a data folder in a locally mounted drive. When local paths are specified,\nthey must follow the Linux/Unix path format and be an absolute path rooted to the input mount\nconfiguration setting value e.g., if \u0027{Mounts:Input}\u0027 configuration setting value is \u0027/input\u0027\nthen a valid source path would be \u0027/input/contosodataset\u0027. All data to be trained is expected\nto be under the source folder or sub folders under it. Models are trained using documents that\nare of the following content type - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027\nor \u0027image/bmp\u0027. Other type of content is ignored.\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_train_custom_model_async(\n self,\n train_request: \"_models.TrainRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Train Custom Model.\n\nCreate and train a custom model. The request must include a source parameter that is either an\nexternally accessible Azure storage blob container Uri (preferably a Shared Access Signature\nUri) or valid path to a data folder in a locally mounted drive. When local paths are specified,\nthey must follow the Linux/Unix path format and be an absolute path rooted to the input mount\nconfiguration setting value e.g., if \u0027{Mounts:Input}\u0027 configuration setting value is \u0027/input\u0027\nthen a valid source path would be \u0027/input/contosodataset\u0027. All data to be trained is expected\nto be under the source folder or sub folders under it. Models are trained using documents that\nare of the following content type - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027\nor \u0027image/bmp\u0027. Other type of content is ignored.\n\n:param train_request: Training request parameters.\n:type train_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "train_request" + }, + "get_custom_model" : { + "sync": { + "signature": "def get_custom_model(\n self,\n model_id, # type: str\n include_keys=False, # type: Optional[bool]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Custom Model.\n\nGet detailed information about a custom model.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_keys: Include list of extracted keys in model information.\n:type include_keys: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Model, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Model\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_custom_model(\n self,\n model_id: str,\n include_keys: Optional[bool] = False,\n **kwargs\n) -\u003e \"_models.Model\":\n", + "doc": "\"\"\"Get Custom Model.\n\nGet detailed information about a custom model.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_keys: Include list of extracted keys in model information.\n:type include_keys: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Model, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Model\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id, include_keys" + }, + "delete_custom_model" : { + "sync": { + "signature": "def delete_custom_model(\n self,\n model_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Delete Custom Model.\n\nMark model for deletion. Model artifacts will be permanently removed within a predetermined\nperiod.\n\n:param model_id: Model identifier.\n:type model_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def delete_custom_model(\n self,\n model_id: str,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"Delete Custom Model.\n\nMark model for deletion. Model artifacts will be permanently removed within a predetermined\nperiod.\n\n:param model_id: Model identifier.\n:type model_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id" + }, + "_analyze_with_custom_model_initial" : { + "sync": { + "signature": "def _analyze_with_custom_model_initial(\n self,\n model_id, # type: str\n include_text_details=False, # type: Optional[bool]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _analyze_with_custom_model_initial(\n self,\n model_id: str,\n include_text_details: Optional[bool] = False,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id, include_text_details, pages, file_stream" + }, + "begin_analyze_with_custom_model" : { + "sync": { + "signature": "def begin_analyze_with_custom_model(\n self,\n model_id, # type: str\n include_text_details=False, # type: Optional[bool]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Analyze Form.\n\nExtract key-value pairs, tables, and semantic values from a given document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027,\n\u0027image/tiff\u0027 or \u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location\n(Uri or local path) of the document to be analyzed.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_analyze_with_custom_model(\n self,\n model_id: str,\n include_text_details: Optional[bool] = False,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Analyze Form.\n\nExtract key-value pairs, tables, and semantic values from a given document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027,\n\u0027image/tiff\u0027 or \u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location\n(Uri or local path) of the document to be analyzed.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "model_id, include_text_details, pages, file_stream" + }, + "get_analyze_form_result" : { + "sync": { + "signature": "def get_analyze_form_result(\n self,\n model_id, # type: str\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Analyze Form Result.\n\nObtain current status and the result of the analyze form operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_analyze_form_result(\n self,\n model_id: str,\n result_id: str,\n **kwargs\n) -\u003e \"_models.AnalyzeOperationResult\":\n", + "doc": "\"\"\"Get Analyze Form Result.\n\nObtain current status and the result of the analyze form operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id, result_id" + }, + "_copy_custom_model_initial" : { + "sync": { + "signature": "def _copy_custom_model_initial(\n self,\n model_id, # type: str\n copy_request, # type: \"_models.CopyRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _copy_custom_model_initial(\n self,\n model_id: str,\n copy_request: \"_models.CopyRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id, copy_request" + }, + "begin_copy_custom_model" : { + "sync": { + "signature": "def begin_copy_custom_model(\n self,\n model_id, # type: str\n copy_request, # type: \"_models.CopyRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Copy Custom Model.\n\nCopy custom model stored in this resource (the source) to user specified target Form Recognizer\nresource.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_copy_custom_model(\n self,\n model_id: str,\n copy_request: \"_models.CopyRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Copy Custom Model.\n\nCopy custom model stored in this resource (the source) to user specified target Form Recognizer\nresource.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param copy_request: Copy request parameters.\n:type copy_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "model_id, copy_request" + }, + "get_custom_model_copy_result" : { + "sync": { + "signature": "def get_custom_model_copy_result(\n self,\n model_id, # type: str\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Custom Model Copy Result.\n\nObtain current status and the result of a custom model copy operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Copy operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_custom_model_copy_result(\n self,\n model_id: str,\n result_id: str,\n **kwargs\n) -\u003e \"_models.CopyOperationResult\":\n", + "doc": "\"\"\"Get Custom Model Copy Result.\n\nObtain current status and the result of a custom model copy operation.\n\n:param model_id: Model identifier.\n:type model_id: str\n:param result_id: Copy operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "model_id, result_id" + }, + "generate_model_copy_authorization" : { + "sync": { + "signature": "def generate_model_copy_authorization(\n self,\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generate Copy Authorization.\n\nGenerate authorization to copy a model into the target Form Recognizer resource.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyAuthorizationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyAuthorizationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def generate_model_copy_authorization(\n self,\n **kwargs\n) -\u003e \"_models.CopyAuthorizationResult\":\n", + "doc": "\"\"\"Generate Copy Authorization.\n\nGenerate authorization to copy a model into the target Form Recognizer resource.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: CopyAuthorizationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyAuthorizationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "" + }, + "_compose_custom_models_async_initial" : { + "sync": { + "signature": "def _compose_custom_models_async_initial(\n self,\n compose_request, # type: \"_models.ComposeRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param compose_request: Compose models.\n:type compose_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.ComposeRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _compose_custom_models_async_initial(\n self,\n compose_request: \"_models.ComposeRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param compose_request: Compose models.\n:type compose_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.ComposeRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "compose_request" + }, + "begin_compose_custom_models_async" : { + "sync": { + "signature": "def begin_compose_custom_models_async(\n self,\n compose_request, # type: \"_models.ComposeRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Compose trained with labels models into one composed model.\n\nCompose request would include list of models ids.\nIt would validate what all models either trained with labels model or composed model.\nIt would validate limit of models put together.\n\n:param compose_request: Compose models.\n:type compose_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.ComposeRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_compose_custom_models_async(\n self,\n compose_request: \"_models.ComposeRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Compose trained with labels models into one composed model.\n\nCompose request would include list of models ids.\nIt would validate what all models either trained with labels model or composed model.\nIt would validate limit of models put together.\n\n:param compose_request: Compose models.\n:type compose_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.ComposeRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "compose_request" + }, + "_analyze_business_card_async_initial" : { + "sync": { + "signature": "def _analyze_business_card_async_initial(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"_models.Locale\"]]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _analyze_business_card_async_initial(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"_models.Locale\"]] = None,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "include_text_details, locale, pages, file_stream" + }, + "begin_analyze_business_card_async" : { + "sync": { + "signature": "def begin_analyze_business_card_async(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"_models.Locale\"]]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Analyze Business Card.\n\nExtract field text and semantic values from a given business card document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027,\n\u0027image/tiff\u0027 or \u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location\n(Uri) of the document to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_analyze_business_card_async(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"_models.Locale\"]] = None,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Analyze Business Card.\n\nExtract field text and semantic values from a given business card document. The input document\nmust be of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027,\n\u0027image/tiff\u0027 or \u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location\n(Uri) of the document to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "include_text_details, locale, pages, file_stream" + }, + "get_analyze_business_card_result" : { + "sync": { + "signature": "def get_analyze_business_card_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Analyze Business Card Result.\n\nTrack the progress and obtain the result of the analyze business card operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_analyze_business_card_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"_models.AnalyzeOperationResult\":\n", + "doc": "\"\"\"Get Analyze Business Card Result.\n\nTrack the progress and obtain the result of the analyze business card operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "result_id" + }, + "_analyze_invoice_async_initial" : { + "sync": { + "signature": "def _analyze_invoice_async_initial(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"_models.Locale\"]]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _analyze_invoice_async_initial(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"_models.Locale\"]] = None,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "include_text_details, locale, pages, file_stream" + }, + "begin_analyze_invoice_async" : { + "sync": { + "signature": "def begin_analyze_invoice_async(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"_models.Locale\"]]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Analyze Invoice Document.\n\nExtract field text and semantic values from a given invoice document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027,\n\u0027image/tiff\u0027 or \u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location\n(Uri) of the document to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_analyze_invoice_async(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"_models.Locale\"]] = None,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Analyze Invoice Document.\n\nExtract field text and semantic values from a given invoice document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027,\n\u0027image/tiff\u0027 or \u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location\n(Uri) of the document to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "include_text_details, locale, pages, file_stream" + }, + "get_analyze_invoice_result" : { + "sync": { + "signature": "def get_analyze_invoice_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Analyze Invoice Result.\n\nTrack the progress and obtain the result of the analyze invoice operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_analyze_invoice_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"_models.AnalyzeOperationResult\":\n", + "doc": "\"\"\"Get Analyze Invoice Result.\n\nTrack the progress and obtain the result of the analyze invoice operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "result_id" + }, + "_analyze_id_document_async_initial" : { + "sync": { + "signature": "def _analyze_id_document_async_initial(\n self,\n include_text_details=False, # type: Optional[bool]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _analyze_id_document_async_initial(\n self,\n include_text_details: Optional[bool] = False,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "include_text_details, pages, file_stream" + }, + "begin_analyze_id_document_async" : { + "sync": { + "signature": "def begin_analyze_id_document_async(\n self,\n include_text_details=False, # type: Optional[bool]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Analyze ID Document.\n\nExtract field text and semantic values from a given ID document. The input document must be of\none of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027\nor \u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri) of the\ndocument to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_analyze_id_document_async(\n self,\n include_text_details: Optional[bool] = False,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Analyze ID Document.\n\nExtract field text and semantic values from a given ID document. The input document must be of\none of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027\nor \u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri) of the\ndocument to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "include_text_details, pages, file_stream" + }, + "get_analyze_id_document_result" : { + "sync": { + "signature": "def get_analyze_id_document_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Analyze ID Document Result.\n\nTrack the progress and obtain the result of the analyze ID operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_analyze_id_document_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"_models.AnalyzeOperationResult\":\n", + "doc": "\"\"\"Get Analyze ID Document Result.\n\nTrack the progress and obtain the result of the analyze ID operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "result_id" + }, + "_analyze_receipt_async_initial" : { + "sync": { + "signature": "def _analyze_receipt_async_initial(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"_models.Locale\"]]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _analyze_receipt_async_initial(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"_models.Locale\"]] = None,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "include_text_details, locale, pages, file_stream" + }, + "begin_analyze_receipt_async" : { + "sync": { + "signature": "def begin_analyze_receipt_async(\n self,\n include_text_details=False, # type: Optional[bool]\n locale=None, # type: Optional[Union[str, \"_models.Locale\"]]\n pages=None, # type: Optional[List[str]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Analyze Receipt.\n\nExtract field text and semantic values from a given receipt document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027,\n\u0027image/tiff\u0027 or \u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location\n(Uri) of the document to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_analyze_receipt_async(\n self,\n include_text_details: Optional[bool] = False,\n locale: Optional[Union[str, \"_models.Locale\"]] = None,\n pages: Optional[List[str]] = None,\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Analyze Receipt.\n\nExtract field text and semantic values from a given receipt document. The input document must\nbe of one of the supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027,\n\u0027image/tiff\u0027 or \u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location\n(Uri) of the document to be analyzed.\n\n:param include_text_details: Include text lines and element references in the result.\n:type include_text_details: bool\n:param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB,\n en-IN, en-US(default).\n:type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "include_text_details, locale, pages, file_stream" + }, + "get_analyze_receipt_result" : { + "sync": { + "signature": "def get_analyze_receipt_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Analyze Receipt Result.\n\nTrack the progress and obtain the result of the analyze receipt operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_analyze_receipt_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"_models.AnalyzeOperationResult\":\n", + "doc": "\"\"\"Get Analyze Receipt Result.\n\nTrack the progress and obtain the result of the analyze receipt operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "result_id" + }, + "_analyze_layout_async_initial" : { + "sync": { + "signature": "def _analyze_layout_async_initial(\n self,\n pages=None, # type: Optional[List[str]]\n language=None, # type: Optional[Union[str, \"_models.Language\"]]\n reading_order=\"basic\", # type: Optional[Union[str, \"_models.ReadingOrder\"]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param language: Currently, only Afrikaans (\u2018af\u2019), Albanian (\u2018sq\u2019), Asturian (\u2018ast\u2019), Basque\n (\u2018eu\u2019), Bislama (\u2018bi\u2019), Breton (\u2018br\u2019), Catalan (\u2018ca\u2019), Cebuano (\u2018ceb\u2019), Chamorro (\u2018ch\u2019),\n Cornish (\u2018kw\u2019), Corsican (\u2018co\u2019), Crimean Tatar - Latin script(\u2018crh\u2019), Czech (\u2018cs\u2019), Danish\n (\u2018da\u2019), Dutch (\u2018nl\u2019), English (\u0027en\u0027), Estonian (\u2018et\u2019), Fijian (\u2018fj\u2019), Filipino (\u2018fil\u2019), Finnish\n (\u2018fi\u2019), French (\u2018fr\u2019), Friulian (\u2018fur\u2019), Galician (\u2018gl\u2019), German (\u2018de\u2019), Gilbertese (\u2018gil\u2019),\n Greenlandic (\u2018kl\u2019), Haitian Creole (\u2018ht\u2019), Hani (\u2018hni\u2019), Hmong Daw (\u2018mww\u2019), Hungarian (\u2018hu\u2019),\n Indonesian (\u2018id\u2019), Interlingua (\u2018ia\u2019), Inuktitut (\u2018iu\u2019), Irish (\u2018ga\u2019), Italian (\u2018it\u2019), Japanese\n (\u2018ja\u2019), Javanese (\u2018jv\u2019), Kabuverdianu (\u2018kea\u2019), Kachin (\u2018kac\u2019), Kara-Kalpak (\u2018kaa\u2019), Kashubian\n (\u2018csb\u2019), Khasi (\u2018kha\u2019), Korean (\u2018ko\u2019), Kurdish - Latin script (\u2018ku\u2019), K\u2019iche\u2019 (\u2018quc\u2019),\n Luxembourgish (\u2018lb\u2019), Malay (\u2018ms\u2019), Manx (\u2018gv\u2019), Neapolitan (\u2018nap\u2019), Norwegian (\u2018no\u2019), Occitan\n (\u2018oc\u2019), Polish (\u2018pl\u2019), Portuguese (\u2018pt\u2019), Romansh (\u2018rm\u2019), Scots (\u2018sco\u2019), Scottish Gaelic\n (\u2018gd\u2019), simplified Chinese (\u2018zh-Hans\u2019), Slovenian (\u2018sl\u2019), Spanish (\u2018es\u2019), Swahili (\u2018sw\u2019),\n Swedish (\u2018sv\u2019), Tatar - Latin script (\u2018tt\u2019), Tetum (\u2018tet\u2019), traditional Chinese (\u2018zh-Hant\u2019),\n Turkish (\u2018tr\u2019), Upper Sorbian (\u2018hsb\u2019), Uzbek (\u2018uz\u2019), Volap\u00fck (\u2018vo\u2019), Walser (\u2018wae\u2019), Western\n Frisian (\u2018fy\u2019), Yucatec Maya (\u2018yua\u2019), Zhuang (\u2018za\u2019) and Zulu (\u2018zu\u2019) are supported (print \u2013\n seventy-three languages and handwritten \u2013 English only). Layout supports auto language\n identification and multi language documents, so only provide a language code if you would like\n to force the documented to be processed as that specific language.\n:type language: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Language\n:param reading_order: Reading order algorithm to sort the text lines returned. Supported\n reading orders include: basic(default), natural.\n:type reading_order: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.ReadingOrder\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _analyze_layout_async_initial(\n self,\n pages: Optional[List[str]] = None,\n language: Optional[Union[str, \"_models.Language\"]] = None,\n reading_order: Optional[Union[str, \"_models.ReadingOrder\"]] = \"basic\",\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param language: Currently, only Afrikaans (\u2018af\u2019), Albanian (\u2018sq\u2019), Asturian (\u2018ast\u2019), Basque\n (\u2018eu\u2019), Bislama (\u2018bi\u2019), Breton (\u2018br\u2019), Catalan (\u2018ca\u2019), Cebuano (\u2018ceb\u2019), Chamorro (\u2018ch\u2019),\n Cornish (\u2018kw\u2019), Corsican (\u2018co\u2019), Crimean Tatar - Latin script(\u2018crh\u2019), Czech (\u2018cs\u2019), Danish\n (\u2018da\u2019), Dutch (\u2018nl\u2019), English (\u0027en\u0027), Estonian (\u2018et\u2019), Fijian (\u2018fj\u2019), Filipino (\u2018fil\u2019), Finnish\n (\u2018fi\u2019), French (\u2018fr\u2019), Friulian (\u2018fur\u2019), Galician (\u2018gl\u2019), German (\u2018de\u2019), Gilbertese (\u2018gil\u2019),\n Greenlandic (\u2018kl\u2019), Haitian Creole (\u2018ht\u2019), Hani (\u2018hni\u2019), Hmong Daw (\u2018mww\u2019), Hungarian (\u2018hu\u2019),\n Indonesian (\u2018id\u2019), Interlingua (\u2018ia\u2019), Inuktitut (\u2018iu\u2019), Irish (\u2018ga\u2019), Italian (\u2018it\u2019), Japanese\n (\u2018ja\u2019), Javanese (\u2018jv\u2019), Kabuverdianu (\u2018kea\u2019), Kachin (\u2018kac\u2019), Kara-Kalpak (\u2018kaa\u2019), Kashubian\n (\u2018csb\u2019), Khasi (\u2018kha\u2019), Korean (\u2018ko\u2019), Kurdish - Latin script (\u2018ku\u2019), K\u2019iche\u2019 (\u2018quc\u2019),\n Luxembourgish (\u2018lb\u2019), Malay (\u2018ms\u2019), Manx (\u2018gv\u2019), Neapolitan (\u2018nap\u2019), Norwegian (\u2018no\u2019), Occitan\n (\u2018oc\u2019), Polish (\u2018pl\u2019), Portuguese (\u2018pt\u2019), Romansh (\u2018rm\u2019), Scots (\u2018sco\u2019), Scottish Gaelic\n (\u2018gd\u2019), simplified Chinese (\u2018zh-Hans\u2019), Slovenian (\u2018sl\u2019), Spanish (\u2018es\u2019), Swahili (\u2018sw\u2019),\n Swedish (\u2018sv\u2019), Tatar - Latin script (\u2018tt\u2019), Tetum (\u2018tet\u2019), traditional Chinese (\u2018zh-Hant\u2019),\n Turkish (\u2018tr\u2019), Upper Sorbian (\u2018hsb\u2019), Uzbek (\u2018uz\u2019), Volap\u00fck (\u2018vo\u2019), Walser (\u2018wae\u2019), Western\n Frisian (\u2018fy\u2019), Yucatec Maya (\u2018yua\u2019), Zhuang (\u2018za\u2019) and Zulu (\u2018zu\u2019) are supported (print \u2013\n seventy-three languages and handwritten \u2013 English only). Layout supports auto language\n identification and multi language documents, so only provide a language code if you would like\n to force the documented to be processed as that specific language.\n:type language: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Language\n:param reading_order: Reading order algorithm to sort the text lines returned. Supported\n reading orders include: basic(default), natural.\n:type reading_order: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.ReadingOrder\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "pages, language, reading_order, file_stream" + }, + "begin_analyze_layout_async" : { + "sync": { + "signature": "def begin_analyze_layout_async(\n self,\n pages=None, # type: Optional[List[str]]\n language=None, # type: Optional[Union[str, \"_models.Language\"]]\n reading_order=\"basic\", # type: Optional[Union[str, \"_models.ReadingOrder\"]]\n file_stream=None, # type: Optional[Union[IO, \"_models.SourcePath\"]]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Analyze Layout.\n\nExtract text and layout information from a given document. The input document must be of one of\nthe supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027 or\n\u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param language: Currently, only Afrikaans (\u2018af\u2019), Albanian (\u2018sq\u2019), Asturian (\u2018ast\u2019), Basque\n (\u2018eu\u2019), Bislama (\u2018bi\u2019), Breton (\u2018br\u2019), Catalan (\u2018ca\u2019), Cebuano (\u2018ceb\u2019), Chamorro (\u2018ch\u2019),\n Cornish (\u2018kw\u2019), Corsican (\u2018co\u2019), Crimean Tatar - Latin script(\u2018crh\u2019), Czech (\u2018cs\u2019), Danish\n (\u2018da\u2019), Dutch (\u2018nl\u2019), English (\u0027en\u0027), Estonian (\u2018et\u2019), Fijian (\u2018fj\u2019), Filipino (\u2018fil\u2019), Finnish\n (\u2018fi\u2019), French (\u2018fr\u2019), Friulian (\u2018fur\u2019), Galician (\u2018gl\u2019), German (\u2018de\u2019), Gilbertese (\u2018gil\u2019),\n Greenlandic (\u2018kl\u2019), Haitian Creole (\u2018ht\u2019), Hani (\u2018hni\u2019), Hmong Daw (\u2018mww\u2019), Hungarian (\u2018hu\u2019),\n Indonesian (\u2018id\u2019), Interlingua (\u2018ia\u2019), Inuktitut (\u2018iu\u2019), Irish (\u2018ga\u2019), Italian (\u2018it\u2019), Japanese\n (\u2018ja\u2019), Javanese (\u2018jv\u2019), Kabuverdianu (\u2018kea\u2019), Kachin (\u2018kac\u2019), Kara-Kalpak (\u2018kaa\u2019), Kashubian\n (\u2018csb\u2019), Khasi (\u2018kha\u2019), Korean (\u2018ko\u2019), Kurdish - Latin script (\u2018ku\u2019), K\u2019iche\u2019 (\u2018quc\u2019),\n Luxembourgish (\u2018lb\u2019), Malay (\u2018ms\u2019), Manx (\u2018gv\u2019), Neapolitan (\u2018nap\u2019), Norwegian (\u2018no\u2019), Occitan\n (\u2018oc\u2019), Polish (\u2018pl\u2019), Portuguese (\u2018pt\u2019), Romansh (\u2018rm\u2019), Scots (\u2018sco\u2019), Scottish Gaelic\n (\u2018gd\u2019), simplified Chinese (\u2018zh-Hans\u2019), Slovenian (\u2018sl\u2019), Spanish (\u2018es\u2019), Swahili (\u2018sw\u2019),\n Swedish (\u2018sv\u2019), Tatar - Latin script (\u2018tt\u2019), Tetum (\u2018tet\u2019), traditional Chinese (\u2018zh-Hant\u2019),\n Turkish (\u2018tr\u2019), Upper Sorbian (\u2018hsb\u2019), Uzbek (\u2018uz\u2019), Volap\u00fck (\u2018vo\u2019), Walser (\u2018wae\u2019), Western\n Frisian (\u2018fy\u2019), Yucatec Maya (\u2018yua\u2019), Zhuang (\u2018za\u2019) and Zulu (\u2018zu\u2019) are supported (print \u2013\n seventy-three languages and handwritten \u2013 English only). Layout supports auto language\n identification and multi language documents, so only provide a language code if you would like\n to force the documented to be processed as that specific language.\n:type language: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Language\n:param reading_order: Reading order algorithm to sort the text lines returned. Supported\n reading orders include: basic(default), natural.\n:type reading_order: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.ReadingOrder\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the LROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_analyze_layout_async(\n self,\n pages: Optional[List[str]] = None,\n language: Optional[Union[str, \"_models.Language\"]] = None,\n reading_order: Optional[Union[str, \"_models.ReadingOrder\"]] = \"basic\",\n file_stream: Optional[Union[IO, \"_models.SourcePath\"]] = None,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Analyze Layout.\n\nExtract text and layout information from a given document. The input document must be of one of\nthe supported content types - \u0027application/pdf\u0027, \u0027image/jpeg\u0027, \u0027image/png\u0027, \u0027image/tiff\u0027 or\n\u0027image/bmp\u0027. Alternatively, use \u0027application/json\u0027 type to specify the location (Uri or local\npath) of the document to be analyzed.\n\n:param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the\n pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or\n range with a comma.\n:type pages: list[str]\n:param language: Currently, only Afrikaans (\u2018af\u2019), Albanian (\u2018sq\u2019), Asturian (\u2018ast\u2019), Basque\n (\u2018eu\u2019), Bislama (\u2018bi\u2019), Breton (\u2018br\u2019), Catalan (\u2018ca\u2019), Cebuano (\u2018ceb\u2019), Chamorro (\u2018ch\u2019),\n Cornish (\u2018kw\u2019), Corsican (\u2018co\u2019), Crimean Tatar - Latin script(\u2018crh\u2019), Czech (\u2018cs\u2019), Danish\n (\u2018da\u2019), Dutch (\u2018nl\u2019), English (\u0027en\u0027), Estonian (\u2018et\u2019), Fijian (\u2018fj\u2019), Filipino (\u2018fil\u2019), Finnish\n (\u2018fi\u2019), French (\u2018fr\u2019), Friulian (\u2018fur\u2019), Galician (\u2018gl\u2019), German (\u2018de\u2019), Gilbertese (\u2018gil\u2019),\n Greenlandic (\u2018kl\u2019), Haitian Creole (\u2018ht\u2019), Hani (\u2018hni\u2019), Hmong Daw (\u2018mww\u2019), Hungarian (\u2018hu\u2019),\n Indonesian (\u2018id\u2019), Interlingua (\u2018ia\u2019), Inuktitut (\u2018iu\u2019), Irish (\u2018ga\u2019), Italian (\u2018it\u2019), Japanese\n (\u2018ja\u2019), Javanese (\u2018jv\u2019), Kabuverdianu (\u2018kea\u2019), Kachin (\u2018kac\u2019), Kara-Kalpak (\u2018kaa\u2019), Kashubian\n (\u2018csb\u2019), Khasi (\u2018kha\u2019), Korean (\u2018ko\u2019), Kurdish - Latin script (\u2018ku\u2019), K\u2019iche\u2019 (\u2018quc\u2019),\n Luxembourgish (\u2018lb\u2019), Malay (\u2018ms\u2019), Manx (\u2018gv\u2019), Neapolitan (\u2018nap\u2019), Norwegian (\u2018no\u2019), Occitan\n (\u2018oc\u2019), Polish (\u2018pl\u2019), Portuguese (\u2018pt\u2019), Romansh (\u2018rm\u2019), Scots (\u2018sco\u2019), Scottish Gaelic\n (\u2018gd\u2019), simplified Chinese (\u2018zh-Hans\u2019), Slovenian (\u2018sl\u2019), Spanish (\u2018es\u2019), Swahili (\u2018sw\u2019),\n Swedish (\u2018sv\u2019), Tatar - Latin script (\u2018tt\u2019), Tetum (\u2018tet\u2019), traditional Chinese (\u2018zh-Hant\u2019),\n Turkish (\u2018tr\u2019), Upper Sorbian (\u2018hsb\u2019), Uzbek (\u2018uz\u2019), Volap\u00fck (\u2018vo\u2019), Walser (\u2018wae\u2019), Western\n Frisian (\u2018fy\u2019), Yucatec Maya (\u2018yua\u2019), Zhuang (\u2018za\u2019) and Zulu (\u2018zu\u2019) are supported (print \u2013\n seventy-three languages and handwritten \u2013 English only). Layout supports auto language\n identification and multi language documents, so only provide a language code if you would like\n to force the documented to be processed as that specific language.\n:type language: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Language\n:param reading_order: Reading order algorithm to sort the text lines returned. Supported\n reading orders include: basic(default), natural.\n:type reading_order: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.ReadingOrder\n:param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream.\n:type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath\n:keyword str content_type: Media type of the body sent to the API. Default value is \"application/json\".\n Allowed values are: \"application/pdf\", \"image/bmp\", \"image/jpeg\", \"image/png\", \"image/tiff\", \"application/json\".\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncLROBasePolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "pages, language, reading_order, file_stream" + }, + "get_analyze_layout_result" : { + "sync": { + "signature": "def get_analyze_layout_result(\n self,\n result_id, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Analyze Layout Result.\n\nTrack the progress and obtain the result of the analyze layout operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_analyze_layout_result(\n self,\n result_id: str,\n **kwargs\n) -\u003e \"_models.AnalyzeOperationResult\":\n", + "doc": "\"\"\"Get Analyze Layout Result.\n\nTrack the progress and obtain the result of the analyze layout operation.\n\n:param result_id: Analyze operation result identifier.\n:type result_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeOperationResult, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "result_id" + }, + "list_custom_models" : { + "sync": { + "signature": "def list_custom_models(\n self,\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"List Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either Models or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.ai.formrecognizer.v2_1_preview_3.models.Models]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def list_custom_models(\n self,\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.Models\"]:\n", + "doc": "\"\"\"List Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either Models or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.formrecognizer.v2_1_preview_3.models.Models]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "" + }, + "get_custom_models" : { + "sync": { + "signature": "def get_custom_models(\n self,\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Get Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Models, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Models\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def get_custom_models(\n self,\n **kwargs\n) -\u003e \"_models.Models\":\n", + "doc": "\"\"\"Get Custom Models.\n\nGet information about all custom models.\n\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: Models, or the result of cls(response)\n:rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Models\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "" + } + } + } +} \ No newline at end of file diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/__init__.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/__init__.py similarity index 100% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/__init__.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/__init__.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/_configuration.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/_configuration.py similarity index 100% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/_configuration.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/_configuration.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/_form_recognizer_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/_form_recognizer_client.py similarity index 97% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/_form_recognizer_client.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/_form_recognizer_client.py index 3597368dc6f0..106c22315778 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/_form_recognizer_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/_form_recognizer_client.py @@ -36,7 +36,7 @@ def __init__( endpoint: str, **kwargs: Any ) -> None: - base_url = '{endpoint}/formrecognizer/v2.1-preview.2' + base_url = '{endpoint}/formrecognizer/v2.1-preview.3' self._config = FormRecognizerClientConfiguration(credential, endpoint, **kwargs) self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/operations/__init__.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/operations/__init__.py similarity index 100% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/operations/__init__.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/operations/__init__.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/operations/_form_recognizer_client_operations.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/operations/_form_recognizer_client_operations.py similarity index 75% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/operations/_form_recognizer_client_operations.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/operations/_form_recognizer_client_operations.py index f30e33df6869..c7144db47041 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/aio/operations/_form_recognizer_client_operations.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/aio/operations/_form_recognizer_client_operations.py @@ -15,7 +15,7 @@ from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod from azure.core.polling.async_base_polling import AsyncLROBasePolling -from ... import models +from ... import models as _models T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -24,7 +24,7 @@ class FormRecognizerClientOperationsMixin: async def _train_custom_model_async_initial( self, - train_request: "models.TrainRequest", + train_request: "_models.TrainRequest", **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -59,7 +59,7 @@ async def _train_custom_model_async_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -72,7 +72,7 @@ async def _train_custom_model_async_initial( async def begin_train_custom_model_async( self, - train_request: "models.TrainRequest", + train_request: "_models.TrainRequest", **kwargs ) -> AsyncLROPoller[None]: """Train Custom Model. @@ -84,15 +84,15 @@ async def begin_train_custom_model_async( configuration setting value e.g., if '{Mounts:Input}' configuration setting value is '/input' then a valid source path would be '/input/contosodataset'. All data to be trained is expected to be under the source folder or sub folders under it. Models are trained using documents that - are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff'. - Other type of content is ignored. + are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' + or 'image/bmp'. Other type of content is ignored. :param train_request: Training request parameters. - :type train_request: ~azure.ai.formrecognizer.models.TrainRequest + :type train_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -143,7 +143,7 @@ async def get_custom_model( model_id: str, include_keys: Optional[bool] = False, **kwargs - ) -> "models.Model": + ) -> "_models.Model": """Get Custom Model. Get detailed information about a custom model. @@ -154,10 +154,10 @@ async def get_custom_model( :type include_keys: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: Model, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Model + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Model :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Model"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Model"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -187,7 +187,7 @@ async def get_custom_model( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('Model', pipeline_response) @@ -243,7 +243,7 @@ async def delete_custom_model( if response.status_code not in [204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) if cls: @@ -255,7 +255,8 @@ async def _analyze_with_custom_model_initial( self, model_id: str, include_text_details: Optional[bool] = False, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -278,6 +279,8 @@ async def _analyze_with_custom_model_initial( query_parameters = {} # type: Dict[str, Any] if include_text_details is not None: query_parameters['includeTextDetails'] = self._serialize.query("include_text_details", include_text_details, 'bool') + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -285,7 +288,7 @@ async def _analyze_with_custom_model_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - if header_parameters['Content-Type'].split(";")[0] in ['application/pdf', 'image/jpeg', 'image/png', 'image/tiff']: + if header_parameters['Content-Type'].split(";")[0] in ['application/pdf', 'image/bmp', 'image/jpeg', 'image/png', 'image/tiff']: body_content_kwargs['stream_content'] = file_stream elif header_parameters['Content-Type'].split(";")[0] in ['application/json']: if file_stream is not None: @@ -296,7 +299,7 @@ async def _analyze_with_custom_model_initial( else: raise ValueError( "The content_type '{}' is not one of the allowed values: " - "['application/pdf', 'image/jpeg', 'image/png', 'image/tiff', 'application/json']".format(header_parameters['Content-Type']) + "['application/pdf', 'image/bmp', 'image/jpeg', 'image/png', 'image/tiff', 'application/json']".format(header_parameters['Content-Type']) ) request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -304,7 +307,7 @@ async def _analyze_with_custom_model_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -319,28 +322,33 @@ async def begin_analyze_with_custom_model( self, model_id: str, include_text_details: Optional[bool] = False, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Form. Extract key-value pairs, tables, and semantic values from a given document. The input document - must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri or local - path) of the document to be analyzed. + must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri or local path) of the document to be analyzed. :param model_id: Model identifier. :type model_id: str :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". - Allowed values are: "application/pdf", "image/jpeg", "image/png", "image/tiff", "application/json". + Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -358,6 +366,7 @@ async def begin_analyze_with_custom_model( raw_result = await self._analyze_with_custom_model_initial( model_id=model_id, include_text_details=include_text_details, + pages=pages, file_stream=file_stream, cls=lambda x,y,z: x, **kwargs @@ -394,7 +403,7 @@ async def get_analyze_form_result( model_id: str, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Form Result. Obtain current status and the result of the analyze form operation. @@ -405,10 +414,10 @@ async def get_analyze_form_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -437,7 +446,7 @@ async def get_analyze_form_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -451,7 +460,7 @@ async def get_analyze_form_result( async def _copy_custom_model_initial( self, model_id: str, - copy_request: "models.CopyRequest", + copy_request: "_models.CopyRequest", **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -487,7 +496,7 @@ async def _copy_custom_model_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -501,7 +510,7 @@ async def _copy_custom_model_initial( async def begin_copy_custom_model( self, model_id: str, - copy_request: "models.CopyRequest", + copy_request: "_models.CopyRequest", **kwargs ) -> AsyncLROPoller[None]: """Copy Custom Model. @@ -512,11 +521,11 @@ async def begin_copy_custom_model( :param model_id: Model identifier. :type model_id: str :param copy_request: Copy request parameters. - :type copy_request: ~azure.ai.formrecognizer.models.CopyRequest + :type copy_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -569,7 +578,7 @@ async def get_custom_model_copy_result( model_id: str, result_id: str, **kwargs - ) -> "models.CopyOperationResult": + ) -> "_models.CopyOperationResult": """Get Custom Model Copy Result. Obtain current status and the result of a custom model copy operation. @@ -580,10 +589,10 @@ async def get_custom_model_copy_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.CopyOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CopyOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -612,7 +621,7 @@ async def get_custom_model_copy_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('CopyOperationResult', pipeline_response) @@ -626,17 +635,17 @@ async def get_custom_model_copy_result( async def generate_model_copy_authorization( self, **kwargs - ) -> "models.CopyAuthorizationResult": + ) -> "_models.CopyAuthorizationResult": """Generate Copy Authorization. Generate authorization to copy a model into the target Form Recognizer resource. :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyAuthorizationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyAuthorizationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyAuthorizationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.CopyAuthorizationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CopyAuthorizationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -663,7 +672,7 @@ async def generate_model_copy_authorization( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -678,7 +687,7 @@ async def generate_model_copy_authorization( async def _compose_custom_models_async_initial( self, - compose_request: "models.ComposeRequest", + compose_request: "_models.ComposeRequest", **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -713,7 +722,7 @@ async def _compose_custom_models_async_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -726,7 +735,7 @@ async def _compose_custom_models_async_initial( async def begin_compose_custom_models_async( self, - compose_request: "models.ComposeRequest", + compose_request: "_models.ComposeRequest", **kwargs ) -> AsyncLROPoller[None]: """Compose trained with labels models into one composed model. @@ -736,11 +745,11 @@ async def begin_compose_custom_models_async( It would validate limit of models put together. :param compose_request: Compose models. - :type compose_request: ~azure.ai.formrecognizer.models.ComposeRequest + :type compose_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.ComposeRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -789,8 +798,9 @@ def get_long_running_output(pipeline_response): async def _analyze_business_card_async_initial( self, include_text_details: Optional[bool] = False, - locale: Optional[Union[str, "models.Locale"]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + locale: Optional[Union[str, "_models.Locale"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -814,6 +824,8 @@ async def _analyze_business_card_async_initial( query_parameters['includeTextDetails'] = self._serialize.query("include_text_details", include_text_details, 'bool') if locale is not None: query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -840,7 +852,7 @@ async def _analyze_business_card_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -854,30 +866,35 @@ async def _analyze_business_card_async_initial( async def begin_analyze_business_card_async( self, include_text_details: Optional[bool] = False, - locale: Optional[Union[str, "models.Locale"]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + locale: Optional[Union[str, "_models.Locale"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Business Card. Extract field text and semantic values from a given business card document. The input document - must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -895,6 +912,7 @@ async def begin_analyze_business_card_async( raw_result = await self._analyze_business_card_async_initial( include_text_details=include_text_details, locale=locale, + pages=pages, file_stream=file_stream, cls=lambda x,y,z: x, **kwargs @@ -929,7 +947,7 @@ async def get_analyze_business_card_result( self, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Business Card Result. Track the progress and obtain the result of the analyze business card operation. @@ -938,10 +956,10 @@ async def get_analyze_business_card_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -969,7 +987,7 @@ async def get_analyze_business_card_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -983,8 +1001,9 @@ async def get_analyze_business_card_result( async def _analyze_invoice_async_initial( self, include_text_details: Optional[bool] = False, - locale: Optional[Union[str, "models.Locale"]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + locale: Optional[Union[str, "_models.Locale"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -1008,6 +1027,8 @@ async def _analyze_invoice_async_initial( query_parameters['includeTextDetails'] = self._serialize.query("include_text_details", include_text_details, 'bool') if locale is not None: query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -1034,7 +1055,7 @@ async def _analyze_invoice_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -1048,30 +1069,35 @@ async def _analyze_invoice_async_initial( async def begin_analyze_invoice_async( self, include_text_details: Optional[bool] = False, - locale: Optional[Union[str, "models.Locale"]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + locale: Optional[Union[str, "_models.Locale"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Invoice Document. Extract field text and semantic values from a given invoice document. The input document must - be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1089,6 +1115,7 @@ async def begin_analyze_invoice_async( raw_result = await self._analyze_invoice_async_initial( include_text_details=include_text_details, locale=locale, + pages=pages, file_stream=file_stream, cls=lambda x,y,z: x, **kwargs @@ -1123,7 +1150,7 @@ async def get_analyze_invoice_result( self, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Invoice Result. Track the progress and obtain the result of the analyze invoice operation. @@ -1132,10 +1159,10 @@ async def get_analyze_invoice_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1163,7 +1190,7 @@ async def get_analyze_invoice_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -1174,11 +1201,207 @@ async def get_analyze_invoice_result( return deserialized get_analyze_invoice_result.metadata = {'url': '/prebuilt/invoice/analyzeResults/{resultId}'} # type: ignore + async def _analyze_id_document_async_initial( + self, + include_text_details: Optional[bool] = False, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._analyze_id_document_async_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if include_text_details is not None: + query_parameters['includeTextDetails'] = self._serialize.query("include_text_details", include_text_details, 'bool') + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if header_parameters['Content-Type'].split(";")[0] in ['application/pdf', 'image/bmp', 'image/jpeg', 'image/png', 'image/tiff']: + body_content_kwargs['stream_content'] = file_stream + elif header_parameters['Content-Type'].split(";")[0] in ['application/json']: + if file_stream is not None: + body_content = self._serialize.body(file_stream, 'SourcePath') + else: + body_content = None + body_content_kwargs['content'] = body_content + else: + raise ValueError( + "The content_type '{}' is not one of the allowed values: " + "['application/pdf', 'image/bmp', 'image/jpeg', 'image/png', 'image/tiff', 'application/json']".format(header_parameters['Content-Type']) + ) + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Operation-Location']=self._deserialize('str', response.headers.get('Operation-Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _analyze_id_document_async_initial.metadata = {'url': '/prebuilt/idDocument/analyze'} # type: ignore + + async def begin_analyze_id_document_async( + self, + include_text_details: Optional[bool] = False, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, + **kwargs + ) -> AsyncLROPoller[None]: + """Analyze ID Document. + + Extract field text and semantic values from a given ID document. The input document must be of + one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' + or 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri) of the + document to be analyzed. + + :param include_text_details: Include text lines and element references in the result. + :type include_text_details: bool + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath + :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". + Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', False) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._analyze_id_document_async_initial( + include_text_details=include_text_details, + pages=pages, + file_stream=file_stream, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + + if polling is True: polling_method = AsyncLROBasePolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_analyze_id_document_async.metadata = {'url': '/prebuilt/idDocument/analyze'} # type: ignore + + async def get_analyze_id_document_result( + self, + result_id: str, + **kwargs + ) -> "_models.AnalyzeOperationResult": + """Get Analyze ID Document Result. + + Track the progress and obtain the result of the analyze ID operation. + + :param result_id: Analyze operation result identifier. + :type result_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AnalyzeOperationResult, or the result of cls(response) + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_analyze_id_document_result.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'resultId': self._serialize.url("result_id", result_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_analyze_id_document_result.metadata = {'url': '/prebuilt/idDocument/analyzeResults/{resultId}'} # type: ignore + async def _analyze_receipt_async_initial( self, include_text_details: Optional[bool] = False, - locale: Optional[Union[str, "models.Locale"]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + locale: Optional[Union[str, "_models.Locale"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -1202,6 +1425,8 @@ async def _analyze_receipt_async_initial( query_parameters['includeTextDetails'] = self._serialize.query("include_text_details", include_text_details, 'bool') if locale is not None: query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -1228,7 +1453,7 @@ async def _analyze_receipt_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -1242,30 +1467,35 @@ async def _analyze_receipt_async_initial( async def begin_analyze_receipt_async( self, include_text_details: Optional[bool] = False, - locale: Optional[Union[str, "models.Locale"]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + locale: Optional[Union[str, "_models.Locale"]] = None, + pages: Optional[List[str]] = None, + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Receipt. Extract field text and semantic values from a given receipt document. The input document must - be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1283,6 +1513,7 @@ async def begin_analyze_receipt_async( raw_result = await self._analyze_receipt_async_initial( include_text_details=include_text_details, locale=locale, + pages=pages, file_stream=file_stream, cls=lambda x,y,z: x, **kwargs @@ -1317,7 +1548,7 @@ async def get_analyze_receipt_result( self, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Receipt Result. Track the progress and obtain the result of the analyze receipt operation. @@ -1326,10 +1557,10 @@ async def get_analyze_receipt_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1357,7 +1588,7 @@ async def get_analyze_receipt_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -1370,9 +1601,10 @@ async def get_analyze_receipt_result( async def _analyze_layout_async_initial( self, - language: Optional[Union[str, "models.Language"]] = None, pages: Optional[List[str]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + language: Optional[Union[str, "_models.Language"]] = None, + reading_order: Optional[Union[str, "_models.ReadingOrder"]] = "basic", + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] @@ -1392,10 +1624,12 @@ async def _analyze_layout_async_initial( # Construct parameters query_parameters = {} # type: Dict[str, Any] + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') if language is not None: query_parameters['language'] = self._serialize.query("language", language, 'str') - if pages is not None: - query_parameters['Pages'] = self._serialize.query("pages", pages, '[str]', div=',') + if reading_order is not None: + query_parameters['readingOrder'] = self._serialize.query("reading_order", reading_order, 'str') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -1422,7 +1656,7 @@ async def _analyze_layout_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -1435,9 +1669,10 @@ async def _analyze_layout_async_initial( async def begin_analyze_layout_async( self, - language: Optional[Union[str, "models.Language"]] = None, pages: Optional[List[str]] = None, - file_stream: Optional[Union[IO, "models.SourcePath"]] = None, + language: Optional[Union[str, "_models.Language"]] = None, + reading_order: Optional[Union[str, "_models.ReadingOrder"]] = "basic", + file_stream: Optional[Union[IO, "_models.SourcePath"]] = None, **kwargs ) -> AsyncLROPoller[None]: """Analyze Layout. @@ -1447,25 +1682,40 @@ async def begin_analyze_layout_async( 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri or local path) of the document to be analyzed. - :param language: The BCP-47 language code of the text in the document. Currently, only English - ('en'), Dutch (‘nl’), French (‘fr’), German (‘de’), Italian (‘it’), Portuguese (‘pt'), - simplified Chinese ('zh-Hans') and Spanish ('es') are supported (print – nine languages and - handwritten – English only). Layout supports auto language identification and multi language - documents, so only provide a language code if you would like to force the documented to be - processed as that specific language. - :type language: str or ~azure.ai.formrecognizer.models.Language :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or - range with a comma or space. + range with a comma. :type pages: list[str] - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :param language: Currently, only Afrikaans (‘af’), Albanian (‘sq’), Asturian (‘ast’), Basque + (‘eu’), Bislama (‘bi’), Breton (‘br’), Catalan (‘ca’), Cebuano (‘ceb’), Chamorro (‘ch’), + Cornish (‘kw’), Corsican (‘co’), Crimean Tatar - Latin script(‘crh’), Czech (‘cs’), Danish + (‘da’), Dutch (‘nl’), English ('en'), Estonian (‘et’), Fijian (‘fj’), Filipino (‘fil’), Finnish + (‘fi’), French (‘fr’), Friulian (‘fur’), Galician (‘gl’), German (‘de’), Gilbertese (‘gil’), + Greenlandic (‘kl’), Haitian Creole (‘ht’), Hani (‘hni’), Hmong Daw (‘mww’), Hungarian (‘hu’), + Indonesian (‘id’), Interlingua (‘ia’), Inuktitut (‘iu’), Irish (‘ga’), Italian (‘it’), Japanese + (‘ja’), Javanese (‘jv’), Kabuverdianu (‘kea’), Kachin (‘kac’), Kara-Kalpak (‘kaa’), Kashubian + (‘csb’), Khasi (‘kha’), Korean (‘ko’), Kurdish - Latin script (‘ku’), K’iche’ (‘quc’), + Luxembourgish (‘lb’), Malay (‘ms’), Manx (‘gv’), Neapolitan (‘nap’), Norwegian (‘no’), Occitan + (‘oc’), Polish (‘pl’), Portuguese (‘pt’), Romansh (‘rm’), Scots (‘sco’), Scottish Gaelic + (‘gd’), simplified Chinese (‘zh-Hans’), Slovenian (‘sl’), Spanish (‘es’), Swahili (‘sw’), + Swedish (‘sv’), Tatar - Latin script (‘tt’), Tetum (‘tet’), traditional Chinese (‘zh-Hant’), + Turkish (‘tr’), Upper Sorbian (‘hsb’), Uzbek (‘uz’), Volapük (‘vo’), Walser (‘wae’), Western + Frisian (‘fy’), Yucatec Maya (‘yua’), Zhuang (‘za’) and Zulu (‘zu’) are supported (print – + seventy-three languages and handwritten – English only). Layout supports auto language + identification and multi language documents, so only provide a language code if you would like + to force the documented to be processed as that specific language. + :type language: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Language + :param reading_order: Reading order algorithm to sort the text lines returned. Supported + reading orders include: basic(default), natural. + :type reading_order: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.ReadingOrder + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncLROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1481,8 +1731,9 @@ async def begin_analyze_layout_async( cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] if cont_token is None: raw_result = await self._analyze_layout_async_initial( - language=language, pages=pages, + language=language, + reading_order=reading_order, file_stream=file_stream, cls=lambda x,y,z: x, **kwargs @@ -1517,7 +1768,7 @@ async def get_analyze_layout_result( self, result_id: str, **kwargs - ) -> "models.AnalyzeOperationResult": + ) -> "_models.AnalyzeOperationResult": """Get Analyze Layout Result. Track the progress and obtain the result of the analyze layout operation. @@ -1526,10 +1777,10 @@ async def get_analyze_layout_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1557,7 +1808,7 @@ async def get_analyze_layout_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -1571,17 +1822,17 @@ async def get_analyze_layout_result( def list_custom_models( self, **kwargs - ) -> AsyncIterable["models.Models"]: + ) -> AsyncIterable["_models.Models"]: """List Custom Models. Get information about all custom models. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Models or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.formrecognizer.models.Models] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.ai.formrecognizer.v2_1_preview_3.models.Models] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Models"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Models"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1630,7 +1881,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error) @@ -1644,17 +1895,17 @@ async def get_next(next_link=None): async def get_custom_models( self, **kwargs - ) -> "models.Models": + ) -> "_models.Models": """Get Custom Models. Get information about all custom models. :keyword callable cls: A custom type or function that will be passed the direct response :return: Models, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Models + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Models :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Models"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Models"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1683,7 +1934,7 @@ async def get_custom_models( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('Models', pipeline_response) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/__init__.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/__init__.py similarity index 98% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/__init__.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/__init__.py index 86761c39fe47..212b9803e5f7 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/__init__.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/__init__.py @@ -79,7 +79,6 @@ from ._form_recognizer_client_enums import ( ContentType, - ContentTypeAutoGenerated, FieldValueSelectionMark, FieldValueType, KeyValueType, @@ -88,6 +87,7 @@ Locale, ModelStatus, OperationStatus, + ReadingOrder, SelectionMarkState, TextStyle, TrainStatus, @@ -129,7 +129,6 @@ 'TrainSourceFilter', 'TrainingDocumentInfo', 'ContentType', - 'ContentTypeAutoGenerated', 'FieldValueSelectionMark', 'FieldValueType', 'KeyValueType', @@ -138,6 +137,7 @@ 'Locale', 'ModelStatus', 'OperationStatus', + 'ReadingOrder', 'SelectionMarkState', 'TextStyle', 'TrainStatus', diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/_form_recognizer_client_enums.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/_form_recognizer_client_enums.py similarity index 71% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/_form_recognizer_client_enums.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/_form_recognizer_client_enums.py index f1c466dd0ee2..4cc06b9dff33 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/_form_recognizer_client_enums.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/_form_recognizer_client_enums.py @@ -30,20 +30,16 @@ class ContentType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Content type for upload """ - APPLICATION_PDF = "application/pdf" #: Content Type 'application/pdf'. - IMAGE_JPEG = "image/jpeg" #: Content Type 'image/jpeg'. - IMAGE_PNG = "image/png" #: Content Type 'image/png'. - IMAGE_TIFF = "image/tiff" #: Content Type 'image/tiff'. - -class ContentTypeAutoGenerated(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Content type for upload - """ - - APPLICATION_PDF = "application/pdf" #: Content Type 'application/pdf'. - IMAGE_BMP = "image/bmp" #: Content Type 'image/bmp'. - IMAGE_JPEG = "image/jpeg" #: Content Type 'image/jpeg'. - IMAGE_PNG = "image/png" #: Content Type 'image/png'. - IMAGE_TIFF = "image/tiff" #: Content Type 'image/tiff'. + #: Content Type 'application/pdf'. + APPLICATION_PDF = "application/pdf" + #: Content Type 'image/bmp'. + IMAGE_BMP = "image/bmp" + #: Content Type 'image/jpeg'. + IMAGE_JPEG = "image/jpeg" + #: Content Type 'image/png'. + IMAGE_PNG = "image/png" + #: Content Type 'image/tiff'. + IMAGE_TIFF = "image/tiff" class FieldValueSelectionMark(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Selection mark value. @@ -74,17 +70,80 @@ class KeyValueType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SELECTION_MARK = "selectionMark" class Language(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Language code - """ + AF = "af" + AST = "ast" + BI = "bi" + BR = "br" + CA = "ca" + CEB = "ceb" + CH = "ch" + CO = "co" + CRH = "crh" + CS = "cs" + CSB = "csb" + DA = "da" + DE = "de" EN = "en" ES = "es" - DE = "de" + ET = "et" + EU = "eu" + FI = "fi" + FIL = "fil" + FJ = "fj" FR = "fr" + FUR = "fur" + FY = "fy" + GA = "ga" + GD = "gd" + GIL = "gil" + GL = "gl" + GV = "gv" + HNI = "hni" + HSB = "hsb" + HT = "ht" + HU = "hu" + IA = "ia" + ID = "id" IT = "it" + IU = "iu" + JA = "ja" + JV = "jv" + KAA = "kaa" + KAC = "kac" + KEA = "kea" + KHA = "kha" + KL = "kl" + KO = "ko" + KU = "ku" + KW = "kw" + LB = "lb" + MS = "ms" + MWW = "mww" + NAP = "nap" NL = "nl" + NO = "no" + OC = "oc" + PL = "pl" PT = "pt" + QUC = "quc" + RM = "rm" + SCO = "sco" + SL = "sl" + SQ = "sq" + SV = "sv" + SW = "sw" + TET = "tet" + TR = "tr" + TT = "tt" + UZ = "uz" + VO = "vo" + WAE = "wae" + YUA = "yua" + ZA = "za" ZH_HANS = "zh-Hans" + ZH_HANT = "zh-Hant" + ZU = "zu" class LengthUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The unit used by the width, height and boundingBox properties. For images, the unit is "pixel". @@ -119,6 +178,11 @@ class OperationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SUCCEEDED = "succeeded" FAILED = "failed" +class ReadingOrder(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + BASIC = "basic" + NATURAL = "natural" + class SelectionMarkState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """State of the selection mark. """ diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/_models.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/_models.py similarity index 92% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/_models.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/_models.py index 2b3d79c69195..684066b1ebf5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/_models.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/_models.py @@ -17,14 +17,14 @@ class AnalyzeOperationResult(msrest.serialization.Model): :param status: Required. Operation status. Possible values include: "notStarted", "running", "succeeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.OperationStatus + :type status: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.OperationStatus :param created_date_time: Required. Date and time (UTC) when the analyze operation was submitted. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. :type last_updated_date_time: ~datetime.datetime :param analyze_result: Results of the analyze operation. - :type analyze_result: ~azure.ai.formrecognizer.models.AnalyzeResult + :type analyze_result: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeResult """ _validation = { @@ -59,13 +59,13 @@ class AnalyzeResult(msrest.serialization.Model): :param version: Required. Version of schema used for this result. :type version: str :param read_results: Required. Text extracted from the input. - :type read_results: list[~azure.ai.formrecognizer.models.ReadResult] + :type read_results: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ReadResult] :param page_results: Page-level information extracted from the input. - :type page_results: list[~azure.ai.formrecognizer.models.PageResult] + :type page_results: list[~azure.ai.formrecognizer.v2_1_preview_3.models.PageResult] :param document_results: Document-level information extracted from the input. - :type document_results: list[~azure.ai.formrecognizer.models.DocumentResult] + :type document_results: list[~azure.ai.formrecognizer.v2_1_preview_3.models.DocumentResult] :param errors: List of errors reported during the analyze operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ErrorInformation] """ _validation = { @@ -99,7 +99,7 @@ class Appearance(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param style: Required. An object representing the style of the text line. - :type style: ~azure.ai.formrecognizer.models.Style + :type style: ~azure.ai.formrecognizer.v2_1_preview_3.models.Style """ _validation = { @@ -209,13 +209,13 @@ class CopyOperationResult(msrest.serialization.Model): :param status: Required. Operation status. Possible values include: "notStarted", "running", "succeeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.OperationStatus + :type status: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.OperationStatus :param created_date_time: Required. Date and time (UTC) when the copy operation was submitted. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. :type last_updated_date_time: ~datetime.datetime :param copy_result: Results of the copy operation. - :type copy_result: ~azure.ai.formrecognizer.models.CopyResult + :type copy_result: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyResult """ _validation = { @@ -254,7 +254,8 @@ class CopyRequest(msrest.serialization.Model): region name supported by Cognitive Services. :type target_resource_region: str :param copy_authorization: Required. Entity that encodes claims to authorize the copy request. - :type copy_authorization: ~azure.ai.formrecognizer.models.CopyAuthorizationResult + :type copy_authorization: + ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyAuthorizationResult """ _validation = { @@ -287,7 +288,7 @@ class CopyResult(msrest.serialization.Model): :param model_id: Required. Identifier of the target model. :type model_id: str :param errors: Errors returned during the copy operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ErrorInformation] """ _validation = { @@ -318,7 +319,7 @@ class DataTable(msrest.serialization.Model): :param columns: Required. Number of columns. :type columns: int :param cells: Required. List of cells contained in the table. - :type cells: list[~azure.ai.formrecognizer.models.DataTableCell] + :type cells: list[~azure.ai.formrecognizer.v2_1_preview_3.models.DataTableCell] :param bounding_box: Required. Bounding box of the table. :type bounding_box: list[float] """ @@ -430,7 +431,7 @@ class DocumentResult(msrest.serialization.Model): :param doc_type_confidence: Predicted document type confidence. :type doc_type_confidence: float :param fields: Required. Dictionary of named field values. - :type fields: dict[str, ~azure.ai.formrecognizer.models.FieldValue] + :type fields: dict[str, ~azure.ai.formrecognizer.v2_1_preview_3.models.FieldValue] """ _validation = { @@ -496,7 +497,7 @@ class ErrorResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param error: Required. - :type error: ~azure.ai.formrecognizer.models.ErrorInformation + :type error: ~azure.ai.formrecognizer.v2_1_preview_3.models.ErrorInformation """ _validation = { @@ -522,7 +523,7 @@ class FieldValue(msrest.serialization.Model): :param type: Required. Type of field value. Possible values include: "string", "date", "time", "phoneNumber", "number", "integer", "array", "object", "selectionMark". - :type type: str or ~azure.ai.formrecognizer.models.FieldValueType + :type type: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.FieldValueType :param value_string: String value. :type value_string: str :param value_date: Date value. @@ -536,12 +537,13 @@ class FieldValue(msrest.serialization.Model): :param value_integer: Integer value. :type value_integer: int :param value_array: Array of field values. - :type value_array: list[~azure.ai.formrecognizer.models.FieldValue] + :type value_array: list[~azure.ai.formrecognizer.v2_1_preview_3.models.FieldValue] :param value_object: Dictionary of named field values. - :type value_object: dict[str, ~azure.ai.formrecognizer.models.FieldValue] + :type value_object: dict[str, ~azure.ai.formrecognizer.v2_1_preview_3.models.FieldValue] :param value_selection_mark: Selection mark value. Possible values include: "selected", "unselected". - :type value_selection_mark: str or ~azure.ai.formrecognizer.models.FieldValueSelectionMark + :type value_selection_mark: str or + ~azure.ai.formrecognizer.v2_1_preview_3.models.FieldValueSelectionMark :param text: Text content of the extracted field. :type text: str :param bounding_box: Bounding box of the field value, if appropriate. @@ -664,7 +666,7 @@ class KeyValueElement(msrest.serialization.Model): :param type: Semantic data type of the key value element. Possible values include: "string", "selectionMark". - :type type: str or ~azure.ai.formrecognizer.models.KeyValueType + :type type: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.KeyValueType :param text: Required. The text content of the key or value. :type text: str :param bounding_box: Bounding box of the key or value. @@ -705,9 +707,9 @@ class KeyValuePair(msrest.serialization.Model): :param label: A user defined label for the key/value pair entry. :type label: str :param key: Required. Information about the extracted key in a key-value pair. - :type key: ~azure.ai.formrecognizer.models.KeyValueElement + :type key: ~azure.ai.formrecognizer.v2_1_preview_3.models.KeyValueElement :param value: Required. Information about the extracted value in a key-value pair. - :type value: ~azure.ai.formrecognizer.models.KeyValueElement + :type value: ~azure.ai.formrecognizer.v2_1_preview_3.models.KeyValueElement :param confidence: Required. Confidence value. :type confidence: float """ @@ -742,13 +744,13 @@ class Model(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param model_info: Required. Basic custom model information. - :type model_info: ~azure.ai.formrecognizer.models.ModelInfo + :type model_info: ~azure.ai.formrecognizer.v2_1_preview_3.models.ModelInfo :param keys: Keys extracted by the custom model. - :type keys: ~azure.ai.formrecognizer.models.KeysResult + :type keys: ~azure.ai.formrecognizer.v2_1_preview_3.models.KeysResult :param train_result: Training result for custom model. - :type train_result: ~azure.ai.formrecognizer.models.TrainResult + :type train_result: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainResult :param composed_train_results: Training result for composed model. - :type composed_train_results: list[~azure.ai.formrecognizer.models.TrainResult] + :type composed_train_results: list[~azure.ai.formrecognizer.v2_1_preview_3.models.TrainResult] """ _validation = { @@ -782,7 +784,7 @@ class ModelInfo(msrest.serialization.Model): :type model_id: str :param status: Required. Status of the model. Possible values include: "creating", "ready", "invalid". - :type status: str or ~azure.ai.formrecognizer.models.ModelStatus + :type status: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.ModelStatus :param created_date_time: Required. Date and time (UTC) when the model was created. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. @@ -790,7 +792,7 @@ class ModelInfo(msrest.serialization.Model): :param model_name: Optional user defined model name (max length: 1024). :type model_name: str :param attributes: Optional model attributes. - :type attributes: ~azure.ai.formrecognizer.models.Attributes + :type attributes: ~azure.ai.formrecognizer.v2_1_preview_3.models.Attributes """ _validation = { @@ -826,9 +828,9 @@ class Models(msrest.serialization.Model): """Response to the list custom models operation. :param summary: Summary of all trained custom models. - :type summary: ~azure.ai.formrecognizer.models.ModelsSummary + :type summary: ~azure.ai.formrecognizer.v2_1_preview_3.models.ModelsSummary :param model_list: Collection of trained custom models. - :type model_list: list[~azure.ai.formrecognizer.models.ModelInfo] + :type model_list: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ModelInfo] :param next_link: Link to the next page of custom models. :type next_link: str """ @@ -894,9 +896,9 @@ class PageResult(msrest.serialization.Model): :param cluster_id: Cluster identifier. :type cluster_id: int :param key_value_pairs: List of key-value pairs extracted from the page. - :type key_value_pairs: list[~azure.ai.formrecognizer.models.KeyValuePair] + :type key_value_pairs: list[~azure.ai.formrecognizer.v2_1_preview_3.models.KeyValuePair] :param tables: List of data tables extracted from the page. - :type tables: list[~azure.ai.formrecognizer.models.DataTable] + :type tables: list[~azure.ai.formrecognizer.v2_1_preview_3.models.DataTable] """ _validation = { @@ -939,18 +941,15 @@ class ReadResult(msrest.serialization.Model): :param unit: Required. The unit used by the width, height and boundingBox properties. For images, the unit is "pixel". For PDF, the unit is "inch". Possible values include: "pixel", "inch". - :type unit: str or ~azure.ai.formrecognizer.models.LengthUnit - :param language: The detected language on the page overall. Possible values include: "en", - "es", "de", "fr", "it", "nl", "pt", "zh-Hans". - :type language: str or ~azure.ai.formrecognizer.models.Language + :type unit: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.LengthUnit :param lines: When includeTextDetails is set to true, a list of recognized text lines. The maximum number of lines returned is 300 per page. The lines are sorted top to bottom, left to right, although in certain cases proximity is treated with higher priority. As the sorting order depends on the detected text, it may change across images and OCR version updates. Thus, business logic should be built upon the actual line location instead of order. - :type lines: list[~azure.ai.formrecognizer.models.TextLine] + :type lines: list[~azure.ai.formrecognizer.v2_1_preview_3.models.TextLine] :param selection_marks: List of selection marks extracted from the page. - :type selection_marks: list[~azure.ai.formrecognizer.models.SelectionMark] + :type selection_marks: list[~azure.ai.formrecognizer.v2_1_preview_3.models.SelectionMark] """ _validation = { @@ -967,7 +966,6 @@ class ReadResult(msrest.serialization.Model): 'width': {'key': 'width', 'type': 'float'}, 'height': {'key': 'height', 'type': 'float'}, 'unit': {'key': 'unit', 'type': 'str'}, - 'language': {'key': 'language', 'type': 'str'}, 'lines': {'key': 'lines', 'type': '[TextLine]'}, 'selection_marks': {'key': 'selectionMarks', 'type': '[SelectionMark]'}, } @@ -982,7 +980,6 @@ def __init__( self.width = kwargs['width'] self.height = kwargs['height'] self.unit = kwargs['unit'] - self.language = kwargs.get('language', None) self.lines = kwargs.get('lines', None) self.selection_marks = kwargs.get('selection_marks', None) @@ -998,7 +995,7 @@ class SelectionMark(msrest.serialization.Model): :type confidence: float :param state: Required. State of the selection mark. Possible values include: "selected", "unselected". - :type state: str or ~azure.ai.formrecognizer.models.SelectionMarkState + :type state: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.SelectionMarkState """ _validation = { @@ -1053,7 +1050,7 @@ class Style(msrest.serialization.Model): :param name: Required. The text line style name, including handwriting and other. Possible values include: "other", "handwriting". - :type name: str or ~azure.ai.formrecognizer.models.TextStyle + :type name: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.TextStyle :param confidence: Required. The confidence of text line style. :type confidence: float """ @@ -1086,13 +1083,10 @@ class TextLine(msrest.serialization.Model): :type text: str :param bounding_box: Required. Bounding box of an extracted line. :type bounding_box: list[float] - :param language: The detected language of this line, if different from the overall page - language. Possible values include: "en", "es", "de", "fr", "it", "nl", "pt", "zh-Hans". - :type language: str or ~azure.ai.formrecognizer.models.Language :param words: Required. List of words in the text line. - :type words: list[~azure.ai.formrecognizer.models.TextWord] + :type words: list[~azure.ai.formrecognizer.v2_1_preview_3.models.TextWord] :param appearance: Text appearance properties. - :type appearance: ~azure.ai.formrecognizer.models.Appearance + :type appearance: ~azure.ai.formrecognizer.v2_1_preview_3.models.Appearance """ _validation = { @@ -1104,7 +1098,6 @@ class TextLine(msrest.serialization.Model): _attribute_map = { 'text': {'key': 'text', 'type': 'str'}, 'bounding_box': {'key': 'boundingBox', 'type': '[float]'}, - 'language': {'key': 'language', 'type': 'str'}, 'words': {'key': 'words', 'type': '[TextWord]'}, 'appearance': {'key': 'appearance', 'type': 'Appearance'}, } @@ -1116,7 +1109,6 @@ def __init__( super(TextLine, self).__init__(**kwargs) self.text = kwargs['text'] self.bounding_box = kwargs['bounding_box'] - self.language = kwargs.get('language', None) self.words = kwargs['words'] self.appearance = kwargs.get('appearance', None) @@ -1166,10 +1158,10 @@ class TrainingDocumentInfo(msrest.serialization.Model): :param pages: Required. Total number of pages trained. :type pages: int :param errors: Required. List of errors. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ErrorInformation] :param status: Required. Status of the training operation. Possible values include: "succeeded", "partiallySucceeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.TrainStatus + :type status: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainStatus """ _validation = { @@ -1205,7 +1197,7 @@ class TrainRequest(msrest.serialization.Model): :param source: Required. Source path containing the training documents. :type source: str :param source_filter: Filter to apply to the documents in the source path for training. - :type source_filter: ~azure.ai.formrecognizer.models.TrainSourceFilter + :type source_filter: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainSourceFilter :param use_label_file: Use label file for training a model. :type use_label_file: bool :param model_name: Optional user defined model name (max length: 1024). @@ -1241,16 +1233,17 @@ class TrainResult(msrest.serialization.Model): :param training_documents: Required. List of the documents used to train the model and any errors reported in each document. - :type training_documents: list[~azure.ai.formrecognizer.models.TrainingDocumentInfo] + :type training_documents: + list[~azure.ai.formrecognizer.v2_1_preview_3.models.TrainingDocumentInfo] :param fields: List of fields used to train the model and the train operation error reported by each. - :type fields: list[~azure.ai.formrecognizer.models.FormFieldsReport] + :type fields: list[~azure.ai.formrecognizer.v2_1_preview_3.models.FormFieldsReport] :param average_model_accuracy: Average accuracy. :type average_model_accuracy: float :param model_id: Model identifier. :type model_id: str :param errors: Errors returned during the training operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ErrorInformation] """ _validation = { diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/_models_py3.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/_models_py3.py similarity index 92% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/_models_py3.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/_models_py3.py index a8132b91841d..0adf91a889ef 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/models/_models_py3.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/models/_models_py3.py @@ -22,14 +22,14 @@ class AnalyzeOperationResult(msrest.serialization.Model): :param status: Required. Operation status. Possible values include: "notStarted", "running", "succeeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.OperationStatus + :type status: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.OperationStatus :param created_date_time: Required. Date and time (UTC) when the analyze operation was submitted. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. :type last_updated_date_time: ~datetime.datetime :param analyze_result: Results of the analyze operation. - :type analyze_result: ~azure.ai.formrecognizer.models.AnalyzeResult + :type analyze_result: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeResult """ _validation = { @@ -69,13 +69,13 @@ class AnalyzeResult(msrest.serialization.Model): :param version: Required. Version of schema used for this result. :type version: str :param read_results: Required. Text extracted from the input. - :type read_results: list[~azure.ai.formrecognizer.models.ReadResult] + :type read_results: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ReadResult] :param page_results: Page-level information extracted from the input. - :type page_results: list[~azure.ai.formrecognizer.models.PageResult] + :type page_results: list[~azure.ai.formrecognizer.v2_1_preview_3.models.PageResult] :param document_results: Document-level information extracted from the input. - :type document_results: list[~azure.ai.formrecognizer.models.DocumentResult] + :type document_results: list[~azure.ai.formrecognizer.v2_1_preview_3.models.DocumentResult] :param errors: List of errors reported during the analyze operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ErrorInformation] """ _validation = { @@ -115,7 +115,7 @@ class Appearance(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param style: Required. An object representing the style of the text line. - :type style: ~azure.ai.formrecognizer.models.Style + :type style: ~azure.ai.formrecognizer.v2_1_preview_3.models.Style """ _validation = { @@ -236,13 +236,13 @@ class CopyOperationResult(msrest.serialization.Model): :param status: Required. Operation status. Possible values include: "notStarted", "running", "succeeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.OperationStatus + :type status: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.OperationStatus :param created_date_time: Required. Date and time (UTC) when the copy operation was submitted. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. :type last_updated_date_time: ~datetime.datetime :param copy_result: Results of the copy operation. - :type copy_result: ~azure.ai.formrecognizer.models.CopyResult + :type copy_result: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyResult """ _validation = { @@ -286,7 +286,8 @@ class CopyRequest(msrest.serialization.Model): region name supported by Cognitive Services. :type target_resource_region: str :param copy_authorization: Required. Entity that encodes claims to authorize the copy request. - :type copy_authorization: ~azure.ai.formrecognizer.models.CopyAuthorizationResult + :type copy_authorization: + ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyAuthorizationResult """ _validation = { @@ -323,7 +324,7 @@ class CopyResult(msrest.serialization.Model): :param model_id: Required. Identifier of the target model. :type model_id: str :param errors: Errors returned during the copy operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ErrorInformation] """ _validation = { @@ -357,7 +358,7 @@ class DataTable(msrest.serialization.Model): :param columns: Required. Number of columns. :type columns: int :param cells: Required. List of cells contained in the table. - :type cells: list[~azure.ai.formrecognizer.models.DataTableCell] + :type cells: list[~azure.ai.formrecognizer.v2_1_preview_3.models.DataTableCell] :param bounding_box: Required. Bounding box of the table. :type bounding_box: list[float] """ @@ -485,7 +486,7 @@ class DocumentResult(msrest.serialization.Model): :param doc_type_confidence: Predicted document type confidence. :type doc_type_confidence: float :param fields: Required. Dictionary of named field values. - :type fields: dict[str, ~azure.ai.formrecognizer.models.FieldValue] + :type fields: dict[str, ~azure.ai.formrecognizer.v2_1_preview_3.models.FieldValue] """ _validation = { @@ -560,7 +561,7 @@ class ErrorResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param error: Required. - :type error: ~azure.ai.formrecognizer.models.ErrorInformation + :type error: ~azure.ai.formrecognizer.v2_1_preview_3.models.ErrorInformation """ _validation = { @@ -588,7 +589,7 @@ class FieldValue(msrest.serialization.Model): :param type: Required. Type of field value. Possible values include: "string", "date", "time", "phoneNumber", "number", "integer", "array", "object", "selectionMark". - :type type: str or ~azure.ai.formrecognizer.models.FieldValueType + :type type: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.FieldValueType :param value_string: String value. :type value_string: str :param value_date: Date value. @@ -602,12 +603,13 @@ class FieldValue(msrest.serialization.Model): :param value_integer: Integer value. :type value_integer: int :param value_array: Array of field values. - :type value_array: list[~azure.ai.formrecognizer.models.FieldValue] + :type value_array: list[~azure.ai.formrecognizer.v2_1_preview_3.models.FieldValue] :param value_object: Dictionary of named field values. - :type value_object: dict[str, ~azure.ai.formrecognizer.models.FieldValue] + :type value_object: dict[str, ~azure.ai.formrecognizer.v2_1_preview_3.models.FieldValue] :param value_selection_mark: Selection mark value. Possible values include: "selected", "unselected". - :type value_selection_mark: str or ~azure.ai.formrecognizer.models.FieldValueSelectionMark + :type value_selection_mark: str or + ~azure.ai.formrecognizer.v2_1_preview_3.models.FieldValueSelectionMark :param text: Text content of the extracted field. :type text: str :param bounding_box: Bounding box of the field value, if appropriate. @@ -751,7 +753,7 @@ class KeyValueElement(msrest.serialization.Model): :param type: Semantic data type of the key value element. Possible values include: "string", "selectionMark". - :type type: str or ~azure.ai.formrecognizer.models.KeyValueType + :type type: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.KeyValueType :param text: Required. The text content of the key or value. :type text: str :param bounding_box: Bounding box of the key or value. @@ -797,9 +799,9 @@ class KeyValuePair(msrest.serialization.Model): :param label: A user defined label for the key/value pair entry. :type label: str :param key: Required. Information about the extracted key in a key-value pair. - :type key: ~azure.ai.formrecognizer.models.KeyValueElement + :type key: ~azure.ai.formrecognizer.v2_1_preview_3.models.KeyValueElement :param value: Required. Information about the extracted value in a key-value pair. - :type value: ~azure.ai.formrecognizer.models.KeyValueElement + :type value: ~azure.ai.formrecognizer.v2_1_preview_3.models.KeyValueElement :param confidence: Required. Confidence value. :type confidence: float """ @@ -839,13 +841,13 @@ class Model(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param model_info: Required. Basic custom model information. - :type model_info: ~azure.ai.formrecognizer.models.ModelInfo + :type model_info: ~azure.ai.formrecognizer.v2_1_preview_3.models.ModelInfo :param keys: Keys extracted by the custom model. - :type keys: ~azure.ai.formrecognizer.models.KeysResult + :type keys: ~azure.ai.formrecognizer.v2_1_preview_3.models.KeysResult :param train_result: Training result for custom model. - :type train_result: ~azure.ai.formrecognizer.models.TrainResult + :type train_result: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainResult :param composed_train_results: Training result for composed model. - :type composed_train_results: list[~azure.ai.formrecognizer.models.TrainResult] + :type composed_train_results: list[~azure.ai.formrecognizer.v2_1_preview_3.models.TrainResult] """ _validation = { @@ -884,7 +886,7 @@ class ModelInfo(msrest.serialization.Model): :type model_id: str :param status: Required. Status of the model. Possible values include: "creating", "ready", "invalid". - :type status: str or ~azure.ai.formrecognizer.models.ModelStatus + :type status: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.ModelStatus :param created_date_time: Required. Date and time (UTC) when the model was created. :type created_date_time: ~datetime.datetime :param last_updated_date_time: Required. Date and time (UTC) when the status was last updated. @@ -892,7 +894,7 @@ class ModelInfo(msrest.serialization.Model): :param model_name: Optional user defined model name (max length: 1024). :type model_name: str :param attributes: Optional model attributes. - :type attributes: ~azure.ai.formrecognizer.models.Attributes + :type attributes: ~azure.ai.formrecognizer.v2_1_preview_3.models.Attributes """ _validation = { @@ -935,9 +937,9 @@ class Models(msrest.serialization.Model): """Response to the list custom models operation. :param summary: Summary of all trained custom models. - :type summary: ~azure.ai.formrecognizer.models.ModelsSummary + :type summary: ~azure.ai.formrecognizer.v2_1_preview_3.models.ModelsSummary :param model_list: Collection of trained custom models. - :type model_list: list[~azure.ai.formrecognizer.models.ModelInfo] + :type model_list: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ModelInfo] :param next_link: Link to the next page of custom models. :type next_link: str """ @@ -1011,9 +1013,9 @@ class PageResult(msrest.serialization.Model): :param cluster_id: Cluster identifier. :type cluster_id: int :param key_value_pairs: List of key-value pairs extracted from the page. - :type key_value_pairs: list[~azure.ai.formrecognizer.models.KeyValuePair] + :type key_value_pairs: list[~azure.ai.formrecognizer.v2_1_preview_3.models.KeyValuePair] :param tables: List of data tables extracted from the page. - :type tables: list[~azure.ai.formrecognizer.models.DataTable] + :type tables: list[~azure.ai.formrecognizer.v2_1_preview_3.models.DataTable] """ _validation = { @@ -1061,18 +1063,15 @@ class ReadResult(msrest.serialization.Model): :param unit: Required. The unit used by the width, height and boundingBox properties. For images, the unit is "pixel". For PDF, the unit is "inch". Possible values include: "pixel", "inch". - :type unit: str or ~azure.ai.formrecognizer.models.LengthUnit - :param language: The detected language on the page overall. Possible values include: "en", - "es", "de", "fr", "it", "nl", "pt", "zh-Hans". - :type language: str or ~azure.ai.formrecognizer.models.Language + :type unit: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.LengthUnit :param lines: When includeTextDetails is set to true, a list of recognized text lines. The maximum number of lines returned is 300 per page. The lines are sorted top to bottom, left to right, although in certain cases proximity is treated with higher priority. As the sorting order depends on the detected text, it may change across images and OCR version updates. Thus, business logic should be built upon the actual line location instead of order. - :type lines: list[~azure.ai.formrecognizer.models.TextLine] + :type lines: list[~azure.ai.formrecognizer.v2_1_preview_3.models.TextLine] :param selection_marks: List of selection marks extracted from the page. - :type selection_marks: list[~azure.ai.formrecognizer.models.SelectionMark] + :type selection_marks: list[~azure.ai.formrecognizer.v2_1_preview_3.models.SelectionMark] """ _validation = { @@ -1089,7 +1088,6 @@ class ReadResult(msrest.serialization.Model): 'width': {'key': 'width', 'type': 'float'}, 'height': {'key': 'height', 'type': 'float'}, 'unit': {'key': 'unit', 'type': 'str'}, - 'language': {'key': 'language', 'type': 'str'}, 'lines': {'key': 'lines', 'type': '[TextLine]'}, 'selection_marks': {'key': 'selectionMarks', 'type': '[SelectionMark]'}, } @@ -1102,7 +1100,6 @@ def __init__( width: float, height: float, unit: Union[str, "LengthUnit"], - language: Optional[Union[str, "Language"]] = None, lines: Optional[List["TextLine"]] = None, selection_marks: Optional[List["SelectionMark"]] = None, **kwargs @@ -1113,7 +1110,6 @@ def __init__( self.width = width self.height = height self.unit = unit - self.language = language self.lines = lines self.selection_marks = selection_marks @@ -1129,7 +1125,7 @@ class SelectionMark(msrest.serialization.Model): :type confidence: float :param state: Required. State of the selection mark. Possible values include: "selected", "unselected". - :type state: str or ~azure.ai.formrecognizer.models.SelectionMarkState + :type state: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.SelectionMarkState """ _validation = { @@ -1190,7 +1186,7 @@ class Style(msrest.serialization.Model): :param name: Required. The text line style name, including handwriting and other. Possible values include: "other", "handwriting". - :type name: str or ~azure.ai.formrecognizer.models.TextStyle + :type name: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.TextStyle :param confidence: Required. The confidence of text line style. :type confidence: float """ @@ -1226,13 +1222,10 @@ class TextLine(msrest.serialization.Model): :type text: str :param bounding_box: Required. Bounding box of an extracted line. :type bounding_box: list[float] - :param language: The detected language of this line, if different from the overall page - language. Possible values include: "en", "es", "de", "fr", "it", "nl", "pt", "zh-Hans". - :type language: str or ~azure.ai.formrecognizer.models.Language :param words: Required. List of words in the text line. - :type words: list[~azure.ai.formrecognizer.models.TextWord] + :type words: list[~azure.ai.formrecognizer.v2_1_preview_3.models.TextWord] :param appearance: Text appearance properties. - :type appearance: ~azure.ai.formrecognizer.models.Appearance + :type appearance: ~azure.ai.formrecognizer.v2_1_preview_3.models.Appearance """ _validation = { @@ -1244,7 +1237,6 @@ class TextLine(msrest.serialization.Model): _attribute_map = { 'text': {'key': 'text', 'type': 'str'}, 'bounding_box': {'key': 'boundingBox', 'type': '[float]'}, - 'language': {'key': 'language', 'type': 'str'}, 'words': {'key': 'words', 'type': '[TextWord]'}, 'appearance': {'key': 'appearance', 'type': 'Appearance'}, } @@ -1255,14 +1247,12 @@ def __init__( text: str, bounding_box: List[float], words: List["TextWord"], - language: Optional[Union[str, "Language"]] = None, appearance: Optional["Appearance"] = None, **kwargs ): super(TextLine, self).__init__(**kwargs) self.text = text self.bounding_box = bounding_box - self.language = language self.words = words self.appearance = appearance @@ -1316,10 +1306,10 @@ class TrainingDocumentInfo(msrest.serialization.Model): :param pages: Required. Total number of pages trained. :type pages: int :param errors: Required. List of errors. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ErrorInformation] :param status: Required. Status of the training operation. Possible values include: "succeeded", "partiallySucceeded", "failed". - :type status: str or ~azure.ai.formrecognizer.models.TrainStatus + :type status: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainStatus """ _validation = { @@ -1360,7 +1350,7 @@ class TrainRequest(msrest.serialization.Model): :param source: Required. Source path containing the training documents. :type source: str :param source_filter: Filter to apply to the documents in the source path for training. - :type source_filter: ~azure.ai.formrecognizer.models.TrainSourceFilter + :type source_filter: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainSourceFilter :param use_label_file: Use label file for training a model. :type use_label_file: bool :param model_name: Optional user defined model name (max length: 1024). @@ -1401,16 +1391,17 @@ class TrainResult(msrest.serialization.Model): :param training_documents: Required. List of the documents used to train the model and any errors reported in each document. - :type training_documents: list[~azure.ai.formrecognizer.models.TrainingDocumentInfo] + :type training_documents: + list[~azure.ai.formrecognizer.v2_1_preview_3.models.TrainingDocumentInfo] :param fields: List of fields used to train the model and the train operation error reported by each. - :type fields: list[~azure.ai.formrecognizer.models.FormFieldsReport] + :type fields: list[~azure.ai.formrecognizer.v2_1_preview_3.models.FormFieldsReport] :param average_model_accuracy: Average accuracy. :type average_model_accuracy: float :param model_id: Model identifier. :type model_id: str :param errors: Errors returned during the training operation. - :type errors: list[~azure.ai.formrecognizer.models.ErrorInformation] + :type errors: list[~azure.ai.formrecognizer.v2_1_preview_3.models.ErrorInformation] """ _validation = { diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/operations/__init__.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/operations/__init__.py similarity index 100% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/operations/__init__.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/operations/__init__.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/operations/_form_recognizer_client_operations.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/operations/_form_recognizer_client_operations.py similarity index 74% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/operations/_form_recognizer_client_operations.py rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/operations/_form_recognizer_client_operations.py index 225081ac70a1..55d5a31df492 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/operations/_form_recognizer_client_operations.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/operations/_form_recognizer_client_operations.py @@ -15,7 +15,7 @@ from azure.core.polling import LROPoller, NoPolling, PollingMethod from azure.core.polling.base_polling import LROBasePolling -from .. import models +from .. import models as _models if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -28,7 +28,7 @@ class FormRecognizerClientOperationsMixin(object): def _train_custom_model_async_initial( self, - train_request, # type: "models.TrainRequest" + train_request, # type: "_models.TrainRequest" **kwargs # type: Any ): # type: (...) -> None @@ -64,7 +64,7 @@ def _train_custom_model_async_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -77,7 +77,7 @@ def _train_custom_model_async_initial( def begin_train_custom_model_async( self, - train_request, # type: "models.TrainRequest" + train_request, # type: "_models.TrainRequest" **kwargs # type: Any ): # type: (...) -> LROPoller[None] @@ -90,15 +90,15 @@ def begin_train_custom_model_async( configuration setting value e.g., if '{Mounts:Input}' configuration setting value is '/input' then a valid source path would be '/input/contosodataset'. All data to be trained is expected to be under the source folder or sub folders under it. Models are trained using documents that - are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff'. - Other type of content is ignored. + are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' + or 'image/bmp'. Other type of content is ignored. :param train_request: Training request parameters. - :type train_request: ~azure.ai.formrecognizer.models.TrainRequest + :type train_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.TrainRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -150,7 +150,7 @@ def get_custom_model( include_keys=False, # type: Optional[bool] **kwargs # type: Any ): - # type: (...) -> "models.Model" + # type: (...) -> "_models.Model" """Get Custom Model. Get detailed information about a custom model. @@ -161,10 +161,10 @@ def get_custom_model( :type include_keys: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: Model, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Model + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Model :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Model"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Model"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -194,7 +194,7 @@ def get_custom_model( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('Model', pipeline_response) @@ -251,7 +251,7 @@ def delete_custom_model( if response.status_code not in [204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) if cls: @@ -263,7 +263,8 @@ def _analyze_with_custom_model_initial( self, model_id, # type: str include_text_details=False, # type: Optional[bool] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> None @@ -287,6 +288,8 @@ def _analyze_with_custom_model_initial( query_parameters = {} # type: Dict[str, Any] if include_text_details is not None: query_parameters['includeTextDetails'] = self._serialize.query("include_text_details", include_text_details, 'bool') + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -294,7 +297,7 @@ def _analyze_with_custom_model_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - if header_parameters['Content-Type'].split(";")[0] in ['application/pdf', 'image/jpeg', 'image/png', 'image/tiff']: + if header_parameters['Content-Type'].split(";")[0] in ['application/pdf', 'image/bmp', 'image/jpeg', 'image/png', 'image/tiff']: body_content_kwargs['stream_content'] = file_stream elif header_parameters['Content-Type'].split(";")[0] in ['application/json']: if file_stream is not None: @@ -305,7 +308,7 @@ def _analyze_with_custom_model_initial( else: raise ValueError( "The content_type '{}' is not one of the allowed values: " - "['application/pdf', 'image/jpeg', 'image/png', 'image/tiff', 'application/json']".format(header_parameters['Content-Type']) + "['application/pdf', 'image/bmp', 'image/jpeg', 'image/png', 'image/tiff', 'application/json']".format(header_parameters['Content-Type']) ) request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -313,7 +316,7 @@ def _analyze_with_custom_model_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -328,29 +331,34 @@ def begin_analyze_with_custom_model( self, model_id, # type: str include_text_details=False, # type: Optional[bool] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> LROPoller[None] """Analyze Form. Extract key-value pairs, tables, and semantic values from a given document. The input document - must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri or local - path) of the document to be analyzed. + must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri or local path) of the document to be analyzed. :param model_id: Model identifier. :type model_id: str :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". - Allowed values are: "application/pdf", "image/jpeg", "image/png", "image/tiff", "application/json". + Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -368,6 +376,7 @@ def begin_analyze_with_custom_model( raw_result = self._analyze_with_custom_model_initial( model_id=model_id, include_text_details=include_text_details, + pages=pages, file_stream=file_stream, cls=lambda x,y,z: x, **kwargs @@ -405,7 +414,7 @@ def get_analyze_form_result( result_id, # type: str **kwargs # type: Any ): - # type: (...) -> "models.AnalyzeOperationResult" + # type: (...) -> "_models.AnalyzeOperationResult" """Get Analyze Form Result. Obtain current status and the result of the analyze form operation. @@ -416,10 +425,10 @@ def get_analyze_form_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -448,7 +457,7 @@ def get_analyze_form_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -462,7 +471,7 @@ def get_analyze_form_result( def _copy_custom_model_initial( self, model_id, # type: str - copy_request, # type: "models.CopyRequest" + copy_request, # type: "_models.CopyRequest" **kwargs # type: Any ): # type: (...) -> None @@ -499,7 +508,7 @@ def _copy_custom_model_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -513,7 +522,7 @@ def _copy_custom_model_initial( def begin_copy_custom_model( self, model_id, # type: str - copy_request, # type: "models.CopyRequest" + copy_request, # type: "_models.CopyRequest" **kwargs # type: Any ): # type: (...) -> LROPoller[None] @@ -525,11 +534,11 @@ def begin_copy_custom_model( :param model_id: Model identifier. :type model_id: str :param copy_request: Copy request parameters. - :type copy_request: ~azure.ai.formrecognizer.models.CopyRequest + :type copy_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -583,7 +592,7 @@ def get_custom_model_copy_result( result_id, # type: str **kwargs # type: Any ): - # type: (...) -> "models.CopyOperationResult" + # type: (...) -> "_models.CopyOperationResult" """Get Custom Model Copy Result. Obtain current status and the result of a custom model copy operation. @@ -594,10 +603,10 @@ def get_custom_model_copy_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.CopyOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CopyOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -626,7 +635,7 @@ def get_custom_model_copy_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('CopyOperationResult', pipeline_response) @@ -641,17 +650,17 @@ def generate_model_copy_authorization( self, **kwargs # type: Any ): - # type: (...) -> "models.CopyAuthorizationResult" + # type: (...) -> "_models.CopyAuthorizationResult" """Generate Copy Authorization. Generate authorization to copy a model into the target Form Recognizer resource. :keyword callable cls: A custom type or function that will be passed the direct response :return: CopyAuthorizationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.CopyAuthorizationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.CopyAuthorizationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.CopyAuthorizationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CopyAuthorizationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -678,7 +687,7 @@ def generate_model_copy_authorization( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -693,7 +702,7 @@ def generate_model_copy_authorization( def _compose_custom_models_async_initial( self, - compose_request, # type: "models.ComposeRequest" + compose_request, # type: "_models.ComposeRequest" **kwargs # type: Any ): # type: (...) -> None @@ -729,7 +738,7 @@ def _compose_custom_models_async_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -742,7 +751,7 @@ def _compose_custom_models_async_initial( def begin_compose_custom_models_async( self, - compose_request, # type: "models.ComposeRequest" + compose_request, # type: "_models.ComposeRequest" **kwargs # type: Any ): # type: (...) -> LROPoller[None] @@ -753,11 +762,11 @@ def begin_compose_custom_models_async( It would validate limit of models put together. :param compose_request: Compose models. - :type compose_request: ~azure.ai.formrecognizer.models.ComposeRequest + :type compose_request: ~azure.ai.formrecognizer.v2_1_preview_3.models.ComposeRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -806,8 +815,9 @@ def get_long_running_output(pipeline_response): def _analyze_business_card_async_initial( self, include_text_details=False, # type: Optional[bool] - locale=None, # type: Optional[Union[str, "models.Locale"]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + locale=None, # type: Optional[Union[str, "_models.Locale"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> None @@ -832,6 +842,8 @@ def _analyze_business_card_async_initial( query_parameters['includeTextDetails'] = self._serialize.query("include_text_details", include_text_details, 'bool') if locale is not None: query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -858,7 +870,7 @@ def _analyze_business_card_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -872,31 +884,36 @@ def _analyze_business_card_async_initial( def begin_analyze_business_card_async( self, include_text_details=False, # type: Optional[bool] - locale=None, # type: Optional[Union[str, "models.Locale"]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + locale=None, # type: Optional[Union[str, "_models.Locale"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> LROPoller[None] """Analyze Business Card. Extract field text and semantic values from a given business card document. The input document - must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -914,6 +931,7 @@ def begin_analyze_business_card_async( raw_result = self._analyze_business_card_async_initial( include_text_details=include_text_details, locale=locale, + pages=pages, file_stream=file_stream, cls=lambda x,y,z: x, **kwargs @@ -949,7 +967,7 @@ def get_analyze_business_card_result( result_id, # type: str **kwargs # type: Any ): - # type: (...) -> "models.AnalyzeOperationResult" + # type: (...) -> "_models.AnalyzeOperationResult" """Get Analyze Business Card Result. Track the progress and obtain the result of the analyze business card operation. @@ -958,10 +976,10 @@ def get_analyze_business_card_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -989,7 +1007,7 @@ def get_analyze_business_card_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -1003,8 +1021,9 @@ def get_analyze_business_card_result( def _analyze_invoice_async_initial( self, include_text_details=False, # type: Optional[bool] - locale=None, # type: Optional[Union[str, "models.Locale"]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + locale=None, # type: Optional[Union[str, "_models.Locale"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> None @@ -1029,6 +1048,8 @@ def _analyze_invoice_async_initial( query_parameters['includeTextDetails'] = self._serialize.query("include_text_details", include_text_details, 'bool') if locale is not None: query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -1055,7 +1076,7 @@ def _analyze_invoice_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -1069,31 +1090,36 @@ def _analyze_invoice_async_initial( def begin_analyze_invoice_async( self, include_text_details=False, # type: Optional[bool] - locale=None, # type: Optional[Union[str, "models.Locale"]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + locale=None, # type: Optional[Union[str, "_models.Locale"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> LROPoller[None] """Analyze Invoice Document. Extract field text and semantic values from a given invoice document. The input document must - be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1111,6 +1137,7 @@ def begin_analyze_invoice_async( raw_result = self._analyze_invoice_async_initial( include_text_details=include_text_details, locale=locale, + pages=pages, file_stream=file_stream, cls=lambda x,y,z: x, **kwargs @@ -1146,7 +1173,7 @@ def get_analyze_invoice_result( result_id, # type: str **kwargs # type: Any ): - # type: (...) -> "models.AnalyzeOperationResult" + # type: (...) -> "_models.AnalyzeOperationResult" """Get Analyze Invoice Result. Track the progress and obtain the result of the analyze invoice operation. @@ -1155,10 +1182,10 @@ def get_analyze_invoice_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1186,7 +1213,7 @@ def get_analyze_invoice_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -1197,11 +1224,210 @@ def get_analyze_invoice_result( return deserialized get_analyze_invoice_result.metadata = {'url': '/prebuilt/invoice/analyzeResults/{resultId}'} # type: ignore + def _analyze_id_document_async_initial( + self, + include_text_details=False, # type: Optional[bool] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._analyze_id_document_async_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if include_text_details is not None: + query_parameters['includeTextDetails'] = self._serialize.query("include_text_details", include_text_details, 'bool') + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if header_parameters['Content-Type'].split(";")[0] in ['application/pdf', 'image/bmp', 'image/jpeg', 'image/png', 'image/tiff']: + body_content_kwargs['stream_content'] = file_stream + elif header_parameters['Content-Type'].split(";")[0] in ['application/json']: + if file_stream is not None: + body_content = self._serialize.body(file_stream, 'SourcePath') + else: + body_content = None + body_content_kwargs['content'] = body_content + else: + raise ValueError( + "The content_type '{}' is not one of the allowed values: " + "['application/pdf', 'image/bmp', 'image/jpeg', 'image/png', 'image/tiff', 'application/json']".format(header_parameters['Content-Type']) + ) + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + response_headers = {} + response_headers['Operation-Location']=self._deserialize('str', response.headers.get('Operation-Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _analyze_id_document_async_initial.metadata = {'url': '/prebuilt/idDocument/analyze'} # type: ignore + + def begin_analyze_id_document_async( + self, + include_text_details=False, # type: Optional[bool] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Analyze ID Document. + + Extract field text and semantic values from a given ID document. The input document must be of + one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff' + or 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri) of the + document to be analyzed. + + :param include_text_details: Include text lines and element references in the result. + :type include_text_details: bool + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath + :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". + Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', False) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._analyze_id_document_async_initial( + include_text_details=include_text_details, + pages=pages, + file_stream=file_stream, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + } + + if polling is True: polling_method = LROBasePolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_analyze_id_document_async.metadata = {'url': '/prebuilt/idDocument/analyze'} # type: ignore + + def get_analyze_id_document_result( + self, + result_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.AnalyzeOperationResult" + """Get Analyze ID Document Result. + + Track the progress and obtain the result of the analyze ID operation. + + :param result_id: Analyze operation result identifier. + :type result_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AnalyzeOperationResult, or the result of cls(response) + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + accept = "application/json" + + # Construct URL + url = self.get_analyze_id_document_result.metadata['url'] # type: ignore + path_format_arguments = { + 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), + 'resultId': self._serialize.url("result_id", result_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_analyze_id_document_result.metadata = {'url': '/prebuilt/idDocument/analyzeResults/{resultId}'} # type: ignore + def _analyze_receipt_async_initial( self, include_text_details=False, # type: Optional[bool] - locale=None, # type: Optional[Union[str, "models.Locale"]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + locale=None, # type: Optional[Union[str, "_models.Locale"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> None @@ -1226,6 +1452,8 @@ def _analyze_receipt_async_initial( query_parameters['includeTextDetails'] = self._serialize.query("include_text_details", include_text_details, 'bool') if locale is not None: query_parameters['locale'] = self._serialize.query("locale", locale, 'str') + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -1252,7 +1480,7 @@ def _analyze_receipt_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -1266,31 +1494,36 @@ def _analyze_receipt_async_initial( def begin_analyze_receipt_async( self, include_text_details=False, # type: Optional[bool] - locale=None, # type: Optional[Union[str, "models.Locale"]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + locale=None, # type: Optional[Union[str, "_models.Locale"]] + pages=None, # type: Optional[List[str]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> LROPoller[None] """Analyze Receipt. Extract field text and semantic values from a given receipt document. The input document must - be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or - 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri) of the - document to be analyzed. + be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png', + 'image/tiff' or 'image/bmp'. Alternatively, use 'application/json' type to specify the location + (Uri) of the document to be analyzed. :param include_text_details: Include text lines and element references in the result. :type include_text_details: bool :param locale: Locale of the input document. Supported locales include: en-AU, en-CA, en-GB, en-IN, en-US(default). - :type locale: str or ~azure.ai.formrecognizer.models.Locale - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :type locale: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Locale + :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the + pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or + range with a comma. + :type pages: list[str] + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1308,6 +1541,7 @@ def begin_analyze_receipt_async( raw_result = self._analyze_receipt_async_initial( include_text_details=include_text_details, locale=locale, + pages=pages, file_stream=file_stream, cls=lambda x,y,z: x, **kwargs @@ -1343,7 +1577,7 @@ def get_analyze_receipt_result( result_id, # type: str **kwargs # type: Any ): - # type: (...) -> "models.AnalyzeOperationResult" + # type: (...) -> "_models.AnalyzeOperationResult" """Get Analyze Receipt Result. Track the progress and obtain the result of the analyze receipt operation. @@ -1352,10 +1586,10 @@ def get_analyze_receipt_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1383,7 +1617,7 @@ def get_analyze_receipt_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -1396,9 +1630,10 @@ def get_analyze_receipt_result( def _analyze_layout_async_initial( self, - language=None, # type: Optional[Union[str, "models.Language"]] pages=None, # type: Optional[List[str]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + language=None, # type: Optional[Union[str, "_models.Language"]] + reading_order="basic", # type: Optional[Union[str, "_models.ReadingOrder"]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> None @@ -1419,10 +1654,12 @@ def _analyze_layout_async_initial( # Construct parameters query_parameters = {} # type: Dict[str, Any] + if pages is not None: + query_parameters['pages'] = self._serialize.query("pages", pages, '[str]', div=',') if language is not None: query_parameters['language'] = self._serialize.query("language", language, 'str') - if pages is not None: - query_parameters['Pages'] = self._serialize.query("pages", pages, '[str]', div=',') + if reading_order is not None: + query_parameters['readingOrder'] = self._serialize.query("reading_order", reading_order, 'str') # Construct headers header_parameters = {} # type: Dict[str, Any] @@ -1449,7 +1686,7 @@ def _analyze_layout_async_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) response_headers = {} @@ -1462,9 +1699,10 @@ def _analyze_layout_async_initial( def begin_analyze_layout_async( self, - language=None, # type: Optional[Union[str, "models.Language"]] pages=None, # type: Optional[List[str]] - file_stream=None, # type: Optional[Union[IO, "models.SourcePath"]] + language=None, # type: Optional[Union[str, "_models.Language"]] + reading_order="basic", # type: Optional[Union[str, "_models.ReadingOrder"]] + file_stream=None, # type: Optional[Union[IO, "_models.SourcePath"]] **kwargs # type: Any ): # type: (...) -> LROPoller[None] @@ -1475,25 +1713,40 @@ def begin_analyze_layout_async( 'image/bmp'. Alternatively, use 'application/json' type to specify the location (Uri or local path) of the document to be analyzed. - :param language: The BCP-47 language code of the text in the document. Currently, only English - ('en'), Dutch (‘nl’), French (‘fr’), German (‘de’), Italian (‘it’), Portuguese (‘pt'), - simplified Chinese ('zh-Hans') and Spanish ('es') are supported (print – nine languages and - handwritten – English only). Layout supports auto language identification and multi language - documents, so only provide a language code if you would like to force the documented to be - processed as that specific language. - :type language: str or ~azure.ai.formrecognizer.models.Language :param pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or - range with a comma or space. + range with a comma. :type pages: list[str] - :param file_stream: .json, .pdf, .jpg, .png or .tiff type file stream. - :type file_stream: IO or ~azure.ai.formrecognizer.models.SourcePath + :param language: Currently, only Afrikaans (‘af’), Albanian (‘sq’), Asturian (‘ast’), Basque + (‘eu’), Bislama (‘bi’), Breton (‘br’), Catalan (‘ca’), Cebuano (‘ceb’), Chamorro (‘ch’), + Cornish (‘kw’), Corsican (‘co’), Crimean Tatar - Latin script(‘crh’), Czech (‘cs’), Danish + (‘da’), Dutch (‘nl’), English ('en'), Estonian (‘et’), Fijian (‘fj’), Filipino (‘fil’), Finnish + (‘fi’), French (‘fr’), Friulian (‘fur’), Galician (‘gl’), German (‘de’), Gilbertese (‘gil’), + Greenlandic (‘kl’), Haitian Creole (‘ht’), Hani (‘hni’), Hmong Daw (‘mww’), Hungarian (‘hu’), + Indonesian (‘id’), Interlingua (‘ia’), Inuktitut (‘iu’), Irish (‘ga’), Italian (‘it’), Japanese + (‘ja’), Javanese (‘jv’), Kabuverdianu (‘kea’), Kachin (‘kac’), Kara-Kalpak (‘kaa’), Kashubian + (‘csb’), Khasi (‘kha’), Korean (‘ko’), Kurdish - Latin script (‘ku’), K’iche’ (‘quc’), + Luxembourgish (‘lb’), Malay (‘ms’), Manx (‘gv’), Neapolitan (‘nap’), Norwegian (‘no’), Occitan + (‘oc’), Polish (‘pl’), Portuguese (‘pt’), Romansh (‘rm’), Scots (‘sco’), Scottish Gaelic + (‘gd’), simplified Chinese (‘zh-Hans’), Slovenian (‘sl’), Spanish (‘es’), Swahili (‘sw’), + Swedish (‘sv’), Tatar - Latin script (‘tt’), Tetum (‘tet’), traditional Chinese (‘zh-Hant’), + Turkish (‘tr’), Upper Sorbian (‘hsb’), Uzbek (‘uz’), Volapük (‘vo’), Walser (‘wae’), Western + Frisian (‘fy’), Yucatec Maya (‘yua’), Zhuang (‘za’) and Zulu (‘zu’) are supported (print – + seventy-three languages and handwritten – English only). Layout supports auto language + identification and multi language documents, so only provide a language code if you would like + to force the documented to be processed as that specific language. + :type language: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.Language + :param reading_order: Reading order algorithm to sort the text lines returned. Supported + reading orders include: basic(default), natural. + :type reading_order: str or ~azure.ai.formrecognizer.v2_1_preview_3.models.ReadingOrder + :param file_stream: .json, .pdf, .jpg, .png, .tiff or .bmp type file stream. + :type file_stream: IO or ~azure.ai.formrecognizer.v2_1_preview_3.models.SourcePath :keyword str content_type: Media type of the body sent to the API. Default value is "application/json". Allowed values are: "application/pdf", "image/bmp", "image/jpeg", "image/png", "image/tiff", "application/json". :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the LROBasePolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1509,8 +1762,9 @@ def begin_analyze_layout_async( cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] if cont_token is None: raw_result = self._analyze_layout_async_initial( - language=language, pages=pages, + language=language, + reading_order=reading_order, file_stream=file_stream, cls=lambda x,y,z: x, **kwargs @@ -1546,7 +1800,7 @@ def get_analyze_layout_result( result_id, # type: str **kwargs # type: Any ): - # type: (...) -> "models.AnalyzeOperationResult" + # type: (...) -> "_models.AnalyzeOperationResult" """Get Analyze Layout Result. Track the progress and obtain the result of the analyze layout operation. @@ -1555,10 +1809,10 @@ def get_analyze_layout_result( :type result_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeOperationResult, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.AnalyzeOperationResult + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.AnalyzeOperationResult :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeOperationResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeOperationResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1586,7 +1840,7 @@ def get_analyze_layout_result( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeOperationResult', pipeline_response) @@ -1601,17 +1855,17 @@ def list_custom_models( self, **kwargs # type: Any ): - # type: (...) -> Iterable["models.Models"] + # type: (...) -> Iterable["_models.Models"] """List Custom Models. Get information about all custom models. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Models or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.ai.formrecognizer.models.Models] + :rtype: ~azure.core.paging.ItemPaged[~azure.ai.formrecognizer.v2_1_preview_3.models.Models] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Models"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Models"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1660,7 +1914,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error) @@ -1675,17 +1929,17 @@ def get_custom_models( self, **kwargs # type: Any ): - # type: (...) -> "models.Models" + # type: (...) -> "_models.Models" """Get Custom Models. Get information about all custom models. :keyword callable cls: A custom type or function that will be passed the direct response :return: Models, or the result of cls(response) - :rtype: ~azure.ai.formrecognizer.models.Models + :rtype: ~azure.ai.formrecognizer.v2_1_preview_3.models.Models :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Models"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Models"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } @@ -1714,7 +1968,7 @@ def get_custom_models( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('Models', pipeline_response) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/py.typed b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/py.typed similarity index 100% rename from sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_2/py.typed rename to sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_generated/v2_1_preview_3/py.typed diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_helpers.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_helpers.py index 19903cdd261f..0976fcb5dccb 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_helpers.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_helpers.py @@ -18,7 +18,7 @@ def _get_deserialize(api_version): if api_version == "2.0": from ._generated.v2_0 import FormRecognizerClient else: - from ._generated.v2_1_preview_2 import FormRecognizerClient + from ._generated.v2_1_preview_3 import FormRecognizerClient return FormRecognizerClient( # pylint: disable=protected-access "dummy", "dummy" )._deserialize diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py index de2ab1e36be6..67a66edb0218 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py @@ -90,6 +90,9 @@ async def begin_recognize_receipts( :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword str locale: Locale of the receipt. Supported locales include: en-US, en-AU, en-CA, en-GB, and en-IN. + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :return: An instance of an AsyncLROPoller. Call `result()` on the poller object to return a list[:class:`~azure.ai.formrecognizer.RecognizedForm`]. :rtype: ~azure.core.polling.AsyncLROPoller[list[~azure.ai.formrecognizer.RecognizedForm]] @@ -128,6 +131,18 @@ async def begin_recognize_receipts( "'locale' is only available for API version V2_1_PREVIEW and up" ) + pages = kwargs.pop("pages", None) + + # FIXME: part of this code will be removed once autorest can handle diff mixin + # signatures across API versions + if pages: + if self._api_version == FormRecognizerApiVersion.V2_1_PREVIEW: + kwargs.update({"pages": pages}) + else: + raise ValueError( + "'pages' is only available for API version V2_1_PREVIEW and up" + ) + return await self._client.begin_analyze_receipt_async( # type: ignore file_stream=receipt, content_type=content_type, @@ -157,6 +172,9 @@ async def begin_recognize_receipts_from_url( :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword str locale: Locale of the receipt. Supported locales include: en-US, en-AU, en-CA, en-GB, and en-IN. + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :return: An instance of an AsyncLROPoller. Call `result()` on the poller object to return a list[:class:`~azure.ai.formrecognizer.RecognizedForm`]. :rtype: ~azure.core.polling.AsyncLROPoller[list[~azure.ai.formrecognizer.RecognizedForm]] @@ -188,6 +206,18 @@ async def begin_recognize_receipts_from_url( "'locale' is only available for API version V2_1_PREVIEW and up" ) + pages = kwargs.pop("pages", None) + + # FIXME: part of this code will be removed once autorest can handle diff mixin + # signatures across API versions + if pages: + if self._api_version == FormRecognizerApiVersion.V2_1_PREVIEW: + kwargs.update({"pages": pages}) + else: + raise ValueError( + "'pages' is only available for API version V2_1_PREVIEW and up" + ) + return await self._client.begin_analyze_receipt_async( # type: ignore file_stream={"source": receipt_url}, include_text_details=include_field_elements, @@ -590,6 +620,9 @@ async def begin_recognize_custom_forms( auto-detected, but can be overridden by passing this keyword argument. For options, see :class:`~azure.ai.formrecognizer.FormContentType`. :paramtype content_type: str or ~azure.ai.formrecognizer.FormContentType + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -621,6 +654,18 @@ async def begin_recognize_custom_forms( "Call begin_recognize_custom_forms_from_url() to analyze a document from a URL." ) + pages = kwargs.pop("pages", None) + + # FIXME: part of this code will be removed once autorest can handle diff mixin + # signatures across API versions + if pages: + if self._api_version == FormRecognizerApiVersion.V2_1_PREVIEW: + kwargs.update({"pages": pages}) + else: + raise ValueError( + "'pages' is only available for API version V2_1_PREVIEW and up" + ) + include_field_elements = kwargs.pop("include_field_elements", False) if content_type is None and continuation_token is None: content_type = get_content_type(form) @@ -660,6 +705,9 @@ async def begin_recognize_custom_forms_from_url( :keyword bool include_field_elements: Whether or not to include all lines per page and field elements such as lines, words, and selection marks for each form field. + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -674,6 +722,19 @@ async def begin_recognize_custom_forms_from_url( polling_interval = kwargs.pop( "polling_interval", self._client._config.polling_interval ) + + pages = kwargs.pop("pages", None) + + # FIXME: part of this code will be removed once autorest can handle diff mixin + # signatures across API versions + if pages: + if self._api_version == FormRecognizerApiVersion.V2_1_PREVIEW: + kwargs.update({"pages": pages}) + else: + raise ValueError( + "'pages' is only available for API version V2_1_PREVIEW and up" + ) + continuation_token = kwargs.pop("continuation_token", None) include_field_elements = kwargs.pop("include_field_elements", False) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/setup.py b/sdk/formrecognizer/azure-ai-formrecognizer/setup.py index 2e4038f03b96..e80e1720cd20 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/setup.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/setup.py @@ -80,7 +80,7 @@ ]), install_requires=[ "azure-core<2.0.0,>=1.8.2", - "msrest>=0.6.12", + "msrest>=0.6.21", 'six>=1.11.0', 'azure-common~=1.1', ], diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/asynctestcase.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/asynctestcase.py index 73c070dfca25..9f31b816a9b4 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/asynctestcase.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/asynctestcase.py @@ -6,6 +6,7 @@ # license information. # -------------------------------------------------------------------------- +import os from azure.core.credentials import AccessToken from testcase import FormRecognizerTest @@ -27,9 +28,9 @@ def generate_oauth_token(self): if self.is_live: from azure.identity.aio import ClientSecretCredential return ClientSecretCredential( - self.get_settings_value("TENANT_ID"), - self.get_settings_value("CLIENT_ID"), - self.get_settings_value("CLIENT_SECRET"), + os.getenv("FORMRECOGNIZER_TENANT_ID"), + os.getenv("FORMRECOGNIZER_CLIENT_ID"), + os.getenv("FORMRECOGNIZER_CLIENT_SECRET"), ) return self.generate_fake_token() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_blank_page.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_blank_page.yaml index d4910f3d7abe..2a4b1a085b03 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_blank_page.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_blank_page.yaml @@ -468,27 +468,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 3195f61d-7f70-4d17-824a-ed34ab26e7ad + - 0d919899-1ba7-4fe0-bb35-24c6fab5e584 content-length: - '0' date: - - Thu, 29 Oct 2020 23:31:55 GMT + - Mon, 01 Mar 2021 18:47:18 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/3195f61d-7f70-4d17-824a-ed34ab26e7ad + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0d919899-1ba7-4fe0-bb35-24c6fab5e584 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '69' + - '29' status: code: 202 message: Accepted @@ -502,30 +502,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/3195f61d-7f70-4d17-824a-ed34ab26e7ad + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0d919899-1ba7-4fe0-bb35-24c6fab5e584 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:31:55Z", - "lastUpdatedDateTime": "2020-10-29T23:32:00Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:47:18Z", + "lastUpdatedDateTime": "2021-03-01T18:47:22Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": []}], "pageResults": [{"page": 1, "tables": []}]}}' headers: apim-request-id: - - b3b652ce-f85e-4a0c-bb27-70ff7b5ef2bd + - e1370033-4559-4d59-8776-f3ca6bf666bd content-length: - '269' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:32:00 GMT + - Mon, 01 Mar 2021 18:47:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '20' + - '138' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_authentication_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_authentication_bad_key.yaml index 6d9c5647af48..148330ac37db 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_authentication_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_authentication_bad_key.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -25,7 +25,7 @@ interactions: content-length: - '224' date: - - Thu, 29 Oct 2020 23:32:01 GMT + - Mon, 01 Mar 2021 18:47:23 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_authentication_successful_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_authentication_successful_key.yaml index 577e8bb4dc65..24906b4fff17 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_authentication_successful_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_authentication_successful_key.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 15959b4b-29db-4c3d-a4b5-b397fc8ad09b + - 6749eb25-c3b9-4386-a218-18907f687fb7 content-length: - '0' date: - - Thu, 29 Oct 2020 23:32:01 GMT + - Mon, 01 Mar 2021 18:47:24 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/15959b4b-29db-4c3d-a4b5-b397fc8ad09b + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6749eb25-c3b9-4386-a218-18907f687fb7 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '119' + - '78' status: code: 202 message: Accepted @@ -48,13 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/15959b4b-29db-4c3d-a4b5-b397fc8ad09b + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6749eb25-c3b9-4386-a218-18907f687fb7 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:32:02Z", - "lastUpdatedDateTime": "2020-10-29T23:32:07Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:47:24Z", + "lastUpdatedDateTime": "2021-03-01T18:47:28Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -179,19 +179,19 @@ interactions: 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: apim-request-id: - - fd9d8fc0-9be9-48fb-a75c-28328d6d60b9 + - 39372f8e-964b-4b4d-8181-5f1e885606c6 content-length: - - '8802' + - '8901' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:32:07 GMT + - Mon, 01 Mar 2021 18:47:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '21' + - '121' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_language_error.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_language_error.yaml index 081e335aebc4..915b43fb9cb5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_language_error.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_language_error.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=not%20a%20language + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=not%20a%20language&readingOrder=basic response: body: string: '{"error": {"code": "NotSupportedLanguage", "message": "The requested operation is not supported in the language specified."}}' headers: apim-request-id: - - 72712459-ccb5-433e-a7c2-35fb58f05832 + - 320ee785-52f6-4569-8087-254b16decf25 content-length: - '121' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Nov 2020 19:21:59 GMT + - Mon, 01 Mar 2021 18:47:35 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_language_specified.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_language_specified.yaml index d8e4ed8bdfb3..c2b7d584cd78 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_language_specified.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_language_specified.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=de + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=de&readingOrder=basic response: body: string: '' headers: apim-request-id: - - 44f25c61-ef42-4ce1-8899-e8ef9f399d2c + - f1519c74-698b-4054-9470-903e9a12c8ac content-length: - '0' date: - - Tue, 03 Nov 2020 19:22:01 GMT + - Mon, 01 Mar 2021 18:47:37 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/44f25c61-ef42-4ce1-8899-e8ef9f399d2c + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f1519c74-698b-4054-9470-903e9a12c8ac strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '98' + - '900' status: code: 202 message: Accepted @@ -48,306 +48,307 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/44f25c61-ef42-4ce1-8899-e8ef9f399d2c + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f1519c74-698b-4054-9470-903e9a12c8ac response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-03T19:22:01Z", - "lastUpdatedDateTime": "2020-11-03T19:22:05Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:47:37Z", + "lastUpdatedDateTime": "2021-03-01T18:47:41Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "language": "de", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, - 264, 139, 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, + 259, 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, - 1203], "text": "20", "confidence": 0.983}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [484, 1671, 602, 1671, 603, 1706, 484, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [609, 1671, - 764, 1670, 765, 1708, 609, 1706], "text": "Sanders", "confidence": 0.984}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 596, 1671, 597, 1706, 484, 1706], "text": "Bernie", "confidence": 0.968}, + {"boundingBox": [606, 1671, 763, 1670, 764, 1708, 607, 1706], "text": "Sanders", + "confidence": 0.996}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -408,19 +409,19 @@ interactions: "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: apim-request-id: - - 10090e33-e383-4f0b-872b-f64acc489178 + - c88f709e-df94-4e00-91bf-b9fcde7d22d3 content-length: - - '24403' + - '24449' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Nov 2020 19:22:06 GMT + - Mon, 01 Mar 2021 18:47:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '41' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage.yaml index 755abbd5ae53..14e9aca35470 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage.yaml @@ -1925,27 +1925,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 5d560a57-5d4b-42bf-b85b-7610bf2403f1 + - 91d03356-d765-43bb-a494-1354f8d9473f content-length: - '0' date: - - Thu, 29 Oct 2020 23:32:16 GMT + - Mon, 01 Mar 2021 18:47:43 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/5d560a57-5d4b-42bf-b85b-7610bf2403f1 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/91d03356-d765-43bb-a494-1354f8d9473f strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '66' + - '44' status: code: 202 message: Accepted @@ -1959,48 +1959,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/5d560a57-5d4b-42bf-b85b-7610bf2403f1 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/91d03356-d765-43bb-a494-1354f8d9473f response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:32:16Z", "lastUpdatedDateTime": - "2020-10-29T23:32:20Z"}' - headers: - apim-request-id: - - aa7b90c1-20a4-4eb7-860f-28b44302b701 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 29 Oct 2020 23:32:20 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '24' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/5d560a57-5d4b-42bf-b85b-7610bf2403f1 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:32:16Z", - "lastUpdatedDateTime": "2020-10-29T23:32:24Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:47:43Z", + "lastUpdatedDateTime": "2021-03-01T18:47:48Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -2441,13 +2406,13 @@ interactions: "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: apim-request-id: - - 5ae05402-7d64-4cd6-91c8-3513808f5d48 + - 98de3d87-cf78-4553-80ef-918c40b615c0 content-length: - - '31970' + - '32119' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:32:26 GMT + - Mon, 01 Mar 2021 18:47:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_table_span_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_table_span_pdf.yaml index 67f39791f4ca..22f0384bdd54 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_table_span_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_table_span_pdf.yaml @@ -11424,27 +11424,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 90680fa3-ce46-4f0e-bfcc-5924c64f92fe + - f7b6edea-9735-4ee2-88ee-78d26105baf2 content-length: - '0' date: - - Thu, 29 Oct 2020 23:32:28 GMT + - Mon, 01 Mar 2021 18:47:49 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/90680fa3-ce46-4f0e-bfcc-5924c64f92fe + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f7b6edea-9735-4ee2-88ee-78d26105baf2 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '157' + - '154' status: code: 202 message: Accepted @@ -11458,22 +11458,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/90680fa3-ce46-4f0e-bfcc-5924c64f92fe + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f7b6edea-9735-4ee2-88ee-78d26105baf2 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:32:28Z", "lastUpdatedDateTime": - "2020-10-29T23:32:28Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:47:49Z", "lastUpdatedDateTime": + "2021-03-01T18:47:54Z"}' headers: apim-request-id: - - 6328b115-4274-4cb8-9bfc-dd2f52916aea + - fcee5681-1121-4a67-b778-279361a50bf5 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:32:33 GMT + - Mon, 01 Mar 2021 18:47:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: @@ -11493,13 +11493,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/90680fa3-ce46-4f0e-bfcc-5924c64f92fe + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f7b6edea-9735-4ee2-88ee-78d26105baf2 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:32:28Z", - "lastUpdatedDateTime": "2020-10-29T23:32:35Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:47:49Z", + "lastUpdatedDateTime": "2021-03-01T18:47:55Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [1.0119, 1.6855, 3.9147, 1.6855, 3.9147, 1.8775, 1.0119, 1.8775], "text": "Quarterly Sales Update: Q3 2019", @@ -12079,16 +12079,14 @@ interactions: {"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, 7.4627, 9.8988], "text": "7.00%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, - 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}], "selectionMarks": [{"boundingBox": - [3.3622, 2.4501, 3.4551, 2.4501, 3.4551, 2.5407, 3.3622, 2.5407], "confidence": - 0.806, "state": "unselected"}]}, {"page": 2, "angle": 0, "width": 8.5, "height": - 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, 1.0463, 3.4282, 1.0463, - 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": {"style": {"name": - "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, 1.0463, 3.4282, - 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": 1}]}, - {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], - "text": "781", "appearance": {"style": {"name": "other", "confidence": 1}}, - "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, + 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}]}, {"page": 2, "angle": + 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": + {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": + 1}]}, {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, + 1.136], "text": "781", "appearance": {"style": {"name": "other", "confidence": + 1}}, "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], "text": "781", "confidence": 1}]}, {"boundingBox": [7.3994, 1.0525, 7.7624, 1.0525, 7.7624, 1.1371, 7.3994, 1.1371], "text": "34.20%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -12438,9 +12436,9 @@ interactions: "CT, ME, MA, NH, RI, VT", "boundingBox": [3.2764, 2.4049, 5.2184, 2.4049, 5.2184, 2.5799, 3.2764, 2.5799], "elements": ["#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2", "#/readResults/0/lines/8/words/3", - "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5", "#/readResults/0/selectionMarks/0"]}, - {"rowIndex": 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, - 7.1672, 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, + "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5"]}, {"rowIndex": + 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, 7.1672, + 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, {"rowIndex": 1, "columnIndex": 3, "text": "0.7%", "boundingBox": [7.1672, 2.4049, 7.8348, 2.4049, 7.8348, 2.5799, 7.1672, 2.5799], "elements": ["#/readResults/0/lines/10/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "rowSpan": 2, "text": "Mid-Atlantic", "boundingBox": @@ -12944,19 +12942,19 @@ interactions: "boundingBox": [1.0424, 1.0041, 7.877, 1.0068, 7.8741, 5.1081, 1.037, 5.1044]}]}]}}' headers: apim-request-id: - - d2f0acd2-debc-4790-8e7c-c3fdf0e90af8 + - 12ae31a3-f0e3-4801-9775-15c822e9c0a9 content-length: - - '105400' + - '105808' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:32:38 GMT + - Mon, 01 Mar 2021 18:47:59 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '49' + - '177' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_table_span_transform.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_table_span_transform.yaml index 97b40bef0e3f..efd53e5c646a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_table_span_transform.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_table_span_transform.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - c9c94fa0-c4c2-4379-bc36-0566701d4680 + - 7d99e8ac-7320-4897-bb62-51e74fe95938 content-length: - '0' date: - - Thu, 29 Oct 2020 23:32:42 GMT + - Mon, 01 Mar 2021 18:48:00 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c9c94fa0-c4c2-4379-bc36-0566701d4680 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/7d99e8ac-7320-4897-bb62-51e74fe95938 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '195' + - '157' status: code: 202 message: Accepted @@ -48,48 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c9c94fa0-c4c2-4379-bc36-0566701d4680 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/7d99e8ac-7320-4897-bb62-51e74fe95938 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:32:43Z", "lastUpdatedDateTime": - "2020-10-29T23:32:43Z"}' - headers: - apim-request-id: - - 8f79e98d-176d-4d04-a79d-ba20f6164f37 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 29 Oct 2020 23:32:47 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '12' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c9c94fa0-c4c2-4379-bc36-0566701d4680 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:32:43Z", - "lastUpdatedDateTime": "2020-10-29T23:32:49Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:48:01Z", + "lastUpdatedDateTime": "2021-03-01T18:48:06Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [1.0119, 1.6855, 3.9147, 1.6855, 3.9147, 1.8775, 1.0119, 1.8775], "text": "Quarterly Sales Update: Q3 2019", @@ -669,16 +634,14 @@ interactions: {"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, 7.4627, 9.8988], "text": "7.00%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, - 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}], "selectionMarks": [{"boundingBox": - [3.3622, 2.4501, 3.4551, 2.4501, 3.4551, 2.5407, 3.3622, 2.5407], "confidence": - 0.806, "state": "unselected"}]}, {"page": 2, "angle": 0, "width": 8.5, "height": - 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, 1.0463, 3.4282, 1.0463, - 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": {"style": {"name": - "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, 1.0463, 3.4282, - 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": 1}]}, - {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], - "text": "781", "appearance": {"style": {"name": "other", "confidence": 1}}, - "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, + 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}]}, {"page": 2, "angle": + 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": + {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": + 1}]}, {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, + 1.136], "text": "781", "appearance": {"style": {"name": "other", "confidence": + 1}}, "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], "text": "781", "confidence": 1}]}, {"boundingBox": [7.3994, 1.0525, 7.7624, 1.0525, 7.7624, 1.1371, 7.3994, 1.1371], "text": "34.20%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -1028,9 +991,9 @@ interactions: "CT, ME, MA, NH, RI, VT", "boundingBox": [3.2764, 2.4049, 5.2184, 2.4049, 5.2184, 2.5799, 3.2764, 2.5799], "elements": ["#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2", "#/readResults/0/lines/8/words/3", - "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5", "#/readResults/0/selectionMarks/0"]}, - {"rowIndex": 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, - 7.1672, 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, + "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5"]}, {"rowIndex": + 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, 7.1672, + 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, {"rowIndex": 1, "columnIndex": 3, "text": "0.7%", "boundingBox": [7.1672, 2.4049, 7.8348, 2.4049, 7.8348, 2.5799, 7.1672, 2.5799], "elements": ["#/readResults/0/lines/10/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "rowSpan": 2, "text": "Mid-Atlantic", "boundingBox": @@ -1534,19 +1497,19 @@ interactions: "boundingBox": [1.0424, 1.0041, 7.877, 1.0068, 7.8741, 5.1081, 1.037, 5.1044]}]}]}}' headers: apim-request-id: - - 7cf7428f-e5d4-4798-9af6-f20f3296e40c + - 16ac6651-62fc-4d6d-ad6a-da5a8affedcd content-length: - - '105400' + - '105808' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:32:52 GMT + - Mon, 01 Mar 2021 18:48:06 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '45' + - '78' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_transform.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_transform.yaml index 03b93da8915f..5347af27a764 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_transform.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_multipage_transform.yaml @@ -1925,27 +1925,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 782ad78c-f20a-4d1b-9f57-0398b94d8875 + - b553fcad-e003-4355-a63f-6a1f0b1e2b25 content-length: - '0' date: - - Thu, 29 Oct 2020 23:32:54 GMT + - Mon, 01 Mar 2021 18:48:07 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/782ad78c-f20a-4d1b-9f57-0398b94d8875 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/b553fcad-e003-4355-a63f-6a1f0b1e2b25 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '65' + - '46' status: code: 202 message: Accepted @@ -1959,48 +1959,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/782ad78c-f20a-4d1b-9f57-0398b94d8875 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/b553fcad-e003-4355-a63f-6a1f0b1e2b25 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:32:54Z", "lastUpdatedDateTime": - "2020-10-29T23:32:59Z"}' - headers: - apim-request-id: - - edb89161-e275-48d0-908b-962361ddb88e - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 29 Oct 2020 23:32:59 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '13' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/782ad78c-f20a-4d1b-9f57-0398b94d8875 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:32:54Z", - "lastUpdatedDateTime": "2020-10-29T23:33:00Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:48:07Z", + "lastUpdatedDateTime": "2021-03-01T18:48:11Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -2441,19 +2406,19 @@ interactions: "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: apim-request-id: - - 97a42625-a9bd-426e-b1d9-0abc301cf8dc + - 3a4b8cab-78f9-44a2-b772-a8fb3bb5fe8b content-length: - - '31970' + - '32119' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:33:04 GMT + - Mon, 01 Mar 2021 18:48:12 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '44' + - '80' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_selection_marks.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_selection_marks.yaml index 7ee242eef5e9..5d2fe0f6efe8 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_selection_marks.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_selection_marks.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 37dc4e0d-78ad-426e-9318-dceabb67b346 + - 3b3a5573-1176-4fa2-a32d-06b678f32919 content-length: - '0' date: - - Thu, 29 Oct 2020 23:33:06 GMT + - Mon, 01 Mar 2021 18:48:12 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/37dc4e0d-78ad-426e-9318-dceabb67b346 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/3b3a5573-1176-4fa2-a32d-06b678f32919 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '135' + - '110' status: code: 202 message: Accepted @@ -48,28 +48,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/37dc4e0d-78ad-426e-9318-dceabb67b346 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/3b3a5573-1176-4fa2-a32d-06b678f32919 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:33:06Z", "lastUpdatedDateTime": - "2020-10-29T23:33:06Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:48:13Z", "lastUpdatedDateTime": + "2021-03-01T18:48:13Z"}' headers: apim-request-id: - - a0a52b92-a026-4f0c-8650-66c306596f4f + - a15ee741-b83b-46c5-9a50-e1791944880d content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:33:11 GMT + - Mon, 01 Mar 2021 18:48:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '10' status: code: 200 message: OK @@ -83,19 +83,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/37dc4e0d-78ad-426e-9318-dceabb67b346 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/3b3a5573-1176-4fa2-a32d-06b678f32919 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:33:06Z", - "lastUpdatedDateTime": "2020-10-29T23:33:11Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:48:13Z", + "lastUpdatedDateTime": "2021-03-01T18:48:18Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5301, 0.697, 2.3829, 0.7018, 2.3829, 1.3034, 0.5301, 1.2986], "text": "Contoso", "appearance": {"style": - {"name": "other", "confidence": 0.899}}, "words": [{"boundingBox": [0.5348, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [0.5348, 0.7066, 2.3876, 0.826, 2.3781, 1.1888, 0.5587, 1.3034], "text": "Contoso", - "confidence": 0.952}]}, {"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, + "confidence": 0.991}]}, {"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, 0.8109, 3.2791, 0.8109], "text": "STATE OF CALIFORNIA: CONTOSO", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.2791, 0.7373, 3.5799, 0.7373, 3.5799, 0.8109, 3.2791, 0.8109], "text": "STATE", @@ -139,10 +139,10 @@ interactions: 6.0557, 2.2185, 6.0557, 2.3325, 5.256, 2.3325], "text": "PAYMENT", "confidence": 1}]}, {"boundingBox": [3.3522, 3.0269, 5.186, 3.0269, 5.186, 3.2274, 3.3522, 3.2274], "text": "CONTOSO BANK", "appearance": {"style": {"name": "other", - "confidence": 1.0}}, "words": [{"boundingBox": [3.357, 3.0317, 4.5126, 3.0269, - 4.5126, 3.2274, 3.3618, 3.2322], "text": "CONTOSO", "confidence": 0.985}, - {"boundingBox": [4.5556, 3.0269, 5.186, 3.0317, 5.186, 3.2274, 4.5556, 3.2274], - "text": "BANK", "confidence": 0.986}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, + "confidence": 0.878}}, "words": [{"boundingBox": [3.357, 3.0317, 4.4267, 3.0269, + 4.4267, 3.2274, 3.3618, 3.2322], "text": "CONTOSO", "confidence": 0.985}, + {"boundingBox": [4.5365, 3.0269, 5.143, 3.0317, 5.1382, 3.2274, 4.5365, 3.2274], + "text": "BANK", "confidence": 0.994}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, 3.6446, 0.8106, 3.6446], "text": "Fees owed to this Department may be paid by the use of a credit card. If you wish to pay your fee(s)", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -471,10 +471,10 @@ interactions: 8.1896, 2.2444, 8.1896], "text": "clearly)", "confidence": 1}]}, {"boundingBox": [1.8862, 8.2595, 3.2329, 8.2691, 3.2329, 8.5556, 1.8862, 8.5508], "text": "John Singer", "appearance": {"style": {"name": "handwriting", "confidence": - 0.848}}, "words": [{"boundingBox": [1.9674, 8.2643, 2.5166, 8.2834, 2.5166, - 8.5412, 1.9674, 8.5556], "text": "John", "confidence": 0.979}, {"boundingBox": - [2.5739, 8.2834, 3.2233, 8.3073, 3.2233, 8.5317, 2.5787, 8.5412], "text": - "Singer", "confidence": 0.945}]}, {"boundingBox": [0.8059, 8.3968, 5.2429, + 0.676}}, "words": [{"boundingBox": [1.891, 8.2595, 2.4354, 8.2786, 2.4354, + 8.5412, 1.891, 8.5556], "text": "John", "confidence": 0.87}, {"boundingBox": + [2.4927, 8.2834, 3.2233, 8.3073, 3.2233, 8.5317, 2.4927, 8.5412], "text": + "Singer", "confidence": 0.956}]}, {"boundingBox": [0.8059, 8.3968, 5.2429, 8.3968, 5.2429, 8.5421, 0.8059, 8.5421], "text": "Signature: ___________________________________________", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, 8.5421], "text": @@ -571,19 +571,19 @@ interactions: "pageResults": [{"page": 1, "tables": []}]}}' headers: apim-request-id: - - 3483490c-7389-427d-8c08-29c7466c1626 + - ec3d56f9-3a28-4aed-8596-bccafefc566b content-length: - - '33902' + - '34139' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:33:15 GMT + - Mon, 01 Mar 2021 18:48:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '30' + - '20' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_selection_marks_v2.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_selection_marks_v2.yaml index b26e2a035b49..0d0ecf5cc46a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_selection_marks_v2.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_selection_marks_v2.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyze response: body: string: '' headers: apim-request-id: - - 3dab9236-520c-4ab7-bf9f-dda159802ee1 + - bbe974ca-b1d4-472f-b54e-52e23f5f78b4 content-length: - '0' date: - - Thu, 29 Oct 2020 23:33:18 GMT + - Mon, 01 Mar 2021 18:48:23 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/3dab9236-520c-4ab7-bf9f-dda159802ee1 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/bbe974ca-b1d4-472f-b54e-52e23f5f78b4 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '125' + - '108' status: code: 202 message: Accepted @@ -48,28 +48,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/3dab9236-520c-4ab7-bf9f-dda159802ee1 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/bbe974ca-b1d4-472f-b54e-52e23f5f78b4 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:33:18Z", "lastUpdatedDateTime": - "2020-10-29T23:33:18Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:48:24Z", "lastUpdatedDateTime": + "2021-03-01T18:48:24Z"}' headers: apim-request-id: - - 550db4f5-af59-405a-9a41-da673916c4de + - 0da82bfc-d66d-46dc-a558-8459d728a66b content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:33:22 GMT + - Mon, 01 Mar 2021 18:48:28 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '12' status: code: 200 message: OK @@ -83,15 +83,15 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/3dab9236-520c-4ab7-bf9f-dda159802ee1 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/bbe974ca-b1d4-472f-b54e-52e23f5f78b4 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:33:18Z", - "lastUpdatedDateTime": "2020-10-29T23:33:24Z", "analyzeResult": {"version": - "2.0.0", "readResults": [{"page": 1, "language": "en", "angle": 0, "width": - 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.2791, 0.7167, + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:48:24Z", + "lastUpdatedDateTime": "2021-03-01T18:48:30Z", "analyzeResult": {"version": + "2.0.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch", "language": "en", "lines": [{"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, 0.8109, 3.2791, 0.8109], "text": "STATE OF CALIFORNIA: CONTOSO", "words": [{"boundingBox": [3.2791, 0.7373, 3.5799, 0.7373, 3.5799, 0.8109, 3.2791, 0.8109], "text": "STATE", "confidence": 1}, {"boundingBox": @@ -101,7 +101,7 @@ interactions: [4.4383, 0.7167, 5.0584, 0.7167, 5.0584, 0.8105, 4.4383, 0.8105], "text": "CONTOSO", "confidence": 1}]}, {"boundingBox": [0.64, 0.82, 2.3533, 0.8067, 2.3567, 1.17, 0.6433, 1.19], "text": "contoso", "words": [{"boundingBox": - [0.653, 0.8347, 2.3567, 0.8172, 2.3567, 1.1694, 0.669, 1.1933], "text": "contoso", + [0.6533, 0.8333, 2.3567, 0.8167, 2.3567, 1.17, 0.67, 1.1933], "text": "contoso", "confidence": 0.358}]}, {"boundingBox": [3.4183, 0.8618, 4.9237, 0.8618, 4.9237, 0.9561, 3.4183, 0.9561], "text": "BUREAU OF INSURANCE", "words": [{"boundingBox": [3.4183, 0.8641, 3.9344, 0.8641, 3.9344, 0.9561, 3.4183, 0.9561], "text": @@ -134,12 +134,12 @@ interactions: "confidence": 1}, {"boundingBox": [5.256, 2.2185, 6.0557, 2.2185, 6.0557, 2.3325, 5.256, 2.3325], "text": "PAYMENT", "confidence": 1}]}, {"boundingBox": [3.3867, 3.03, 5.1767, 3.03, 5.1767, 3.2267, 3.3867, 3.23], "text": "CONTOSO - BANK", "words": [{"boundingBox": [3.4022, 3.0323, 4.4713, 3.0307, 4.4645, - 3.23, 3.3957, 3.2288], "text": "CONTOSO", "confidence": 0.959}, {"boundingBox": - [4.5744, 3.0309, 5.167, 3.0326, 5.1599, 3.2249, 4.5675, 3.23], "text": "BANK", - "confidence": 0.959}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, - 3.6446, 0.8106, 3.6446], "text": "Fees owed to this Department may be paid - by the use of a credit card. If you wish to pay your fee(s)", "words": [{"boundingBox": + BANK", "words": [{"boundingBox": [3.4033, 3.0333, 4.47, 3.03, 4.4633, 3.23, + 3.3967, 3.23], "text": "CONTOSO", "confidence": 0.959}, {"boundingBox": [4.5733, + 3.03, 5.1667, 3.0333, 5.16, 3.2233, 4.5667, 3.23], "text": "BANK", "confidence": + 0.959}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, 3.6446, + 0.8106, 3.6446], "text": "Fees owed to this Department may be paid by the + use of a credit card. If you wish to pay your fee(s)", "words": [{"boundingBox": [0.8106, 3.5151, 1.1118, 3.5151, 1.1118, 3.6168, 0.8106, 3.6168], "text": "Fees", "confidence": 1}, {"boundingBox": [1.16, 3.5151, 1.5019, 3.5151, 1.5019, 3.6168, 1.16, 3.6168], "text": "owed", "confidence": 1}, {"boundingBox": [1.55, @@ -237,8 +237,8 @@ interactions: [3.6667, 4.2094, 3.7576, 4.2094, 3.7576, 4.3016, 3.6667, 4.3016], "text": "is", "confidence": 1}, {"boundingBox": [3.8047, 4.2094, 4.1234, 4.2094, 4.1234, 4.327, 3.8047, 4.327], "text": "being", "confidence": 1}, {"boundingBox": - [4.1727, 4.2083, 4.5281, 4.2083, 4.5281, 4.3259, 4.1727, 4.3259], "text": - "made)", "confidence": 1}, {"boundingBox": [4.5718, 4.2083, 5.0014, 4.2083, + [4.1727, 4.2082, 4.5281, 4.2082, 4.5281, 4.3259, 4.1727, 4.3259], "text": + "made)", "confidence": 1}, {"boundingBox": [4.5718, 4.2082, 5.0014, 4.2082, 5.0014, 4.3259, 4.5718, 4.3259], "text": "(Please", "confidence": 1}, {"boundingBox": [5.0484, 4.2102, 5.4746, 4.2102, 5.4746, 4.3016, 5.0484, 4.3016], "text": "Include", "confidence": 1}, {"boundingBox": [5.5225, 4.2094, 5.975, 4.2094, @@ -277,97 +277,100 @@ interactions: 5.5922], "text": "\u2751x AMEX", "words": [{"boundingBox": [2.2989, 5.4295, 2.4591, 5.4295, 2.4591, 5.5922, 2.2989, 5.5922], "text": "\u2751x", "confidence": 1}, {"boundingBox": [2.4996, 5.4443, 2.8924, 5.4443, 2.8924, 5.5453, 2.4996, - 5.5453], "text": "AMEX", "confidence": 1}]}, {"boundingBox": [3.0846, 5.4481, - 4.0327, 5.4481, 4.0327, 5.6108, 3.0846, 5.6108], "text": "\u2751Master Card", - "words": [{"boundingBox": [3.0846, 5.4481, 3.7051, 5.4481, 3.7051, 5.6108, - 3.0846, 5.6108], "text": "\u2751Master", "confidence": 1}, {"boundingBox": - [3.7487, 5.4569, 4.0327, 5.4569, 4.0327, 5.5611, 3.7487, 5.5611], "text": - "Card", "confidence": 1}]}, {"boundingBox": [0.8954, 5.7074, 2.2511, 5.7074, - 2.2511, 5.8125, 0.8954, 5.8125], "text": "Name of Cardholder:", "words": [{"boundingBox": - [0.8954, 5.7101, 1.2609, 5.7101, 1.2609, 5.8118, 0.8954, 5.8118], "text": - "Name", "confidence": 1}, {"boundingBox": [1.3079, 5.7088, 1.4324, 5.7088, - 1.4324, 5.8118, 1.3079, 5.8118], "text": "of", "confidence": 1}, {"boundingBox": - [1.4782, 5.7074, 2.2511, 5.7074, 2.2511, 5.8125, 1.4782, 5.8125], "text": - "Cardholder:", "confidence": 1}]}, {"boundingBox": [2.502, 5.7604, 3.2429, - 5.7604, 3.2429, 5.8923, 2.502, 5.8923], "text": "John Singer", "words": [{"boundingBox": - [2.502, 5.7621, 2.7903, 5.7621, 2.7903, 5.8648, 2.502, 5.8648], "text": "John", - "confidence": 1}, {"boundingBox": [2.8449, 5.7604, 3.2429, 5.7604, 3.2429, - 5.8923, 2.8449, 5.8923], "text": "Singer", "confidence": 1}]}, {"boundingBox": - [5.2305, 5.6912, 8.0337, 5.6912, 8.0337, 5.8091, 5.2305, 5.8091], "text": - "Contact persons phone #, if questions with this", "words": [{"boundingBox": - [5.2305, 5.6912, 5.6874, 5.6912, 5.6874, 5.7856, 5.2305, 5.7856], "text": - "Contact", "confidence": 1}, {"boundingBox": [5.7333, 5.7151, 6.2073, 5.7151, - 6.2073, 5.8091, 5.7333, 5.8091], "text": "persons", "confidence": 1}, {"boundingBox": - [6.2544, 5.6936, 6.6183, 5.6936, 6.6183, 5.8091, 6.2544, 5.8091], "text": - "phone", "confidence": 1}, {"boundingBox": [6.6587, 5.6961, 6.7524, 5.6961, - 6.7524, 5.8042, 6.6587, 5.8042], "text": "#,", "confidence": 1}, {"boundingBox": - [6.8042, 5.6925, 6.8703, 5.6925, 6.8703, 5.7833, 6.8042, 5.7833], "text": - "if", "confidence": 1}, {"boundingBox": [6.9099, 5.6927, 7.4918, 5.6927, 7.4918, - 5.8091, 6.9099, 5.8091], "text": "questions", "confidence": 1}, {"boundingBox": - [7.5307, 5.6927, 7.7719, 5.6927, 7.7719, 5.784, 7.5307, 5.784], "text": "with", - "confidence": 1}, {"boundingBox": [7.8166, 5.6927, 8.0337, 5.6927, 8.0337, - 5.785, 7.8166, 5.785], "text": "this", "confidence": 1}]}, {"boundingBox": - [5.2262, 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 5.2262, 5.9847], "text": - "form. Telephone #: (", "words": [{"boundingBox": [5.2262, 5.8625, 5.5295, - 5.8625, 5.5295, 5.955, 5.2262, 5.955], "text": "form.", "confidence": 1}, - {"boundingBox": [5.5744, 5.8534, 6.2637, 5.8534, 6.2637, 5.982, 5.5744, 5.982], - "text": "Telephone", "confidence": 1}, {"boundingBox": [6.3085, 5.8562, 6.417, - 5.8562, 6.417, 5.9533, 6.3085, 5.9533], "text": "#:", "confidence": 1}, {"boundingBox": - [6.4787, 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 6.4787, 5.9847], "text": - "(", "confidence": 1}]}, {"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, 6.87, - 5.9672, 6.6237, 5.9672], "text": "425", "words": [{"boundingBox": [6.6237, - 5.8542, 6.87, 5.8542, 6.87, 5.9672, 6.6237, 5.9672], "text": "425", "confidence": - 1}]}, {"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, 6.9056, - 5.9847], "text": ")", "words": [{"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, - 6.9409, 5.9847, 6.9056, 5.9847], "text": ")", "confidence": 1}]}, {"boundingBox": - [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, 7.3783, 5.918], "text": "-", - "words": [{"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, - 7.3783, 5.918], "text": "-", "confidence": 1}]}, {"boundingBox": [7.1288, + 5.5453], "text": "AMEX", "confidence": 1}]}, {"boundingBox": [2.3633, 5.4633, + 2.46, 5.4567, 2.4633, 5.55, 2.3667, 5.5567], "text": "X", "words": [{"boundingBox": + [2.3767, 5.4633, 2.4367, 5.4567, 2.4433, 5.55, 2.3833, 5.5567], "text": "X", + "confidence": 0.884}]}, {"boundingBox": [3.0846, 5.4481, 4.0327, 5.4481, 4.0327, + 5.6108, 3.0846, 5.6108], "text": "\u2751Master Card", "words": [{"boundingBox": + [3.0846, 5.4481, 3.7051, 5.4481, 3.7051, 5.6108, 3.0846, 5.6108], "text": + "\u2751Master", "confidence": 1}, {"boundingBox": [3.7487, 5.4569, 4.0327, + 5.4569, 4.0327, 5.5611, 3.7487, 5.5611], "text": "Card", "confidence": 1}]}, + {"boundingBox": [0.8954, 5.7074, 2.2511, 5.7074, 2.2511, 5.8125, 0.8954, 5.8125], + "text": "Name of Cardholder:", "words": [{"boundingBox": [0.8954, 5.7101, + 1.2609, 5.7101, 1.2609, 5.8118, 0.8954, 5.8118], "text": "Name", "confidence": + 1}, {"boundingBox": [1.3079, 5.7088, 1.4324, 5.7088, 1.4324, 5.8118, 1.3079, + 5.8118], "text": "of", "confidence": 1}, {"boundingBox": [1.4782, 5.7074, + 2.2511, 5.7074, 2.2511, 5.8125, 1.4782, 5.8125], "text": "Cardholder:", "confidence": + 1}]}, {"boundingBox": [2.502, 5.7604, 3.2429, 5.7604, 3.2429, 5.8923, 2.502, + 5.8923], "text": "John Singer", "words": [{"boundingBox": [2.502, 5.7621, + 2.7903, 5.7621, 2.7903, 5.8648, 2.502, 5.8648], "text": "John", "confidence": + 1}, {"boundingBox": [2.8449, 5.7604, 3.2429, 5.7604, 3.2429, 5.8923, 2.8449, + 5.8923], "text": "Singer", "confidence": 1}]}, {"boundingBox": [5.2305, 5.6912, + 8.0337, 5.6912, 8.0337, 5.8091, 5.2305, 5.8091], "text": "Contact persons + phone #, if questions with this", "words": [{"boundingBox": [5.2305, 5.6912, + 5.6874, 5.6912, 5.6874, 5.7856, 5.2305, 5.7856], "text": "Contact", "confidence": + 1}, {"boundingBox": [5.7333, 5.7151, 6.2073, 5.7151, 6.2073, 5.8091, 5.7333, + 5.8091], "text": "persons", "confidence": 1}, {"boundingBox": [6.2544, 5.6936, + 6.6183, 5.6936, 6.6183, 5.8091, 6.2544, 5.8091], "text": "phone", "confidence": + 1}, {"boundingBox": [6.6587, 5.6961, 6.7524, 5.6961, 6.7524, 5.8042, 6.6587, + 5.8042], "text": "#,", "confidence": 1}, {"boundingBox": [6.8042, 5.6925, + 6.8703, 5.6925, 6.8703, 5.7833, 6.8042, 5.7833], "text": "if", "confidence": + 1}, {"boundingBox": [6.9099, 5.6927, 7.4918, 5.6927, 7.4918, 5.8091, 6.9099, + 5.8091], "text": "questions", "confidence": 1}, {"boundingBox": [7.5307, 5.6927, + 7.7719, 5.6927, 7.7719, 5.784, 7.5307, 5.784], "text": "with", "confidence": + 1}, {"boundingBox": [7.8166, 5.6927, 8.0337, 5.6927, 8.0337, 5.785, 7.8166, + 5.785], "text": "this", "confidence": 1}]}, {"boundingBox": [5.2262, 5.8416, + 6.5139, 5.8416, 6.5139, 5.9847, 5.2262, 5.9847], "text": "form. Telephone + #: (", "words": [{"boundingBox": [5.2262, 5.8625, 5.5295, 5.8625, 5.5295, + 5.955, 5.2262, 5.955], "text": "form.", "confidence": 1}, {"boundingBox": + [5.5744, 5.8534, 6.2637, 5.8534, 6.2637, 5.982, 5.5744, 5.982], "text": "Telephone", + "confidence": 1}, {"boundingBox": [6.3085, 5.8562, 6.417, 5.8562, 6.417, 5.9533, + 6.3085, 5.9533], "text": "#:", "confidence": 1}, {"boundingBox": [6.4787, + 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 6.4787, 5.9847], "text": "(", "confidence": + 1}]}, {"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, 6.87, 5.9672, 6.6237, + 5.9672], "text": "425", "words": [{"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, + 6.87, 5.9672, 6.6237, 5.9672], "text": "425", "confidence": 1}]}, {"boundingBox": + [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, 6.9056, 5.9847], "text": + ")", "words": [{"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, + 6.9056, 5.9847], "text": ")", "confidence": 1}]}, {"boundingBox": [7.1288, 5.8181, 7.809, 5.8181, 7.809, 5.9672, 7.1288, 5.9672], "text": "779 3479", "words": [{"boundingBox": [7.1288, 5.8542, 7.3693, 5.8542, 7.3693, 5.9672, 7.1288, 5.9672], "text": "779", "confidence": 1}, {"boundingBox": [7.4829, 5.8181, 7.809, 5.8181, 7.809, 5.9313, 7.4829, 5.9313], "text": "3479", "confidence": - 1}]}, {"boundingBox": [0.8964, 6.0366, 1.8846, 6.0366, 1.8846, 6.1393, 0.8964, - 6.1393], "text": "Email Address:", "words": [{"boundingBox": [0.8964, 6.0366, - 1.2473, 6.0366, 1.2473, 6.1393, 0.8964, 6.1393], "text": "Email", "confidence": - 1}, {"boundingBox": [1.298, 6.0376, 1.8846, 6.0376, 1.8846, 6.1393, 1.298, - 6.1393], "text": "Address:", "confidence": 1}]}, {"boundingBox": [1.9261, - 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, 1.9261, 6.1753], "text": "johnsinger@hotmail.com", - "words": [{"boundingBox": [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, - 1.9261, 6.1753], "text": "johnsinger@hotmail.com", "confidence": 1}]}, {"boundingBox": - [0.8954, 6.2792, 1.9961, 6.2792, 1.9961, 6.4101, 0.8954, 6.4101], "text": - "Mailing Address:", "words": [{"boundingBox": [0.8954, 6.2792, 1.357, 6.2792, - 1.357, 6.4101, 0.8954, 6.4101], "text": "Mailing", "confidence": 1}, {"boundingBox": - [1.4062, 6.2801, 1.9961, 6.2801, 1.9961, 6.3819, 1.4062, 6.3819], "text": - "Address:", "confidence": 1}]}, {"boundingBox": [2.1027, 6.3142, 3.0803, 6.3142, - 3.0803, 6.4186, 2.1027, 6.4186], "text": "472 SE 74th ST", "words": [{"boundingBox": - [2.1027, 6.3155, 2.3256, 6.3155, 2.3256, 6.4171, 2.1027, 6.4171], "text": - "472", "confidence": 1}, {"boundingBox": [2.3779, 6.3142, 2.5497, 6.3142, - 2.5497, 6.4186, 2.3779, 6.4186], "text": "SE", "confidence": 1}, {"boundingBox": - [2.6024, 6.3159, 2.8571, 6.3159, 2.8571, 6.4179, 2.6024, 6.4179], "text": - "74th", "confidence": 1}, {"boundingBox": [2.9115, 6.3142, 3.0803, 6.3142, - 3.0803, 6.4186, 2.9115, 6.4186], "text": "ST", "confidence": 1}]}, {"boundingBox": - [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], "text": "City:", - "words": [{"boundingBox": [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, - 0.892, 6.6721], "text": "City:", "confidence": 1}]}, {"boundingBox": [1.3947, - 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", "words": - [{"boundingBox": [1.3947, 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], - "text": "Lakewood", "confidence": 1}]}, {"boundingBox": [4.2363, 6.5399, 4.6048, - 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", "words": [{"boundingBox": - [4.2363, 6.5399, 4.6048, 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", - "confidence": 1}]}, {"boundingBox": [4.7452, 6.5506, 4.9679, 6.5506, 4.9679, - 6.6518, 4.7452, 6.6518], "text": "WA", "words": [{"boundingBox": [4.7452, - 6.5506, 4.9679, 6.5506, 4.9679, 6.6518, 4.7452, 6.6518], "text": "WA", "confidence": - 1}]}, {"boundingBox": [6.4885, 6.5399, 7.1134, 6.5399, 7.1134, 6.6712, 6.4885, - 6.6712], "text": "Zip Code:", "words": [{"boundingBox": [6.4885, 6.5416, 6.6893, - 6.5416, 6.6893, 6.6712, 6.4885, 6.6712], "text": "Zip", "confidence": 1}, - {"boundingBox": [6.7385, 6.5399, 7.1134, 6.5399, 7.1134, 6.645, 6.7385, 6.645], - "text": "Code:", "confidence": 1}]}, {"boundingBox": [7.2536, 6.5442, 7.6275, - 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": "98712", "words": [{"boundingBox": - [7.2536, 6.5442, 7.6275, 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": - "98712", "confidence": 1}]}, {"boundingBox": [0.8033, 6.9573, 7.5868, 6.9573, - 7.5868, 7.1067, 0.8033, 7.1067], "text": "I authorize Contoso Department of - Professional and Financial Regulation, Bureau of Insurance", "words": [{"boundingBox": + 1}]}, {"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, 7.3783, + 5.918], "text": "-", "words": [{"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, + 7.4157, 5.918, 7.3783, 5.918], "text": "-", "confidence": 1}]}, {"boundingBox": + [0.8964, 6.0366, 1.8846, 6.0366, 1.8846, 6.1393, 0.8964, 6.1393], "text": + "Email Address:", "words": [{"boundingBox": [0.8964, 6.0366, 1.2473, 6.0366, + 1.2473, 6.1393, 0.8964, 6.1393], "text": "Email", "confidence": 1}, {"boundingBox": + [1.298, 6.0376, 1.8846, 6.0376, 1.8846, 6.1393, 1.298, 6.1393], "text": "Address:", + "confidence": 1}]}, {"boundingBox": [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, + 6.1753, 1.9261, 6.1753], "text": "johnsinger@hotmail.com", "words": [{"boundingBox": + [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, 1.9261, 6.1753], "text": + "johnsinger@hotmail.com", "confidence": 1}]}, {"boundingBox": [0.8954, 6.2792, + 1.9961, 6.2792, 1.9961, 6.4101, 0.8954, 6.4101], "text": "Mailing Address:", + "words": [{"boundingBox": [0.8954, 6.2792, 1.357, 6.2792, 1.357, 6.4101, 0.8954, + 6.4101], "text": "Mailing", "confidence": 1}, {"boundingBox": [1.4062, 6.2801, + 1.9961, 6.2801, 1.9961, 6.3819, 1.4062, 6.3819], "text": "Address:", "confidence": + 1}]}, {"boundingBox": [2.1027, 6.3142, 3.0803, 6.3142, 3.0803, 6.4186, 2.1027, + 6.4186], "text": "472 SE 74th ST", "words": [{"boundingBox": [2.1027, 6.3155, + 2.3256, 6.3155, 2.3256, 6.4171, 2.1027, 6.4171], "text": "472", "confidence": + 1}, {"boundingBox": [2.3779, 6.3142, 2.5497, 6.3142, 2.5497, 6.4186, 2.3779, + 6.4186], "text": "SE", "confidence": 1}, {"boundingBox": [2.6024, 6.3159, + 2.8571, 6.3159, 2.8571, 6.4179, 2.6024, 6.4179], "text": "74th", "confidence": + 1}, {"boundingBox": [2.9115, 6.3142, 3.0803, 6.3142, 3.0803, 6.4186, 2.9115, + 6.4186], "text": "ST", "confidence": 1}]}, {"boundingBox": [0.892, 6.5399, + 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], "text": "City:", "words": + [{"boundingBox": [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], + "text": "City:", "confidence": 1}]}, {"boundingBox": [1.3947, 6.5747, 2.01, + 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", "words": [{"boundingBox": + [1.3947, 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", + "confidence": 1}]}, {"boundingBox": [4.2363, 6.5399, 4.6048, 6.5399, 4.6048, + 6.645, 4.2363, 6.645], "text": "State:", "words": [{"boundingBox": [4.2363, + 6.5399, 4.6048, 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", "confidence": + 1}]}, {"boundingBox": [4.7452, 6.5506, 4.9679, 6.5506, 4.9679, 6.6518, 4.7452, + 6.6518], "text": "WA", "words": [{"boundingBox": [4.7452, 6.5506, 4.9679, + 6.5506, 4.9679, 6.6518, 4.7452, 6.6518], "text": "WA", "confidence": 1}]}, + {"boundingBox": [6.4885, 6.5399, 7.1134, 6.5399, 7.1134, 6.6712, 6.4885, 6.6712], + "text": "Zip Code:", "words": [{"boundingBox": [6.4885, 6.5416, 6.6893, 6.5416, + 6.6893, 6.6712, 6.4885, 6.6712], "text": "Zip", "confidence": 1}, {"boundingBox": + [6.7385, 6.5399, 7.1134, 6.5399, 7.1134, 6.645, 6.7385, 6.645], "text": "Code:", + "confidence": 1}]}, {"boundingBox": [7.2536, 6.5442, 7.6275, 6.5442, 7.6275, + 6.6473, 7.2536, 6.6473], "text": "98712", "words": [{"boundingBox": [7.2536, + 6.5442, 7.6275, 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": "98712", + "confidence": 1}]}, {"boundingBox": [0.8033, 6.9573, 7.5868, 6.9573, 7.5868, + 7.1067, 0.8033, 7.1067], "text": "I authorize Contoso Department of Professional + and Financial Regulation, Bureau of Insurance", "words": [{"boundingBox": [0.8033, 6.9598, 0.8617, 6.9598, 0.8617, 7.0725, 0.8033, 7.0725], "text": "I", "confidence": 1}, {"boundingBox": [0.9107, 6.9573, 1.5801, 6.9573, 1.5801, 7.0747, 0.9107, 7.0747], "text": "authorize", "confidence": 1}, {"boundingBox": @@ -419,9 +422,12 @@ interactions: [6.0082, 7.9046, 6.1702, 7.9046, 6.1702, 8.012, 6.0082, 8.012], "text": "of:", "confidence": 1}, {"boundingBox": [6.2258, 7.8956, 7.6702, 7.8956, 7.6702, 8.0289, 6.2258, 8.0289], "text": "$__________________", "confidence": 1}]}, - {"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, 7.9962, 6.5828, 7.9962], - "text": "263.00", "words": [{"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, - 6.9948, 7.9962, 6.5828, 7.9962], "text": "263.00", "confidence": 1}]}, {"boundingBox": + {"boundingBox": [6.5633, 7.88, 7.0033, 7.8733, 7.0033, 8.0, 6.5667, 8.0067], + "text": "263.00", "words": [{"boundingBox": [6.57, 7.88, 7.0, 7.8733, 7.0033, + 8.0033, 6.57, 8.01], "text": "263.00", "confidence": 0.959}]}, {"boundingBox": + [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, 7.9962, 6.5828, 7.9962], "text": + "263.00", "words": [{"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, + 7.9962, 6.5828, 7.9962], "text": "263.00", "confidence": 1}]}, {"boundingBox": [0.8, 8.0223, 3.1333, 8.0223, 3.1333, 8.0307, 0.8, 8.0307], "text": "____________________________", "words": [{"boundingBox": [0.8, 8.0223, 3.1333, 8.0223, 3.1333, 8.0307, 0.8, 8.0307], "text": "____________________________", "confidence": 1}]}, {"boundingBox": @@ -437,47 +443,50 @@ interactions: {"boundingBox": [2.2444, 8.0771, 2.6175, 8.0771, 2.6175, 8.1896, 2.2444, 8.1896], "text": "clearly)", "confidence": 1}]}, {"boundingBox": [1.8933, 8.2467, 3.2367, 8.27, 3.2333, 8.54, 1.89, 8.5333], "text": "John Singer", "words": [{"boundingBox": - [1.96, 8.2516, 2.4931, 8.2729, 2.4885, 8.54, 1.9584, 8.54], "text": "John", - "confidence": 0.57}, {"boundingBox": [2.5692, 8.2763, 3.2257, 8.3087, 3.2171, - 8.5249, 2.5642, 8.54], "text": "Singer", "confidence": 0.868}]}, {"boundingBox": - [0.8059, 8.3968, 6.1697, 8.3968, 6.1697, 8.5421, 0.8059, 8.5421], "text": - "Signature: ___________________________________________ Date: ______", "words": - [{"boundingBox": [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, - 8.5421], "text": "Signature:", "confidence": 1}, {"boundingBox": [1.5893, - 8.5205, 5.2429, 8.5205, 5.2429, 8.5281, 1.5893, 8.5281], "text": "___________________________________________", + [1.96, 8.25, 2.4933, 8.2733, 2.49, 8.54, 1.96, 8.54], "text": "John", "confidence": + 0.57}, {"boundingBox": [2.57, 8.2767, 3.2267, 8.31, 3.2167, 8.5233, 2.5633, + 8.54], "text": "Singer", "confidence": 0.868}]}, {"boundingBox": [0.8059, + 8.3968, 6.1697, 8.3968, 6.1697, 8.5421, 0.8059, 8.5421], "text": "Signature: + ___________________________________________ Date: ______", "words": [{"boundingBox": + [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, 8.5421], "text": + "Signature:", "confidence": 1}, {"boundingBox": [1.5893, 8.5205, 5.2429, 8.5205, + 5.2429, 8.5281, 1.5893, 8.5281], "text": "___________________________________________", "confidence": 1}, {"boundingBox": [5.2557, 8.3997, 5.6041, 8.3997, 5.6041, 8.5111, 5.2557, 8.5111], "text": "Date:", "confidence": 1}, {"boundingBox": [5.66, 8.5205, 6.1697, 8.5205, 6.1697, 8.5281, 5.66, 8.5281], "text": "______", - "confidence": 1}]}, {"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, - 8.4835, 5.8155, 8.4835], "text": "08", "words": [{"boundingBox": [5.8155, - 8.3705, 5.9721, 8.3705, 5.9721, 8.4835, 5.8155, 8.4835], "text": "08", "confidence": - 1}]}, {"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, 6.1674, - 8.5119], "text": "/", "words": [{"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, - 6.2149, 8.5119, 6.1674, 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": - [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, 8.4716], "text": - "23", "words": [{"boundingBox": [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, - 6.5359, 8.4716], "text": "23", "confidence": 1}]}, {"boundingBox": [6.7199, - 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": "/", "words": - [{"boundingBox": [6.7199, 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, - 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": [7.0358, 8.3585, - 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, 8.4715], "text": "2018", "words": - [{"boundingBox": [7.0358, 8.3585, 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, - 8.4715], "text": "2018", "confidence": 1}]}, {"boundingBox": [6.2125, 8.5205, - 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, 8.5281], "text": "______", "words": - [{"boundingBox": [6.2125, 8.5205, 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, - 8.5281], "text": "______", "confidence": 1}]}, {"boundingBox": [6.7649, 8.5205, - 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, 8.5281], "text": "________", "words": - [{"boundingBox": [6.7649, 8.5205, 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, - 8.5281], "text": "________", "confidence": 1}]}, {"boundingBox": [1.7087, - 8.6229, 4.1257, 8.6229, 4.1257, 8.7284, 1.7087, 8.7284], "text": "(must be - signed by authorized person to validate)", "words": [{"boundingBox": [1.7087, - 8.6229, 1.9762, 8.6229, 1.9762, 8.727, 1.7087, 8.727], "text": "(must", "confidence": - 1}, {"boundingBox": [2.0158, 8.6246, 2.1283, 8.6246, 2.1283, 8.7057, 2.0158, - 8.7057], "text": "be", "confidence": 1}, {"boundingBox": [2.168, 8.6246, 2.485, - 8.6246, 2.485, 8.7284, 2.168, 8.7284], "text": "signed", "confidence": 1}, - {"boundingBox": [2.5286, 8.6246, 2.6389, 8.6246, 2.6389, 8.7278, 2.5286, 8.7278], - "text": "by", "confidence": 1}, {"boundingBox": [2.6737, 8.6246, 3.1831, 8.6246, - 3.1831, 8.7057, 2.6737, 8.7057], "text": "authorized", "confidence": 1}, {"boundingBox": + "confidence": 1}]}, {"boundingBox": [5.8033, 8.37, 5.9867, 8.37, 5.9833, 8.49, + 5.8, 8.4933], "text": "08", "words": [{"boundingBox": [5.81, 8.37, 5.9767, + 8.37, 5.9767, 8.4933, 5.8133, 8.4933], "text": "08", "confidence": 0.949}]}, + {"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, 8.4835, 5.8155, 8.4835], + "text": "08", "words": [{"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, + 8.4835, 5.8155, 8.4835], "text": "08", "confidence": 1}]}, {"boundingBox": + [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, 6.1674, 8.5119], "text": + "/", "words": [{"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, + 6.1674, 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": [6.5359, + 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, 8.4716], "text": "23", "words": + [{"boundingBox": [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, + 8.4716], "text": "23", "confidence": 1}]}, {"boundingBox": [6.7199, 8.3968, + 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": "/", "words": [{"boundingBox": + [6.7199, 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": + "/", "confidence": 1}]}, {"boundingBox": [7.0358, 8.3585, 7.3644, 8.3585, + 7.3644, 8.4715, 7.0358, 8.4715], "text": "2018", "words": [{"boundingBox": + [7.0358, 8.3585, 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, 8.4715], "text": + "2018", "confidence": 1}]}, {"boundingBox": [6.2125, 8.5205, 6.7221, 8.5205, + 6.7221, 8.5281, 6.2125, 8.5281], "text": "______", "words": [{"boundingBox": + [6.2125, 8.5205, 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, 8.5281], "text": + "______", "confidence": 1}]}, {"boundingBox": [6.7649, 8.5205, 7.4445, 8.5205, + 7.4445, 8.5281, 6.7649, 8.5281], "text": "________", "words": [{"boundingBox": + [6.7649, 8.5205, 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, 8.5281], "text": + "________", "confidence": 1}]}, {"boundingBox": [1.7087, 8.6229, 4.1257, 8.6229, + 4.1257, 8.7284, 1.7087, 8.7284], "text": "(must be signed by authorized person + to validate)", "words": [{"boundingBox": [1.7087, 8.6229, 1.9762, 8.6229, + 1.9762, 8.727, 1.7087, 8.727], "text": "(must", "confidence": 1}, {"boundingBox": + [2.0158, 8.6246, 2.1283, 8.6246, 2.1283, 8.7057, 2.0158, 8.7057], "text": + "be", "confidence": 1}, {"boundingBox": [2.168, 8.6246, 2.485, 8.6246, 2.485, + 8.7284, 2.168, 8.7284], "text": "signed", "confidence": 1}, {"boundingBox": + [2.5286, 8.6246, 2.6389, 8.6246, 2.6389, 8.7278, 2.5286, 8.7278], "text": + "by", "confidence": 1}, {"boundingBox": [2.6737, 8.6246, 3.1831, 8.6246, 3.1831, + 8.7057, 2.6737, 8.7057], "text": "authorized", "confidence": 1}, {"boundingBox": [3.2268, 8.6445, 3.5523, 8.6445, 3.5523, 8.727, 3.2268, 8.727], "text": "person", "confidence": 1}, {"boundingBox": [3.592, 8.63, 3.6791, 8.63, 3.6791, 8.7056, 3.592, 8.7056], "text": "to", "confidence": 1}, {"boundingBox": [3.7147, 8.6229, @@ -537,49 +546,49 @@ interactions: "pageResults": [{"page": 1, "tables": [{"rows": 4, "columns": 4, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Name of Cardholder: John Singer", "boundingBox": [0.8104, 5.6546, 4.1554, 5.6546, 4.1554, 5.9962, 0.8104, 5.9962], - "elements": ["#/readResults/0/lines/17/words/0", "#/readResults/0/lines/17/words/1", - "#/readResults/0/lines/17/words/2", "#/readResults/0/lines/18/words/0", "#/readResults/0/lines/18/words/1"]}, + "elements": ["#/readResults/0/lines/18/words/0", "#/readResults/0/lines/18/words/1", + "#/readResults/0/lines/18/words/2", "#/readResults/0/lines/19/words/0", "#/readResults/0/lines/19/words/1"]}, {"rowIndex": 0, "columnIndex": 2, "columnSpan": 2, "text": "Contact persons - phone #, if questions with this form. Telephone #: ( ) - 425 779 3479", "boundingBox": + phone #, if questions with this form. Telephone #: ( 425 ) 779 3479 -", "boundingBox": [5.1496, 5.6546, 8.2604, 5.6546, 8.2604, 5.9962, 5.1496, 5.9962], "elements": - ["#/readResults/0/lines/19/words/0", "#/readResults/0/lines/19/words/1", "#/readResults/0/lines/19/words/2", - "#/readResults/0/lines/19/words/3", "#/readResults/0/lines/19/words/4", "#/readResults/0/lines/19/words/5", - "#/readResults/0/lines/19/words/6", "#/readResults/0/lines/19/words/7", "#/readResults/0/lines/20/words/0", - "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2", "#/readResults/0/lines/20/words/3", - "#/readResults/0/lines/22/words/0", "#/readResults/0/lines/23/words/0", "#/readResults/0/lines/21/words/0", - "#/readResults/0/lines/24/words/0", "#/readResults/0/lines/24/words/1"]}, + ["#/readResults/0/lines/20/words/0", "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2", + "#/readResults/0/lines/20/words/3", "#/readResults/0/lines/20/words/4", "#/readResults/0/lines/20/words/5", + "#/readResults/0/lines/20/words/6", "#/readResults/0/lines/20/words/7", "#/readResults/0/lines/21/words/0", + "#/readResults/0/lines/21/words/1", "#/readResults/0/lines/21/words/2", "#/readResults/0/lines/21/words/3", + "#/readResults/0/lines/22/words/0", "#/readResults/0/lines/23/words/0", "#/readResults/0/lines/24/words/0", + "#/readResults/0/lines/24/words/1", "#/readResults/0/lines/25/words/0"]}, {"rowIndex": 1, "columnIndex": 0, "text": "Email Address: johnsinger@hotmail.com", "boundingBox": [0.8104, 5.9962, 4.1554, 5.9962, 4.1554, 6.2262, 0.8104, 6.2262], - "elements": ["#/readResults/0/lines/25/words/0", "#/readResults/0/lines/25/words/1", - "#/readResults/0/lines/26/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "text": + "elements": ["#/readResults/0/lines/26/words/0", "#/readResults/0/lines/26/words/1", + "#/readResults/0/lines/27/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "text": "Mailing Address: 472 SE 74th ST", "boundingBox": [0.8104, 6.2262, 4.1554, - 6.2262, 4.1554, 6.5021, 0.8104, 6.5021], "elements": ["#/readResults/0/lines/27/words/0", - "#/readResults/0/lines/27/words/1", "#/readResults/0/lines/28/words/0", "#/readResults/0/lines/28/words/1", - "#/readResults/0/lines/28/words/2", "#/readResults/0/lines/28/words/3"]}, + 6.2262, 4.1554, 6.5021, 0.8104, 6.5021], "elements": ["#/readResults/0/lines/28/words/0", + "#/readResults/0/lines/28/words/1", "#/readResults/0/lines/29/words/0", "#/readResults/0/lines/29/words/1", + "#/readResults/0/lines/29/words/2", "#/readResults/0/lines/29/words/3"]}, {"rowIndex": 3, "columnIndex": 0, "text": "City: Lakewood", "boundingBox": [0.8104, 6.5021, 4.1554, 6.5021, 4.1554, 6.7146, 0.8104, 6.7146], "elements": - ["#/readResults/0/lines/29/words/0", "#/readResults/0/lines/30/words/0"]}, + ["#/readResults/0/lines/30/words/0", "#/readResults/0/lines/31/words/0"]}, {"rowIndex": 3, "columnIndex": 1, "text": "State: WA", "boundingBox": [4.1554, - 6.5021, 5.1496, 6.5021, 5.1496, 6.7146, 4.1554, 6.7146], "elements": ["#/readResults/0/lines/31/words/0", - "#/readResults/0/lines/32/words/0"]}, {"rowIndex": 3, "columnIndex": 3, "text": + 6.5021, 5.1496, 6.5021, 5.1496, 6.7146, 4.1554, 6.7146], "elements": ["#/readResults/0/lines/32/words/0", + "#/readResults/0/lines/33/words/0"]}, {"rowIndex": 3, "columnIndex": 3, "text": "Zip Code: 98712", "boundingBox": [6.4104, 6.5021, 8.2604, 6.5021, 8.2604, - 6.7146, 6.4104, 6.7146], "elements": ["#/readResults/0/lines/33/words/0", - "#/readResults/0/lines/33/words/1", "#/readResults/0/lines/34/words/0"]}]}]}]}}' + 6.7146, 6.4104, 6.7146], "elements": ["#/readResults/0/lines/34/words/0", + "#/readResults/0/lines/34/words/1", "#/readResults/0/lines/35/words/0"]}]}]}]}}' headers: apim-request-id: - - f47c031d-1a32-4bf2-a8d7-38dcaa3b0306 + - aea4a794-c9b7-468a-889c-8ee3b7772b93 content-length: - - '33933' + - '34566' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:33:27 GMT + - Mon, 01 Mar 2021 18:48:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '1165' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_specify_pages.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_specify_pages.yaml index 97f6235f0352..f2cda903c2e3 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_specify_pages.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_specify_pages.yaml @@ -1925,27 +1925,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1&readingOrder=basic response: body: string: '' headers: apim-request-id: - - 8c772fad-272b-429b-88b2-8536695db2da + - 07a1e288-0002-42ff-b84e-857aee6470c6 content-length: - '0' date: - - Thu, 29 Oct 2020 23:33:28 GMT + - Mon, 01 Mar 2021 18:48:36 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8c772fad-272b-429b-88b2-8536695db2da + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/07a1e288-0002-42ff-b84e-857aee6470c6 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '56' + - '68' status: code: 202 message: Accepted @@ -1959,48 +1959,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8c772fad-272b-429b-88b2-8536695db2da - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:33:29Z", "lastUpdatedDateTime": - "2020-10-29T23:33:29Z"}' - headers: - apim-request-id: - - d3e5f74d-aa45-4064-a6b8-f457d0ad9e8a - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 29 Oct 2020 23:33:34 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '12' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8c772fad-272b-429b-88b2-8536695db2da + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/07a1e288-0002-42ff-b84e-857aee6470c6 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:33:29Z", - "lastUpdatedDateTime": "2020-10-29T23:33:34Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:48:36Z", + "lastUpdatedDateTime": "2021-03-01T18:48:41Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -2221,13 +2186,13 @@ interactions: "boundingBox": [0.9957, 2.9322, 7.4976, 2.9326, 7.4974, 4.6222, 0.9944, 4.6216]}]}]}}' headers: apim-request-id: - - f686fc50-7ff2-4f02-a12d-93621db5b48d + - 770c1f46-2659-4842-a7ed-a1cb9ef21a0d content-length: - - '15990' + - '16076' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:33:38 GMT + - Mon, 01 Mar 2021 18:48:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: @@ -4163,27 +4128,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1,3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1,3&readingOrder=basic response: body: string: '' headers: apim-request-id: - - ae7196fb-b2a5-4b84-ac72-cce81d5a9ca2 + - 937f091e-0227-411a-b046-fb2b3b6ad9dd content-length: - '0' date: - - Thu, 29 Oct 2020 23:33:38 GMT + - Mon, 01 Mar 2021 18:48:40 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/ae7196fb-b2a5-4b84-ac72-cce81d5a9ca2 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/937f091e-0227-411a-b046-fb2b3b6ad9dd strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '68' + - '59' status: code: 202 message: Accepted @@ -4197,28 +4162,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/ae7196fb-b2a5-4b84-ac72-cce81d5a9ca2 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/937f091e-0227-411a-b046-fb2b3b6ad9dd response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:33:39Z", "lastUpdatedDateTime": - "2020-10-29T23:33:39Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:48:41Z", "lastUpdatedDateTime": + "2021-03-01T18:48:41Z"}' headers: apim-request-id: - - 3abec61c-fe77-436d-b5d6-6e3f0209ec39 + - e34aa247-381f-4614-967a-d91d788ec348 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:33:44 GMT + - Mon, 01 Mar 2021 18:48:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '10' status: code: 200 message: OK @@ -4232,13 +4197,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/ae7196fb-b2a5-4b84-ac72-cce81d5a9ca2 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/937f091e-0227-411a-b046-fb2b3b6ad9dd response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:33:39Z", - "lastUpdatedDateTime": "2020-10-29T23:33:45Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:48:41Z", + "lastUpdatedDateTime": "2021-03-01T18:48:47Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -4677,19 +4642,19 @@ interactions: "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: apim-request-id: - - 1e99d882-0eca-4283-bc08-46be099d6e6c + - dbd75e72-47bf-40ae-a403-e49cfb7122c1 content-length: - - '31877' + - '32026' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:33:49 GMT + - Mon, 01 Mar 2021 18:48:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '32' + - '98' status: code: 200 message: OK @@ -6619,27 +6584,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2&readingOrder=basic response: body: string: '' headers: apim-request-id: - - b1319d62-6908-4377-baf6-7f76d0d1ef77 + - a450ba21-94cf-4e06-ab60-9b26e1b4d65a content-length: - '0' date: - - Thu, 29 Oct 2020 23:33:49 GMT + - Mon, 01 Mar 2021 18:48:51 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b1319d62-6908-4377-baf6-7f76d0d1ef77 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/a450ba21-94cf-4e06-ab60-9b26e1b4d65a strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '61' + - '60' status: code: 202 message: Accepted @@ -6653,28 +6618,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b1319d62-6908-4377-baf6-7f76d0d1ef77 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/a450ba21-94cf-4e06-ab60-9b26e1b4d65a response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:33:50Z", "lastUpdatedDateTime": - "2020-10-29T23:33:50Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:48:52Z", "lastUpdatedDateTime": + "2021-03-01T18:48:56Z"}' headers: apim-request-id: - - d91e2938-4c50-43fe-b908-693de98d657b + - e6d96bcf-296c-49d9-a403-ef2c9269ceff content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:33:55 GMT + - Mon, 01 Mar 2021 18:48:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '10' status: code: 200 message: OK @@ -6688,13 +6653,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b1319d62-6908-4377-baf6-7f76d0d1ef77 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/a450ba21-94cf-4e06-ab60-9b26e1b4d65a response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:33:50Z", - "lastUpdatedDateTime": "2020-10-29T23:33:56Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:48:52Z", + "lastUpdatedDateTime": "2021-03-01T18:48:57Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -6917,19 +6882,19 @@ interactions: {"page": 2, "tables": []}]}}' headers: apim-request-id: - - 7203eb3e-da61-48db-bcfa-2d3bc6329f2c + - 7bf8d030-647e-47d3-96dd-321935bd040d content-length: - - '16083' + - '16169' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:34:00 GMT + - Mon, 01 Mar 2021 18:49:01 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '31' + - '51' status: code: 200 message: OK @@ -8859,27 +8824,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2,3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2,3&readingOrder=basic response: body: string: '' headers: apim-request-id: - - 92af86fc-9e0e-48c8-9fc4-469ae2f09001 + - 0672fa96-7dca-45ff-8667-989fbc477c55 content-length: - '0' date: - - Thu, 29 Oct 2020 23:34:00 GMT + - Mon, 01 Mar 2021 18:49:02 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/92af86fc-9e0e-48c8-9fc4-469ae2f09001 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0672fa96-7dca-45ff-8667-989fbc477c55 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '65' + - '61' status: code: 202 message: Accepted @@ -8893,48 +8858,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/92af86fc-9e0e-48c8-9fc4-469ae2f09001 - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:34:00Z", "lastUpdatedDateTime": - "2020-10-29T23:34:00Z"}' - headers: - apim-request-id: - - 45d4653e-71de-40bc-a148-9db20bb915ba - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 29 Oct 2020 23:34:05 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '12' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/92af86fc-9e0e-48c8-9fc4-469ae2f09001 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0672fa96-7dca-45ff-8667-989fbc477c55 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:34:00Z", - "lastUpdatedDateTime": "2020-10-29T23:34:06Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:49:02Z", + "lastUpdatedDateTime": "2021-03-01T18:49:07Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -9375,19 +9305,19 @@ interactions: "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: apim-request-id: - - 2c1e4b74-fae3-49da-bd64-d1d852e7fff7 + - 1b4cc725-d8ce-4271-8215-258107e68ebc content-length: - - '31970' + - '32119' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:34:11 GMT + - Mon, 01 Mar 2021 18:49:07 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '44' + - '22' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_jpg.yaml index d24ab4225ee0..c978e3ebf30d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_jpg.yaml @@ -8426,27 +8426,27 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 3c593dad-a1a7-4ed8-87ed-4ee53758ab1c + - 69262bb1-7eb9-4c67-8514-d527700edc06 content-length: - '0' date: - - Thu, 29 Oct 2020 23:34:14 GMT + - Mon, 01 Mar 2021 18:49:10 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/3c593dad-a1a7-4ed8-87ed-4ee53758ab1c + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/69262bb1-7eb9-4c67-8514-d527700edc06 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '108' + - '83' status: code: 202 message: Accepted @@ -8460,306 +8460,307 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/3c593dad-a1a7-4ed8-87ed-4ee53758ab1c + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/69262bb1-7eb9-4c67-8514-d527700edc06 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:34:14Z", - "lastUpdatedDateTime": "2020-10-29T23:34:18Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:49:11Z", + "lastUpdatedDateTime": "2021-03-01T18:49:14Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, 264, 139, - 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, 259, + 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [863, 1179, 892, 1179, 891, 1204, 863, - 1204], "text": "20", "confidence": 0.986}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [489, 1671, 609, 1671, 609, 1706, 489, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [616, 1671, - 764, 1670, 765, 1708, 616, 1706], "text": "Sanders", "confidence": 0.979}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 595, 1671, 595, 1706, 484, 1706], "text": "Bernie", "confidence": 0.993}, + {"boundingBox": [602, 1671, 761, 1670, 762, 1708, 602, 1706], "text": "Sanders", + "confidence": 0.99}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -8820,19 +8821,19 @@ interactions: "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: apim-request-id: - - bf9006db-9d3b-4c6c-aab1-95631350aecf + - 6914794f-108e-4592-95bb-a85975c49820 content-length: - - '24387' + - '24433' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:34:19 GMT + - Mon, 01 Mar 2021 18:49:16 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '20' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_pdf.yaml index 428f207ee760..01edaaef6577 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_pdf.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 2f16234b-b158-40ed-a685-8770deb799a3 + - 9d84011c-5984-4b1d-a75e-ef261b5fddd1 content-length: - '0' date: - - Thu, 29 Oct 2020 23:34:21 GMT + - Mon, 01 Mar 2021 18:49:16 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2f16234b-b158-40ed-a685-8770deb799a3 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/9d84011c-5984-4b1d-a75e-ef261b5fddd1 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '91' + - '82' status: code: 202 message: Accepted @@ -48,13 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2f16234b-b158-40ed-a685-8770deb799a3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/9d84011c-5984-4b1d-a75e-ef261b5fddd1 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:34:20Z", - "lastUpdatedDateTime": "2020-10-29T23:34:25Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:49:17Z", + "lastUpdatedDateTime": "2021-03-01T18:49:20Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -179,19 +179,19 @@ interactions: 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: apim-request-id: - - eabbea40-a69c-49ee-a35c-872e88b11a18 + - 8442edb6-828c-4824-bba2-20582b38d07c content-length: - - '8802' + - '8901' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:34:26 GMT + - Mon, 01 Mar 2021 18:49:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '21' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_transform_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_transform_jpg.yaml index f142ae0b92ca..d1674f3f8882 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_transform_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_transform_jpg.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 6695db28-55dc-4798-8a5c-2bf47363946b + - 9df35c6c-cc96-443a-9bec-a4ce1ba90b18 content-length: - '0' date: - - Thu, 29 Oct 2020 23:34:27 GMT + - Mon, 01 Mar 2021 18:49:22 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/6695db28-55dc-4798-8a5c-2bf47363946b + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/9df35c6c-cc96-443a-9bec-a4ce1ba90b18 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '126' + - '107' status: code: 202 message: Accepted @@ -48,306 +48,307 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/6695db28-55dc-4798-8a5c-2bf47363946b + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/9df35c6c-cc96-443a-9bec-a4ce1ba90b18 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:34:27Z", - "lastUpdatedDateTime": "2020-10-29T23:34:32Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:49:23Z", + "lastUpdatedDateTime": "2021-03-01T18:49:26Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, 264, 139, - 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, 259, + 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [863, 1179, 892, 1179, 891, 1204, 863, - 1204], "text": "20", "confidence": 0.986}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [489, 1671, 609, 1671, 609, 1706, 489, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [616, 1671, - 764, 1670, 765, 1708, 616, 1706], "text": "Sanders", "confidence": 0.979}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 595, 1671, 595, 1706, 484, 1706], "text": "Bernie", "confidence": 0.993}, + {"boundingBox": [602, 1671, 761, 1670, 762, 1708, 602, 1706], "text": "Sanders", + "confidence": 0.99}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -408,19 +409,19 @@ interactions: "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: apim-request-id: - - 0afdad34-9d67-4900-9c8d-ed9675be0149 + - 852cd137-3825-4acb-b49c-549032d5d1d1 content-length: - - '24387' + - '24433' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:34:32 GMT + - Mon, 01 Mar 2021 18:49:28 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '27' + - '18' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_transform_pdf.yaml index 81edd79e19dc..43d66b12a6ad 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_transform_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_content_stream_transform_pdf.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 4e7fdcdc-3990-4ec2-b4be-626335790e07 + - 2bc9787f-7afe-4d3d-8515-4f94d2fafe9e content-length: - '0' date: - - Thu, 29 Oct 2020 23:34:33 GMT + - Mon, 01 Mar 2021 18:51:41 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4e7fdcdc-3990-4ec2-b4be-626335790e07 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2bc9787f-7afe-4d3d-8515-4f94d2fafe9e strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '80' + - '78' status: code: 202 message: Accepted @@ -48,13 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4e7fdcdc-3990-4ec2-b4be-626335790e07 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2bc9787f-7afe-4d3d-8515-4f94d2fafe9e response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:34:34Z", - "lastUpdatedDateTime": "2020-10-29T23:34:38Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:51:41Z", + "lastUpdatedDateTime": "2021-03-01T18:51:45Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -179,13 +179,13 @@ interactions: 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: apim-request-id: - - 59315aa2-79a8-4b8e-a3ec-0e7ad6aa5a77 + - 7d93f1b5-322c-4acf-983e-c6a0acbc92ef content-length: - - '8802' + - '8901' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:34:38 GMT + - Mon, 01 Mar 2021 18:51:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_damaged_file_passed_as_bytes.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_damaged_file_passed_as_bytes.yaml index 07606e4cfad3..64671e149a17 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_damaged_file_passed_as_bytes.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_damaged_file_passed_as_bytes.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "InvalidImage", "message": "The file submitted couldn''t @@ -24,19 +24,19 @@ interactions: the file is corrupted or password protected."}}' headers: apim-request-id: - - d28a23b4-5850-43ea-816e-6cf011d2212d + - 5fe1c736-1631-4b3c-a409-c9d4d5356b6a content-length: - '270' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:34:39 GMT + - Mon, 01 Mar 2021 18:49:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '3' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_damaged_file_passed_as_bytes_io.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_damaged_file_passed_as_bytes_io.yaml index 04d6922bdbb6..224ead86f047 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_damaged_file_passed_as_bytes_io.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_damaged_file_passed_as_bytes_io.yaml @@ -18,9 +18,9 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "InvalidImage", "message": "The file submitted couldn''t @@ -29,19 +29,19 @@ interactions: the file is corrupted or password protected."}}' headers: apim-request-id: - - 1c25e5e5-2559-42b3-9105-554002b5407e + - 98f3953e-86ed-4d0f-8ef6-b5100f2c33f2 content-length: - '270' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:34:39 GMT + - Mon, 01 Mar 2021 18:49:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5' + - '3' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_passing_enum_content_type.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_passing_enum_content_type.yaml index ad6d910bf930..fc7089151a91 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_passing_enum_content_type.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content.test_passing_enum_content_type.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 500fc9c1-a82a-43bc-9467-e343d91b3b43 + - d8d116af-4ef4-43fa-8dc6-f4eedeff9f6c content-length: - '0' date: - - Thu, 29 Oct 2020 23:34:40 GMT + - Mon, 01 Mar 2021 18:49:49 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/500fc9c1-a82a-43bc-9467-e343d91b3b43 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/d8d116af-4ef4-43fa-8dc6-f4eedeff9f6c strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '91' + - '83' status: code: 202 message: Accepted @@ -48,48 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/500fc9c1-a82a-43bc-9467-e343d91b3b43 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/d8d116af-4ef4-43fa-8dc6-f4eedeff9f6c response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:34:40Z", "lastUpdatedDateTime": - "2020-10-29T23:34:40Z"}' - headers: - apim-request-id: - - eeb36f60-cddc-480c-9314-3d4212ed8037 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 29 Oct 2020 23:34:46 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '15' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/500fc9c1-a82a-43bc-9467-e343d91b3b43 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:34:40Z", - "lastUpdatedDateTime": "2020-10-29T23:34:46Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:49:50Z", + "lastUpdatedDateTime": "2021-03-01T18:49:53Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -214,19 +179,19 @@ interactions: 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: apim-request-id: - - c05e77be-864c-4d93-99b8-288519722abc + - e98c7a86-182e-4a27-9b99-fcf24cb3d0e7 content-length: - - '8802' + - '8901' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Oct 2020 23:34:50 GMT + - Mon, 01 Mar 2021 18:49:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '24' + - '34' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_blank_page.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_blank_page.yaml index 44c188d34776..1e2574cecf9d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_blank_page.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_blank_page.yaml @@ -458,70 +458,47 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: f867b4da-f5e0-4f92-ab0c-fbe5d24aced4 + apim-request-id: d0b2c046-73fc-4b88-98f2-90886e05633d content-length: '0' - date: Thu, 29 Oct 2020 23:58:08 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f867b4da-f5e0-4f92-ab0c-fbe5d24aced4 + date: Wed, 03 Mar 2021 19:27:39 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/d0b2c046-73fc-4b88-98f2-90886e05633d strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '53' + x-envoy-upstream-service-time: '30' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f867b4da-f5e0-4f92-ab0c-fbe5d24aced4 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/d0b2c046-73fc-4b88-98f2-90886e05633d response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:58:08Z", "lastUpdatedDateTime": - "2020-10-29T23:58:08Z"}' - headers: - apim-request-id: ce4fe62a-116d-45f9-8dfc-763070c91ac1 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:58:13 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '15' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f867b4da-f5e0-4f92-ab0c-fbe5d24aced4 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f867b4da-f5e0-4f92-ab0c-fbe5d24aced4 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:58:08Z", - "lastUpdatedDateTime": "2020-10-29T23:58:13Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:27:40Z", + "lastUpdatedDateTime": "2021-03-03T19:27:44Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": []}], "pageResults": [{"page": 1, "tables": []}]}}' headers: - apim-request-id: c4d219dc-6c08-4cde-9ac2-43efa1f3ba16 + apim-request-id: 841dd5ca-2d92-4235-b3d5-e602eb2d68cc content-length: '269' content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:58:18 GMT + date: Wed, 03 Mar 2021 19:27:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '19' + x-envoy-upstream-service-time: '69' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f867b4da-f5e0-4f92-ab0c-fbe5d24aced4 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/d0b2c046-73fc-4b88-98f2-90886e05633d version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_authentication_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_authentication_bad_key.yaml index 019c4f4404d7..8890224d5c82 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_authentication_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_authentication_bad_key.yaml @@ -7,9 +7,9 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -17,9 +17,9 @@ interactions: an active subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Thu, 29 Oct 2020 23:58:17 GMT + date: Wed, 03 Mar 2021 19:27:45 GMT status: code: 401 message: PermissionDenied - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_authentication_successful_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_authentication_successful_key.yaml index 8e6672d2bf77..fc21c619af08 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_authentication_successful_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_authentication_successful_key.yaml @@ -8,58 +8,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 839824d9-b066-419e-8f4c-5fec3418cc4a + apim-request-id: 592d51f8-617f-40b2-a5d9-eb88c61d0453 content-length: '0' - date: Thu, 29 Oct 2020 23:58:19 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/839824d9-b066-419e-8f4c-5fec3418cc4a + date: Wed, 03 Mar 2021 19:27:45 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/592d51f8-617f-40b2-a5d9-eb88c61d0453 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '95' + x-envoy-upstream-service-time: '109' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/839824d9-b066-419e-8f4c-5fec3418cc4a + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/592d51f8-617f-40b2-a5d9-eb88c61d0453 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:58:19Z", "lastUpdatedDateTime": - "2020-10-29T23:58:24Z"}' - headers: - apim-request-id: e02161e3-4522-4e5f-87ef-5f05bed11697 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:58:24 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/839824d9-b066-419e-8f4c-5fec3418cc4a -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/839824d9-b066-419e-8f4c-5fec3418cc4a - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:58:19Z", - "lastUpdatedDateTime": "2020-10-29T23:58:24Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:27:46Z", + "lastUpdatedDateTime": "2021-03-03T19:27:50Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -183,15 +160,15 @@ interactions: 7.4922, 3.8534, 6.1079, 3.8534], "elements": []}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: - apim-request-id: 3c417ed8-c871-492c-866a-1e5020b9be7f - content-length: '8802' + apim-request-id: 165f0e3a-19f4-4503-8ae9-9368d6da58f4 + content-length: '8901' content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:58:29 GMT + date: Wed, 03 Mar 2021 19:27:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '21' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/839824d9-b066-419e-8f4c-5fec3418cc4a + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/592d51f8-617f-40b2-a5d9-eb88c61d0453 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_language_error.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_language_error.yaml index 3b5dad50a0e0..3aee9fd4790a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_language_error.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_language_error.yaml @@ -8,22 +8,22 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=not%20a%20language + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=not%20a%20language&readingOrder=basic response: body: string: '{"error": {"code": "NotSupportedLanguage", "message": "The requested operation is not supported in the language specified."}}' headers: - apim-request-id: dfb4bac9-af70-446c-9ece-d554b34f3848 + apim-request-id: 227ad738-ecbd-422b-a94f-81ac8d058118 content-length: '121' content-type: application/json; charset=utf-8 - date: Tue, 03 Nov 2020 19:22:07 GMT + date: Wed, 03 Mar 2021 19:28:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=not%20a%20language + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=not%20a%20language&readingOrder=basic version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_language_specified.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_language_specified.yaml index c8c86ae7b290..140acdb97979 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_language_specified.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_language_specified.yaml @@ -8,328 +8,329 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=de + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=de&readingOrder=basic response: body: string: '' headers: - apim-request-id: 82f1bef1-eb0b-493f-ad26-25423138ea46 + apim-request-id: 782ae0c2-0a1d-476f-9870-7ed206734b19 content-length: '0' - date: Tue, 03 Nov 2020 19:22:08 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/82f1bef1-eb0b-493f-ad26-25423138ea46 + date: Wed, 03 Mar 2021 19:28:03 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/782ae0c2-0a1d-476f-9870-7ed206734b19 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '103' + x-envoy-upstream-service-time: '115' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=de + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=de&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/82f1bef1-eb0b-493f-ad26-25423138ea46 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/782ae0c2-0a1d-476f-9870-7ed206734b19 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-03T19:22:09Z", - "lastUpdatedDateTime": "2020-11-03T19:22:13Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:28:03Z", + "lastUpdatedDateTime": "2021-03-03T19:28:07Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "language": "de", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, - 264, 139, 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, + 259, 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, - 1203], "text": "20", "confidence": 0.983}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [484, 1671, 602, 1671, 603, 1706, 484, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [609, 1671, - 764, 1670, 765, 1708, 609, 1706], "text": "Sanders", "confidence": 0.984}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 596, 1671, 597, 1706, 484, 1706], "text": "Bernie", "confidence": 0.968}, + {"boundingBox": [606, 1671, 763, 1670, 764, 1708, 607, 1706], "text": "Sanders", + "confidence": 0.996}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -389,15 +390,15 @@ interactions: 1663, 1543, 1663, 1543, 1708, 1308, 1707], "elements": ["#/readResults/0/lines/47/words/0"]}], "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: - apim-request-id: dd1035a2-1f7d-4c14-a0e7-024eac284e3f - content-length: '24403' + apim-request-id: 5dd28a4d-8ef9-467c-85f8-5634b1714981 + content-length: '24449' content-type: application/json; charset=utf-8 - date: Tue, 03 Nov 2020 19:22:13 GMT + date: Wed, 03 Mar 2021 19:28:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '25' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/82f1bef1-eb0b-493f-ad26-25423138ea46 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/782ae0c2-0a1d-476f-9870-7ed206734b19 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage.yaml index 9a993715882a..6ab544c7589e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage.yaml @@ -1919,58 +1919,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: b2ea02f5-7b43-428b-8702-fd8dcd43b20d + apim-request-id: a67dbcf0-90d6-4bc0-b0cf-7e32c9afdcbb content-length: '0' - date: Thu, 29 Oct 2020 23:58:46 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b2ea02f5-7b43-428b-8702-fd8dcd43b20d + date: Wed, 03 Mar 2021 19:28:08 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/a67dbcf0-90d6-4bc0-b0cf-7e32c9afdcbb strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '45' + x-envoy-upstream-service-time: '57' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b2ea02f5-7b43-428b-8702-fd8dcd43b20d + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/a67dbcf0-90d6-4bc0-b0cf-7e32c9afdcbb response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:58:47Z", "lastUpdatedDateTime": - "2020-10-29T23:58:52Z"}' - headers: - apim-request-id: 14f04feb-5b09-424c-9213-7a571cafbf77 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:58:52 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b2ea02f5-7b43-428b-8702-fd8dcd43b20d -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b2ea02f5-7b43-428b-8702-fd8dcd43b20d - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:58:47Z", - "lastUpdatedDateTime": "2020-10-29T23:58:52Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:28:09Z", + "lastUpdatedDateTime": "2021-03-03T19:28:13Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -2410,15 +2387,15 @@ interactions: 4.4126, 7.5062, 4.4126, 7.5062, 4.6246, 5.3322, 4.6184], "elements": ["#/readResults/2/lines/33/words/0"]}], "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: - apim-request-id: 0293bc48-d844-467e-974f-4f8965c9f47c - content-length: '31970' + apim-request-id: d5de7372-2f70-460b-aebf-0db4090149b0 + content-length: '32119' content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:58:57 GMT + date: Wed, 03 Mar 2021 19:28:13 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' + x-envoy-upstream-service-time: '48' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b2ea02f5-7b43-428b-8702-fd8dcd43b20d + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/a67dbcf0-90d6-4bc0-b0cf-7e32c9afdcbb version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_table_span_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_table_span_pdf.yaml index a1b19c6f9ac7..61c2314ceb42 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_table_span_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_table_span_pdf.yaml @@ -8,58 +8,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: c49ee423-c6a5-4e78-bd45-3077ab22d1b5 + apim-request-id: 649020a8-0437-4c77-957e-b11c990a0c8f content-length: '0' - date: Thu, 29 Oct 2020 23:58:59 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c49ee423-c6a5-4e78-bd45-3077ab22d1b5 + date: Wed, 03 Mar 2021 19:28:14 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/649020a8-0437-4c77-957e-b11c990a0c8f strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '191' + x-envoy-upstream-service-time: '161' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c49ee423-c6a5-4e78-bd45-3077ab22d1b5 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/649020a8-0437-4c77-957e-b11c990a0c8f response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:58:59Z", "lastUpdatedDateTime": - "2020-10-29T23:58:59Z"}' - headers: - apim-request-id: 5c0d3d01-7c22-43db-bf16-c9b3c8124765 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:59:04 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c49ee423-c6a5-4e78-bd45-3077ab22d1b5 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c49ee423-c6a5-4e78-bd45-3077ab22d1b5 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:58:59Z", - "lastUpdatedDateTime": "2020-10-29T23:59:05Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:28:15Z", + "lastUpdatedDateTime": "2021-03-03T19:28:20Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [1.0119, 1.6855, 3.9147, 1.6855, 3.9147, 1.8775, 1.0119, 1.8775], "text": "Quarterly Sales Update: Q3 2019", @@ -639,16 +616,14 @@ interactions: {"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, 7.4627, 9.8988], "text": "7.00%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, - 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}], "selectionMarks": [{"boundingBox": - [3.3622, 2.4501, 3.4551, 2.4501, 3.4551, 2.5407, 3.3622, 2.5407], "confidence": - 0.806, "state": "unselected"}]}, {"page": 2, "angle": 0, "width": 8.5, "height": - 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, 1.0463, 3.4282, 1.0463, - 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": {"style": {"name": - "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, 1.0463, 3.4282, - 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": 1}]}, - {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], - "text": "781", "appearance": {"style": {"name": "other", "confidence": 1}}, - "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, + 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}]}, {"page": 2, "angle": + 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": + {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": + 1}]}, {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, + 1.136], "text": "781", "appearance": {"style": {"name": "other", "confidence": + 1}}, "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], "text": "781", "confidence": 1}]}, {"boundingBox": [7.3994, 1.0525, 7.7624, 1.0525, 7.7624, 1.1371, 7.3994, 1.1371], "text": "34.20%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -998,9 +973,9 @@ interactions: "CT, ME, MA, NH, RI, VT", "boundingBox": [3.2764, 2.4049, 5.2184, 2.4049, 5.2184, 2.5799, 3.2764, 2.5799], "elements": ["#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2", "#/readResults/0/lines/8/words/3", - "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5", "#/readResults/0/selectionMarks/0"]}, - {"rowIndex": 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, - 7.1672, 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, + "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5"]}, {"rowIndex": + 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, 7.1672, + 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, {"rowIndex": 1, "columnIndex": 3, "text": "0.7%", "boundingBox": [7.1672, 2.4049, 7.8348, 2.4049, 7.8348, 2.5799, 7.1672, 2.5799], "elements": ["#/readResults/0/lines/10/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "rowSpan": 2, "text": "Mid-Atlantic", "boundingBox": @@ -1503,15 +1478,15 @@ interactions: 5.0913, 7.0785, 5.0844], "elements": ["#/readResults/1/lines/76/words/0"]}], "boundingBox": [1.0424, 1.0041, 7.877, 1.0068, 7.8741, 5.1081, 1.037, 5.1044]}]}]}}' headers: - apim-request-id: c8f650bc-e30e-42a8-9243-ea0a13f43fa7 - content-length: '105400' + apim-request-id: a6f31bc2-8980-4de3-a968-8ead2e5152c5 + content-length: '105808' content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:59:08 GMT + date: Wed, 03 Mar 2021 19:28:20 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '45' + x-envoy-upstream-service-time: '23' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c49ee423-c6a5-4e78-bd45-3077ab22d1b5 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/649020a8-0437-4c77-957e-b11c990a0c8f version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_table_span_transform.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_table_span_transform.yaml index afe012c2b022..637c4b4d0f66 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_table_span_transform.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_table_span_transform.yaml @@ -8,58 +8,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 6480369d-172b-4087-b9f5-93a288ce3656 + apim-request-id: 97731022-fff0-4ec0-9bf0-da3cb8c735c9 content-length: '0' - date: Thu, 29 Oct 2020 23:59:11 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/6480369d-172b-4087-b9f5-93a288ce3656 + date: Wed, 03 Mar 2021 19:28:21 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/97731022-fff0-4ec0-9bf0-da3cb8c735c9 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '157' + x-envoy-upstream-service-time: '167' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/6480369d-172b-4087-b9f5-93a288ce3656 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/97731022-fff0-4ec0-9bf0-da3cb8c735c9 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:59:12Z", "lastUpdatedDateTime": - "2020-10-29T23:59:12Z"}' - headers: - apim-request-id: b1f4a326-14f9-4ad1-8033-ed0e78e61e8c - content-length: '106' - content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:59:16 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/6480369d-172b-4087-b9f5-93a288ce3656 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/6480369d-172b-4087-b9f5-93a288ce3656 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:59:12Z", - "lastUpdatedDateTime": "2020-10-29T23:59:18Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:28:21Z", + "lastUpdatedDateTime": "2021-03-03T19:28:25Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [1.0119, 1.6855, 3.9147, 1.6855, 3.9147, 1.8775, 1.0119, 1.8775], "text": "Quarterly Sales Update: Q3 2019", @@ -639,16 +616,14 @@ interactions: {"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, 7.4627, 9.8988], "text": "7.00%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, - 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}], "selectionMarks": [{"boundingBox": - [3.3622, 2.4501, 3.4551, 2.4501, 3.4551, 2.5407, 3.3622, 2.5407], "confidence": - 0.806, "state": "unselected"}]}, {"page": 2, "angle": 0, "width": 8.5, "height": - 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, 1.0463, 3.4282, 1.0463, - 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": {"style": {"name": - "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, 1.0463, 3.4282, - 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": 1}]}, - {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], - "text": "781", "appearance": {"style": {"name": "other", "confidence": 1}}, - "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, + 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}]}, {"page": 2, "angle": + 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": + {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": + 1}]}, {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, + 1.136], "text": "781", "appearance": {"style": {"name": "other", "confidence": + 1}}, "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], "text": "781", "confidence": 1}]}, {"boundingBox": [7.3994, 1.0525, 7.7624, 1.0525, 7.7624, 1.1371, 7.3994, 1.1371], "text": "34.20%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -998,9 +973,9 @@ interactions: "CT, ME, MA, NH, RI, VT", "boundingBox": [3.2764, 2.4049, 5.2184, 2.4049, 5.2184, 2.5799, 3.2764, 2.5799], "elements": ["#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2", "#/readResults/0/lines/8/words/3", - "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5", "#/readResults/0/selectionMarks/0"]}, - {"rowIndex": 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, - 7.1672, 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, + "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5"]}, {"rowIndex": + 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, 7.1672, + 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, {"rowIndex": 1, "columnIndex": 3, "text": "0.7%", "boundingBox": [7.1672, 2.4049, 7.8348, 2.4049, 7.8348, 2.5799, 7.1672, 2.5799], "elements": ["#/readResults/0/lines/10/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "rowSpan": 2, "text": "Mid-Atlantic", "boundingBox": @@ -1503,15 +1478,15 @@ interactions: 5.0913, 7.0785, 5.0844], "elements": ["#/readResults/1/lines/76/words/0"]}], "boundingBox": [1.0424, 1.0041, 7.877, 1.0068, 7.8741, 5.1081, 1.037, 5.1044]}]}]}}' headers: - apim-request-id: 03e756b9-a4ba-4594-bc6f-01ca392016a4 - content-length: '105400' + apim-request-id: e5e31725-ccde-4e52-acaf-177ee58f47e6 + content-length: '105808' content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:59:21 GMT + date: Wed, 03 Mar 2021 19:28:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '46' + x-envoy-upstream-service-time: '70' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/6480369d-172b-4087-b9f5-93a288ce3656 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/97731022-fff0-4ec0-9bf0-da3cb8c735c9 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_transform.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_transform.yaml index f4926230f305..7f64b6e33ce2 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_transform.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_multipage_transform.yaml @@ -1919,58 +1919,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 4a85c6e9-3f33-4ec7-aff2-4d3c9a6dc2ad + apim-request-id: 62a19405-e801-4deb-9975-770e8b0acd55 content-length: '0' - date: Thu, 29 Oct 2020 23:59:23 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4a85c6e9-3f33-4ec7-aff2-4d3c9a6dc2ad + date: Wed, 03 Mar 2021 19:28:27 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/62a19405-e801-4deb-9975-770e8b0acd55 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '91' + x-envoy-upstream-service-time: '50' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4a85c6e9-3f33-4ec7-aff2-4d3c9a6dc2ad + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/62a19405-e801-4deb-9975-770e8b0acd55 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:59:23Z", "lastUpdatedDateTime": - "2020-10-29T23:59:28Z"}' - headers: - apim-request-id: 5aae0db5-8396-43b0-aa3f-e643478fc9f8 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:59:28 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4a85c6e9-3f33-4ec7-aff2-4d3c9a6dc2ad -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4a85c6e9-3f33-4ec7-aff2-4d3c9a6dc2ad - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:59:23Z", - "lastUpdatedDateTime": "2020-10-29T23:59:28Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:28:27Z", + "lastUpdatedDateTime": "2021-03-03T19:28:31Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -2410,15 +2387,15 @@ interactions: 4.4126, 7.5062, 4.4126, 7.5062, 4.6246, 5.3322, 4.6184], "elements": ["#/readResults/2/lines/33/words/0"]}], "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: - apim-request-id: fe4aa628-bc3f-4d45-acbc-0614cd8917a3 - content-length: '31970' + apim-request-id: 3693e996-eb86-41c9-a727-408190a6da0c + content-length: '32119' content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:59:33 GMT + date: Wed, 03 Mar 2021 19:28:31 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '39' + x-envoy-upstream-service-time: '77' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4a85c6e9-3f33-4ec7-aff2-4d3c9a6dc2ad + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/62a19405-e801-4deb-9975-770e8b0acd55 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_selection_marks.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_selection_marks.yaml index 1b62dc0e490a..31fdda14bc4e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_selection_marks.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_selection_marks.yaml @@ -8,64 +8,64 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 9a63e182-2cb0-4f5b-b684-b4a405660595 + apim-request-id: 0bc84afc-6a56-4bb5-9ffb-f33ba0b07ebf content-length: '0' - date: Thu, 29 Oct 2020 23:59:34 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/9a63e182-2cb0-4f5b-b684-b4a405660595 + date: Wed, 03 Mar 2021 19:28:32 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0bc84afc-6a56-4bb5-9ffb-f33ba0b07ebf strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '141' + x-envoy-upstream-service-time: '120' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/9a63e182-2cb0-4f5b-b684-b4a405660595 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0bc84afc-6a56-4bb5-9ffb-f33ba0b07ebf response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:59:34Z", "lastUpdatedDateTime": - "2020-10-29T23:59:34Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:28:32Z", "lastUpdatedDateTime": + "2021-03-03T19:28:32Z"}' headers: - apim-request-id: 00fc0e2f-de11-4aec-bf62-cf7dc5cbad60 + apim-request-id: 80434104-d792-479b-814e-1c407f47f2ca content-length: '106' content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:59:39 GMT + date: Wed, 03 Mar 2021 19:28:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/9a63e182-2cb0-4f5b-b684-b4a405660595 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0bc84afc-6a56-4bb5-9ffb-f33ba0b07ebf - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/9a63e182-2cb0-4f5b-b684-b4a405660595 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0bc84afc-6a56-4bb5-9ffb-f33ba0b07ebf response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:59:34Z", - "lastUpdatedDateTime": "2020-10-29T23:59:40Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:28:32Z", + "lastUpdatedDateTime": "2021-03-03T19:28:38Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5301, 0.697, 2.3829, 0.7018, 2.3829, 1.3034, 0.5301, 1.2986], "text": "Contoso", "appearance": {"style": - {"name": "other", "confidence": 0.899}}, "words": [{"boundingBox": [0.5348, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [0.5348, 0.7066, 2.3876, 0.826, 2.3781, 1.1888, 0.5587, 1.3034], "text": "Contoso", - "confidence": 0.952}]}, {"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, + "confidence": 0.991}]}, {"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, 0.8109, 3.2791, 0.8109], "text": "STATE OF CALIFORNIA: CONTOSO", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.2791, 0.7373, 3.5799, 0.7373, 3.5799, 0.8109, 3.2791, 0.8109], "text": "STATE", @@ -109,10 +109,10 @@ interactions: 6.0557, 2.2185, 6.0557, 2.3325, 5.256, 2.3325], "text": "PAYMENT", "confidence": 1}]}, {"boundingBox": [3.3522, 3.0269, 5.186, 3.0269, 5.186, 3.2274, 3.3522, 3.2274], "text": "CONTOSO BANK", "appearance": {"style": {"name": "other", - "confidence": 1.0}}, "words": [{"boundingBox": [3.357, 3.0317, 4.5126, 3.0269, - 4.5126, 3.2274, 3.3618, 3.2322], "text": "CONTOSO", "confidence": 0.985}, - {"boundingBox": [4.5556, 3.0269, 5.186, 3.0317, 5.186, 3.2274, 4.5556, 3.2274], - "text": "BANK", "confidence": 0.986}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, + "confidence": 0.878}}, "words": [{"boundingBox": [3.357, 3.0317, 4.4267, 3.0269, + 4.4267, 3.2274, 3.3618, 3.2322], "text": "CONTOSO", "confidence": 0.985}, + {"boundingBox": [4.5365, 3.0269, 5.143, 3.0317, 5.1382, 3.2274, 4.5365, 3.2274], + "text": "BANK", "confidence": 0.994}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, 3.6446, 0.8106, 3.6446], "text": "Fees owed to this Department may be paid by the use of a credit card. If you wish to pay your fee(s)", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -441,10 +441,10 @@ interactions: 8.1896, 2.2444, 8.1896], "text": "clearly)", "confidence": 1}]}, {"boundingBox": [1.8862, 8.2595, 3.2329, 8.2691, 3.2329, 8.5556, 1.8862, 8.5508], "text": "John Singer", "appearance": {"style": {"name": "handwriting", "confidence": - 0.848}}, "words": [{"boundingBox": [1.9674, 8.2643, 2.5166, 8.2834, 2.5166, - 8.5412, 1.9674, 8.5556], "text": "John", "confidence": 0.979}, {"boundingBox": - [2.5739, 8.2834, 3.2233, 8.3073, 3.2233, 8.5317, 2.5787, 8.5412], "text": - "Singer", "confidence": 0.945}]}, {"boundingBox": [0.8059, 8.3968, 5.2429, + 0.676}}, "words": [{"boundingBox": [1.891, 8.2595, 2.4354, 8.2786, 2.4354, + 8.5412, 1.891, 8.5556], "text": "John", "confidence": 0.87}, {"boundingBox": + [2.4927, 8.2834, 3.2233, 8.3073, 3.2233, 8.5317, 2.4927, 8.5412], "text": + "Singer", "confidence": 0.956}]}, {"boundingBox": [0.8059, 8.3968, 5.2429, 8.3968, 5.2429, 8.5421, 0.8059, 8.5421], "text": "Signature: ___________________________________________", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, 8.5421], "text": @@ -540,15 +540,15 @@ interactions: 5.4481, 3.2448, 5.6108, 3.0846, 5.6108], "confidence": 1, "state": "unselected"}]}], "pageResults": [{"page": 1, "tables": []}]}}' headers: - apim-request-id: ea01ee0f-4cfb-4b4b-b13a-ca70a898de6c - content-length: '33902' + apim-request-id: ff2298b7-f1a6-4d18-a591-4bc5946f0c83 + content-length: '34139' content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:59:44 GMT + date: Wed, 03 Mar 2021 19:28:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/9a63e182-2cb0-4f5b-b684-b4a405660595 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0bc84afc-6a56-4bb5-9ffb-f33ba0b07ebf version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_selection_marks_v2.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_selection_marks_v2.yaml index 9f8e99247735..515b5dc54722 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_selection_marks_v2.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_selection_marks_v2.yaml @@ -8,60 +8,37 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyze response: body: string: '' headers: - apim-request-id: cd9f30a4-62f8-48d2-8b24-d13fd1d1980d + apim-request-id: c81dfb2a-1677-4931-ad44-af1b4471b469 content-length: '0' - date: Thu, 29 Oct 2020 23:59:46 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/cd9f30a4-62f8-48d2-8b24-d13fd1d1980d + date: Wed, 03 Mar 2021 19:28:43 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/c81dfb2a-1677-4931-ad44-af1b4471b469 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '129' + x-envoy-upstream-service-time: '134' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.0/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/cd9f30a4-62f8-48d2-8b24-d13fd1d1980d + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/c81dfb2a-1677-4931-ad44-af1b4471b469 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-29T23:59:46Z", "lastUpdatedDateTime": - "2020-10-29T23:59:46Z"}' - headers: - apim-request-id: 8ebccd3b-55b4-496b-94df-6cf021bebe8d - content-length: '106' - content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:59:51 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/cd9f30a4-62f8-48d2-8b24-d13fd1d1980d -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/cd9f30a4-62f8-48d2-8b24-d13fd1d1980d - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:59:46Z", - "lastUpdatedDateTime": "2020-10-29T23:59:52Z", "analyzeResult": {"version": - "2.0.0", "readResults": [{"page": 1, "language": "en", "angle": 0, "width": - 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.2791, 0.7167, + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:28:43Z", + "lastUpdatedDateTime": "2021-03-03T19:28:48Z", "analyzeResult": {"version": + "2.0.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch", "language": "en", "lines": [{"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, 0.8109, 3.2791, 0.8109], "text": "STATE OF CALIFORNIA: CONTOSO", "words": [{"boundingBox": [3.2791, 0.7373, 3.5799, 0.7373, 3.5799, 0.8109, 3.2791, 0.8109], "text": "STATE", "confidence": 1}, {"boundingBox": @@ -71,7 +48,7 @@ interactions: [4.4383, 0.7167, 5.0584, 0.7167, 5.0584, 0.8105, 4.4383, 0.8105], "text": "CONTOSO", "confidence": 1}]}, {"boundingBox": [0.64, 0.82, 2.3533, 0.8067, 2.3567, 1.17, 0.6433, 1.19], "text": "contoso", "words": [{"boundingBox": - [0.653, 0.8347, 2.3567, 0.8172, 2.3567, 1.1694, 0.669, 1.1933], "text": "contoso", + [0.6533, 0.8333, 2.3567, 0.8167, 2.3567, 1.17, 0.67, 1.1933], "text": "contoso", "confidence": 0.358}]}, {"boundingBox": [3.4183, 0.8618, 4.9237, 0.8618, 4.9237, 0.9561, 3.4183, 0.9561], "text": "BUREAU OF INSURANCE", "words": [{"boundingBox": [3.4183, 0.8641, 3.9344, 0.8641, 3.9344, 0.9561, 3.4183, 0.9561], "text": @@ -104,12 +81,12 @@ interactions: "confidence": 1}, {"boundingBox": [5.256, 2.2185, 6.0557, 2.2185, 6.0557, 2.3325, 5.256, 2.3325], "text": "PAYMENT", "confidence": 1}]}, {"boundingBox": [3.3867, 3.03, 5.1767, 3.03, 5.1767, 3.2267, 3.3867, 3.23], "text": "CONTOSO - BANK", "words": [{"boundingBox": [3.4022, 3.0323, 4.4713, 3.0307, 4.4645, - 3.23, 3.3957, 3.2288], "text": "CONTOSO", "confidence": 0.959}, {"boundingBox": - [4.5744, 3.0309, 5.167, 3.0326, 5.1599, 3.2249, 4.5675, 3.23], "text": "BANK", - "confidence": 0.959}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, - 3.6446, 0.8106, 3.6446], "text": "Fees owed to this Department may be paid - by the use of a credit card. If you wish to pay your fee(s)", "words": [{"boundingBox": + BANK", "words": [{"boundingBox": [3.4033, 3.0333, 4.47, 3.03, 4.4633, 3.23, + 3.3967, 3.23], "text": "CONTOSO", "confidence": 0.959}, {"boundingBox": [4.5733, + 3.03, 5.1667, 3.0333, 5.16, 3.2233, 4.5667, 3.23], "text": "BANK", "confidence": + 0.959}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, 3.6446, + 0.8106, 3.6446], "text": "Fees owed to this Department may be paid by the + use of a credit card. If you wish to pay your fee(s)", "words": [{"boundingBox": [0.8106, 3.5151, 1.1118, 3.5151, 1.1118, 3.6168, 0.8106, 3.6168], "text": "Fees", "confidence": 1}, {"boundingBox": [1.16, 3.5151, 1.5019, 3.5151, 1.5019, 3.6168, 1.16, 3.6168], "text": "owed", "confidence": 1}, {"boundingBox": [1.55, @@ -207,8 +184,8 @@ interactions: [3.6667, 4.2094, 3.7576, 4.2094, 3.7576, 4.3016, 3.6667, 4.3016], "text": "is", "confidence": 1}, {"boundingBox": [3.8047, 4.2094, 4.1234, 4.2094, 4.1234, 4.327, 3.8047, 4.327], "text": "being", "confidence": 1}, {"boundingBox": - [4.1727, 4.2083, 4.5281, 4.2083, 4.5281, 4.3259, 4.1727, 4.3259], "text": - "made)", "confidence": 1}, {"boundingBox": [4.5718, 4.2083, 5.0014, 4.2083, + [4.1727, 4.2082, 4.5281, 4.2082, 4.5281, 4.3259, 4.1727, 4.3259], "text": + "made)", "confidence": 1}, {"boundingBox": [4.5718, 4.2082, 5.0014, 4.2082, 5.0014, 4.3259, 4.5718, 4.3259], "text": "(Please", "confidence": 1}, {"boundingBox": [5.0484, 4.2102, 5.4746, 4.2102, 5.4746, 4.3016, 5.0484, 4.3016], "text": "Include", "confidence": 1}, {"boundingBox": [5.5225, 4.2094, 5.975, 4.2094, @@ -247,97 +224,100 @@ interactions: 5.5922], "text": "\u2751x AMEX", "words": [{"boundingBox": [2.2989, 5.4295, 2.4591, 5.4295, 2.4591, 5.5922, 2.2989, 5.5922], "text": "\u2751x", "confidence": 1}, {"boundingBox": [2.4996, 5.4443, 2.8924, 5.4443, 2.8924, 5.5453, 2.4996, - 5.5453], "text": "AMEX", "confidence": 1}]}, {"boundingBox": [3.0846, 5.4481, - 4.0327, 5.4481, 4.0327, 5.6108, 3.0846, 5.6108], "text": "\u2751Master Card", - "words": [{"boundingBox": [3.0846, 5.4481, 3.7051, 5.4481, 3.7051, 5.6108, - 3.0846, 5.6108], "text": "\u2751Master", "confidence": 1}, {"boundingBox": - [3.7487, 5.4569, 4.0327, 5.4569, 4.0327, 5.5611, 3.7487, 5.5611], "text": - "Card", "confidence": 1}]}, {"boundingBox": [0.8954, 5.7074, 2.2511, 5.7074, - 2.2511, 5.8125, 0.8954, 5.8125], "text": "Name of Cardholder:", "words": [{"boundingBox": - [0.8954, 5.7101, 1.2609, 5.7101, 1.2609, 5.8118, 0.8954, 5.8118], "text": - "Name", "confidence": 1}, {"boundingBox": [1.3079, 5.7088, 1.4324, 5.7088, - 1.4324, 5.8118, 1.3079, 5.8118], "text": "of", "confidence": 1}, {"boundingBox": - [1.4782, 5.7074, 2.2511, 5.7074, 2.2511, 5.8125, 1.4782, 5.8125], "text": - "Cardholder:", "confidence": 1}]}, {"boundingBox": [2.502, 5.7604, 3.2429, - 5.7604, 3.2429, 5.8923, 2.502, 5.8923], "text": "John Singer", "words": [{"boundingBox": - [2.502, 5.7621, 2.7903, 5.7621, 2.7903, 5.8648, 2.502, 5.8648], "text": "John", - "confidence": 1}, {"boundingBox": [2.8449, 5.7604, 3.2429, 5.7604, 3.2429, - 5.8923, 2.8449, 5.8923], "text": "Singer", "confidence": 1}]}, {"boundingBox": - [5.2305, 5.6912, 8.0337, 5.6912, 8.0337, 5.8091, 5.2305, 5.8091], "text": - "Contact persons phone #, if questions with this", "words": [{"boundingBox": - [5.2305, 5.6912, 5.6874, 5.6912, 5.6874, 5.7856, 5.2305, 5.7856], "text": - "Contact", "confidence": 1}, {"boundingBox": [5.7333, 5.7151, 6.2073, 5.7151, - 6.2073, 5.8091, 5.7333, 5.8091], "text": "persons", "confidence": 1}, {"boundingBox": - [6.2544, 5.6936, 6.6183, 5.6936, 6.6183, 5.8091, 6.2544, 5.8091], "text": - "phone", "confidence": 1}, {"boundingBox": [6.6587, 5.6961, 6.7524, 5.6961, - 6.7524, 5.8042, 6.6587, 5.8042], "text": "#,", "confidence": 1}, {"boundingBox": - [6.8042, 5.6925, 6.8703, 5.6925, 6.8703, 5.7833, 6.8042, 5.7833], "text": - "if", "confidence": 1}, {"boundingBox": [6.9099, 5.6927, 7.4918, 5.6927, 7.4918, - 5.8091, 6.9099, 5.8091], "text": "questions", "confidence": 1}, {"boundingBox": - [7.5307, 5.6927, 7.7719, 5.6927, 7.7719, 5.784, 7.5307, 5.784], "text": "with", - "confidence": 1}, {"boundingBox": [7.8166, 5.6927, 8.0337, 5.6927, 8.0337, - 5.785, 7.8166, 5.785], "text": "this", "confidence": 1}]}, {"boundingBox": - [5.2262, 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 5.2262, 5.9847], "text": - "form. Telephone #: (", "words": [{"boundingBox": [5.2262, 5.8625, 5.5295, - 5.8625, 5.5295, 5.955, 5.2262, 5.955], "text": "form.", "confidence": 1}, - {"boundingBox": [5.5744, 5.8534, 6.2637, 5.8534, 6.2637, 5.982, 5.5744, 5.982], - "text": "Telephone", "confidence": 1}, {"boundingBox": [6.3085, 5.8562, 6.417, - 5.8562, 6.417, 5.9533, 6.3085, 5.9533], "text": "#:", "confidence": 1}, {"boundingBox": - [6.4787, 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 6.4787, 5.9847], "text": - "(", "confidence": 1}]}, {"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, 6.87, - 5.9672, 6.6237, 5.9672], "text": "425", "words": [{"boundingBox": [6.6237, - 5.8542, 6.87, 5.8542, 6.87, 5.9672, 6.6237, 5.9672], "text": "425", "confidence": - 1}]}, {"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, 6.9056, - 5.9847], "text": ")", "words": [{"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, - 6.9409, 5.9847, 6.9056, 5.9847], "text": ")", "confidence": 1}]}, {"boundingBox": - [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, 7.3783, 5.918], "text": "-", - "words": [{"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, - 7.3783, 5.918], "text": "-", "confidence": 1}]}, {"boundingBox": [7.1288, + 5.5453], "text": "AMEX", "confidence": 1}]}, {"boundingBox": [2.3633, 5.4633, + 2.46, 5.4567, 2.4633, 5.55, 2.3667, 5.5567], "text": "X", "words": [{"boundingBox": + [2.3767, 5.4633, 2.4367, 5.4567, 2.4433, 5.55, 2.3833, 5.5567], "text": "X", + "confidence": 0.884}]}, {"boundingBox": [3.0846, 5.4481, 4.0327, 5.4481, 4.0327, + 5.6108, 3.0846, 5.6108], "text": "\u2751Master Card", "words": [{"boundingBox": + [3.0846, 5.4481, 3.7051, 5.4481, 3.7051, 5.6108, 3.0846, 5.6108], "text": + "\u2751Master", "confidence": 1}, {"boundingBox": [3.7487, 5.4569, 4.0327, + 5.4569, 4.0327, 5.5611, 3.7487, 5.5611], "text": "Card", "confidence": 1}]}, + {"boundingBox": [0.8954, 5.7074, 2.2511, 5.7074, 2.2511, 5.8125, 0.8954, 5.8125], + "text": "Name of Cardholder:", "words": [{"boundingBox": [0.8954, 5.7101, + 1.2609, 5.7101, 1.2609, 5.8118, 0.8954, 5.8118], "text": "Name", "confidence": + 1}, {"boundingBox": [1.3079, 5.7088, 1.4324, 5.7088, 1.4324, 5.8118, 1.3079, + 5.8118], "text": "of", "confidence": 1}, {"boundingBox": [1.4782, 5.7074, + 2.2511, 5.7074, 2.2511, 5.8125, 1.4782, 5.8125], "text": "Cardholder:", "confidence": + 1}]}, {"boundingBox": [2.502, 5.7604, 3.2429, 5.7604, 3.2429, 5.8923, 2.502, + 5.8923], "text": "John Singer", "words": [{"boundingBox": [2.502, 5.7621, + 2.7903, 5.7621, 2.7903, 5.8648, 2.502, 5.8648], "text": "John", "confidence": + 1}, {"boundingBox": [2.8449, 5.7604, 3.2429, 5.7604, 3.2429, 5.8923, 2.8449, + 5.8923], "text": "Singer", "confidence": 1}]}, {"boundingBox": [5.2305, 5.6912, + 8.0337, 5.6912, 8.0337, 5.8091, 5.2305, 5.8091], "text": "Contact persons + phone #, if questions with this", "words": [{"boundingBox": [5.2305, 5.6912, + 5.6874, 5.6912, 5.6874, 5.7856, 5.2305, 5.7856], "text": "Contact", "confidence": + 1}, {"boundingBox": [5.7333, 5.7151, 6.2073, 5.7151, 6.2073, 5.8091, 5.7333, + 5.8091], "text": "persons", "confidence": 1}, {"boundingBox": [6.2544, 5.6936, + 6.6183, 5.6936, 6.6183, 5.8091, 6.2544, 5.8091], "text": "phone", "confidence": + 1}, {"boundingBox": [6.6587, 5.6961, 6.7524, 5.6961, 6.7524, 5.8042, 6.6587, + 5.8042], "text": "#,", "confidence": 1}, {"boundingBox": [6.8042, 5.6925, + 6.8703, 5.6925, 6.8703, 5.7833, 6.8042, 5.7833], "text": "if", "confidence": + 1}, {"boundingBox": [6.9099, 5.6927, 7.4918, 5.6927, 7.4918, 5.8091, 6.9099, + 5.8091], "text": "questions", "confidence": 1}, {"boundingBox": [7.5307, 5.6927, + 7.7719, 5.6927, 7.7719, 5.784, 7.5307, 5.784], "text": "with", "confidence": + 1}, {"boundingBox": [7.8166, 5.6927, 8.0337, 5.6927, 8.0337, 5.785, 7.8166, + 5.785], "text": "this", "confidence": 1}]}, {"boundingBox": [5.2262, 5.8416, + 6.5139, 5.8416, 6.5139, 5.9847, 5.2262, 5.9847], "text": "form. Telephone + #: (", "words": [{"boundingBox": [5.2262, 5.8625, 5.5295, 5.8625, 5.5295, + 5.955, 5.2262, 5.955], "text": "form.", "confidence": 1}, {"boundingBox": + [5.5744, 5.8534, 6.2637, 5.8534, 6.2637, 5.982, 5.5744, 5.982], "text": "Telephone", + "confidence": 1}, {"boundingBox": [6.3085, 5.8562, 6.417, 5.8562, 6.417, 5.9533, + 6.3085, 5.9533], "text": "#:", "confidence": 1}, {"boundingBox": [6.4787, + 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 6.4787, 5.9847], "text": "(", "confidence": + 1}]}, {"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, 6.87, 5.9672, 6.6237, + 5.9672], "text": "425", "words": [{"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, + 6.87, 5.9672, 6.6237, 5.9672], "text": "425", "confidence": 1}]}, {"boundingBox": + [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, 6.9056, 5.9847], "text": + ")", "words": [{"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, + 6.9056, 5.9847], "text": ")", "confidence": 1}]}, {"boundingBox": [7.1288, 5.8181, 7.809, 5.8181, 7.809, 5.9672, 7.1288, 5.9672], "text": "779 3479", "words": [{"boundingBox": [7.1288, 5.8542, 7.3693, 5.8542, 7.3693, 5.9672, 7.1288, 5.9672], "text": "779", "confidence": 1}, {"boundingBox": [7.4829, 5.8181, 7.809, 5.8181, 7.809, 5.9313, 7.4829, 5.9313], "text": "3479", "confidence": - 1}]}, {"boundingBox": [0.8964, 6.0366, 1.8846, 6.0366, 1.8846, 6.1393, 0.8964, - 6.1393], "text": "Email Address:", "words": [{"boundingBox": [0.8964, 6.0366, - 1.2473, 6.0366, 1.2473, 6.1393, 0.8964, 6.1393], "text": "Email", "confidence": - 1}, {"boundingBox": [1.298, 6.0376, 1.8846, 6.0376, 1.8846, 6.1393, 1.298, - 6.1393], "text": "Address:", "confidence": 1}]}, {"boundingBox": [1.9261, - 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, 1.9261, 6.1753], "text": "johnsinger@hotmail.com", - "words": [{"boundingBox": [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, - 1.9261, 6.1753], "text": "johnsinger@hotmail.com", "confidence": 1}]}, {"boundingBox": - [0.8954, 6.2792, 1.9961, 6.2792, 1.9961, 6.4101, 0.8954, 6.4101], "text": - "Mailing Address:", "words": [{"boundingBox": [0.8954, 6.2792, 1.357, 6.2792, - 1.357, 6.4101, 0.8954, 6.4101], "text": "Mailing", "confidence": 1}, {"boundingBox": - [1.4062, 6.2801, 1.9961, 6.2801, 1.9961, 6.3819, 1.4062, 6.3819], "text": - "Address:", "confidence": 1}]}, {"boundingBox": [2.1027, 6.3142, 3.0803, 6.3142, - 3.0803, 6.4186, 2.1027, 6.4186], "text": "472 SE 74th ST", "words": [{"boundingBox": - [2.1027, 6.3155, 2.3256, 6.3155, 2.3256, 6.4171, 2.1027, 6.4171], "text": - "472", "confidence": 1}, {"boundingBox": [2.3779, 6.3142, 2.5497, 6.3142, - 2.5497, 6.4186, 2.3779, 6.4186], "text": "SE", "confidence": 1}, {"boundingBox": - [2.6024, 6.3159, 2.8571, 6.3159, 2.8571, 6.4179, 2.6024, 6.4179], "text": - "74th", "confidence": 1}, {"boundingBox": [2.9115, 6.3142, 3.0803, 6.3142, - 3.0803, 6.4186, 2.9115, 6.4186], "text": "ST", "confidence": 1}]}, {"boundingBox": - [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], "text": "City:", - "words": [{"boundingBox": [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, - 0.892, 6.6721], "text": "City:", "confidence": 1}]}, {"boundingBox": [1.3947, - 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", "words": - [{"boundingBox": [1.3947, 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], - "text": "Lakewood", "confidence": 1}]}, {"boundingBox": [4.2363, 6.5399, 4.6048, - 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", "words": [{"boundingBox": - [4.2363, 6.5399, 4.6048, 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", - "confidence": 1}]}, {"boundingBox": [4.7452, 6.5506, 4.9679, 6.5506, 4.9679, - 6.6518, 4.7452, 6.6518], "text": "WA", "words": [{"boundingBox": [4.7452, - 6.5506, 4.9679, 6.5506, 4.9679, 6.6518, 4.7452, 6.6518], "text": "WA", "confidence": - 1}]}, {"boundingBox": [6.4885, 6.5399, 7.1134, 6.5399, 7.1134, 6.6712, 6.4885, - 6.6712], "text": "Zip Code:", "words": [{"boundingBox": [6.4885, 6.5416, 6.6893, - 6.5416, 6.6893, 6.6712, 6.4885, 6.6712], "text": "Zip", "confidence": 1}, - {"boundingBox": [6.7385, 6.5399, 7.1134, 6.5399, 7.1134, 6.645, 6.7385, 6.645], - "text": "Code:", "confidence": 1}]}, {"boundingBox": [7.2536, 6.5442, 7.6275, - 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": "98712", "words": [{"boundingBox": - [7.2536, 6.5442, 7.6275, 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": - "98712", "confidence": 1}]}, {"boundingBox": [0.8033, 6.9573, 7.5868, 6.9573, - 7.5868, 7.1067, 0.8033, 7.1067], "text": "I authorize Contoso Department of - Professional and Financial Regulation, Bureau of Insurance", "words": [{"boundingBox": + 1}]}, {"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, 7.3783, + 5.918], "text": "-", "words": [{"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, + 7.4157, 5.918, 7.3783, 5.918], "text": "-", "confidence": 1}]}, {"boundingBox": + [0.8964, 6.0366, 1.8846, 6.0366, 1.8846, 6.1393, 0.8964, 6.1393], "text": + "Email Address:", "words": [{"boundingBox": [0.8964, 6.0366, 1.2473, 6.0366, + 1.2473, 6.1393, 0.8964, 6.1393], "text": "Email", "confidence": 1}, {"boundingBox": + [1.298, 6.0376, 1.8846, 6.0376, 1.8846, 6.1393, 1.298, 6.1393], "text": "Address:", + "confidence": 1}]}, {"boundingBox": [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, + 6.1753, 1.9261, 6.1753], "text": "johnsinger@hotmail.com", "words": [{"boundingBox": + [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, 1.9261, 6.1753], "text": + "johnsinger@hotmail.com", "confidence": 1}]}, {"boundingBox": [0.8954, 6.2792, + 1.9961, 6.2792, 1.9961, 6.4101, 0.8954, 6.4101], "text": "Mailing Address:", + "words": [{"boundingBox": [0.8954, 6.2792, 1.357, 6.2792, 1.357, 6.4101, 0.8954, + 6.4101], "text": "Mailing", "confidence": 1}, {"boundingBox": [1.4062, 6.2801, + 1.9961, 6.2801, 1.9961, 6.3819, 1.4062, 6.3819], "text": "Address:", "confidence": + 1}]}, {"boundingBox": [2.1027, 6.3142, 3.0803, 6.3142, 3.0803, 6.4186, 2.1027, + 6.4186], "text": "472 SE 74th ST", "words": [{"boundingBox": [2.1027, 6.3155, + 2.3256, 6.3155, 2.3256, 6.4171, 2.1027, 6.4171], "text": "472", "confidence": + 1}, {"boundingBox": [2.3779, 6.3142, 2.5497, 6.3142, 2.5497, 6.4186, 2.3779, + 6.4186], "text": "SE", "confidence": 1}, {"boundingBox": [2.6024, 6.3159, + 2.8571, 6.3159, 2.8571, 6.4179, 2.6024, 6.4179], "text": "74th", "confidence": + 1}, {"boundingBox": [2.9115, 6.3142, 3.0803, 6.3142, 3.0803, 6.4186, 2.9115, + 6.4186], "text": "ST", "confidence": 1}]}, {"boundingBox": [0.892, 6.5399, + 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], "text": "City:", "words": + [{"boundingBox": [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], + "text": "City:", "confidence": 1}]}, {"boundingBox": [1.3947, 6.5747, 2.01, + 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", "words": [{"boundingBox": + [1.3947, 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", + "confidence": 1}]}, {"boundingBox": [4.2363, 6.5399, 4.6048, 6.5399, 4.6048, + 6.645, 4.2363, 6.645], "text": "State:", "words": [{"boundingBox": [4.2363, + 6.5399, 4.6048, 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", "confidence": + 1}]}, {"boundingBox": [4.7452, 6.5506, 4.9679, 6.5506, 4.9679, 6.6518, 4.7452, + 6.6518], "text": "WA", "words": [{"boundingBox": [4.7452, 6.5506, 4.9679, + 6.5506, 4.9679, 6.6518, 4.7452, 6.6518], "text": "WA", "confidence": 1}]}, + {"boundingBox": [6.4885, 6.5399, 7.1134, 6.5399, 7.1134, 6.6712, 6.4885, 6.6712], + "text": "Zip Code:", "words": [{"boundingBox": [6.4885, 6.5416, 6.6893, 6.5416, + 6.6893, 6.6712, 6.4885, 6.6712], "text": "Zip", "confidence": 1}, {"boundingBox": + [6.7385, 6.5399, 7.1134, 6.5399, 7.1134, 6.645, 6.7385, 6.645], "text": "Code:", + "confidence": 1}]}, {"boundingBox": [7.2536, 6.5442, 7.6275, 6.5442, 7.6275, + 6.6473, 7.2536, 6.6473], "text": "98712", "words": [{"boundingBox": [7.2536, + 6.5442, 7.6275, 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": "98712", + "confidence": 1}]}, {"boundingBox": [0.8033, 6.9573, 7.5868, 6.9573, 7.5868, + 7.1067, 0.8033, 7.1067], "text": "I authorize Contoso Department of Professional + and Financial Regulation, Bureau of Insurance", "words": [{"boundingBox": [0.8033, 6.9598, 0.8617, 6.9598, 0.8617, 7.0725, 0.8033, 7.0725], "text": "I", "confidence": 1}, {"boundingBox": [0.9107, 6.9573, 1.5801, 6.9573, 1.5801, 7.0747, 0.9107, 7.0747], "text": "authorize", "confidence": 1}, {"boundingBox": @@ -389,9 +369,12 @@ interactions: [6.0082, 7.9046, 6.1702, 7.9046, 6.1702, 8.012, 6.0082, 8.012], "text": "of:", "confidence": 1}, {"boundingBox": [6.2258, 7.8956, 7.6702, 7.8956, 7.6702, 8.0289, 6.2258, 8.0289], "text": "$__________________", "confidence": 1}]}, - {"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, 7.9962, 6.5828, 7.9962], - "text": "263.00", "words": [{"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, - 6.9948, 7.9962, 6.5828, 7.9962], "text": "263.00", "confidence": 1}]}, {"boundingBox": + {"boundingBox": [6.5633, 7.88, 7.0033, 7.8733, 7.0033, 8.0, 6.5667, 8.0067], + "text": "263.00", "words": [{"boundingBox": [6.57, 7.88, 7.0, 7.8733, 7.0033, + 8.0033, 6.57, 8.01], "text": "263.00", "confidence": 0.959}]}, {"boundingBox": + [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, 7.9962, 6.5828, 7.9962], "text": + "263.00", "words": [{"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, + 7.9962, 6.5828, 7.9962], "text": "263.00", "confidence": 1}]}, {"boundingBox": [0.8, 8.0223, 3.1333, 8.0223, 3.1333, 8.0307, 0.8, 8.0307], "text": "____________________________", "words": [{"boundingBox": [0.8, 8.0223, 3.1333, 8.0223, 3.1333, 8.0307, 0.8, 8.0307], "text": "____________________________", "confidence": 1}]}, {"boundingBox": @@ -407,47 +390,50 @@ interactions: {"boundingBox": [2.2444, 8.0771, 2.6175, 8.0771, 2.6175, 8.1896, 2.2444, 8.1896], "text": "clearly)", "confidence": 1}]}, {"boundingBox": [1.8933, 8.2467, 3.2367, 8.27, 3.2333, 8.54, 1.89, 8.5333], "text": "John Singer", "words": [{"boundingBox": - [1.96, 8.2516, 2.4931, 8.2729, 2.4885, 8.54, 1.9584, 8.54], "text": "John", - "confidence": 0.57}, {"boundingBox": [2.5692, 8.2763, 3.2257, 8.3087, 3.2171, - 8.5249, 2.5642, 8.54], "text": "Singer", "confidence": 0.868}]}, {"boundingBox": - [0.8059, 8.3968, 6.1697, 8.3968, 6.1697, 8.5421, 0.8059, 8.5421], "text": - "Signature: ___________________________________________ Date: ______", "words": - [{"boundingBox": [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, - 8.5421], "text": "Signature:", "confidence": 1}, {"boundingBox": [1.5893, - 8.5205, 5.2429, 8.5205, 5.2429, 8.5281, 1.5893, 8.5281], "text": "___________________________________________", + [1.96, 8.25, 2.4933, 8.2733, 2.49, 8.54, 1.96, 8.54], "text": "John", "confidence": + 0.57}, {"boundingBox": [2.57, 8.2767, 3.2267, 8.31, 3.2167, 8.5233, 2.5633, + 8.54], "text": "Singer", "confidence": 0.868}]}, {"boundingBox": [0.8059, + 8.3968, 6.1697, 8.3968, 6.1697, 8.5421, 0.8059, 8.5421], "text": "Signature: + ___________________________________________ Date: ______", "words": [{"boundingBox": + [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, 8.5421], "text": + "Signature:", "confidence": 1}, {"boundingBox": [1.5893, 8.5205, 5.2429, 8.5205, + 5.2429, 8.5281, 1.5893, 8.5281], "text": "___________________________________________", "confidence": 1}, {"boundingBox": [5.2557, 8.3997, 5.6041, 8.3997, 5.6041, 8.5111, 5.2557, 8.5111], "text": "Date:", "confidence": 1}, {"boundingBox": [5.66, 8.5205, 6.1697, 8.5205, 6.1697, 8.5281, 5.66, 8.5281], "text": "______", - "confidence": 1}]}, {"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, - 8.4835, 5.8155, 8.4835], "text": "08", "words": [{"boundingBox": [5.8155, - 8.3705, 5.9721, 8.3705, 5.9721, 8.4835, 5.8155, 8.4835], "text": "08", "confidence": - 1}]}, {"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, 6.1674, - 8.5119], "text": "/", "words": [{"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, - 6.2149, 8.5119, 6.1674, 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": - [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, 8.4716], "text": - "23", "words": [{"boundingBox": [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, - 6.5359, 8.4716], "text": "23", "confidence": 1}]}, {"boundingBox": [6.7199, - 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": "/", "words": - [{"boundingBox": [6.7199, 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, - 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": [7.0358, 8.3585, - 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, 8.4715], "text": "2018", "words": - [{"boundingBox": [7.0358, 8.3585, 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, - 8.4715], "text": "2018", "confidence": 1}]}, {"boundingBox": [6.2125, 8.5205, - 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, 8.5281], "text": "______", "words": - [{"boundingBox": [6.2125, 8.5205, 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, - 8.5281], "text": "______", "confidence": 1}]}, {"boundingBox": [6.7649, 8.5205, - 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, 8.5281], "text": "________", "words": - [{"boundingBox": [6.7649, 8.5205, 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, - 8.5281], "text": "________", "confidence": 1}]}, {"boundingBox": [1.7087, - 8.6229, 4.1257, 8.6229, 4.1257, 8.7284, 1.7087, 8.7284], "text": "(must be - signed by authorized person to validate)", "words": [{"boundingBox": [1.7087, - 8.6229, 1.9762, 8.6229, 1.9762, 8.727, 1.7087, 8.727], "text": "(must", "confidence": - 1}, {"boundingBox": [2.0158, 8.6246, 2.1283, 8.6246, 2.1283, 8.7057, 2.0158, - 8.7057], "text": "be", "confidence": 1}, {"boundingBox": [2.168, 8.6246, 2.485, - 8.6246, 2.485, 8.7284, 2.168, 8.7284], "text": "signed", "confidence": 1}, - {"boundingBox": [2.5286, 8.6246, 2.6389, 8.6246, 2.6389, 8.7278, 2.5286, 8.7278], - "text": "by", "confidence": 1}, {"boundingBox": [2.6737, 8.6246, 3.1831, 8.6246, - 3.1831, 8.7057, 2.6737, 8.7057], "text": "authorized", "confidence": 1}, {"boundingBox": + "confidence": 1}]}, {"boundingBox": [5.8033, 8.37, 5.9867, 8.37, 5.9833, 8.49, + 5.8, 8.4933], "text": "08", "words": [{"boundingBox": [5.81, 8.37, 5.9767, + 8.37, 5.9767, 8.4933, 5.8133, 8.4933], "text": "08", "confidence": 0.949}]}, + {"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, 8.4835, 5.8155, 8.4835], + "text": "08", "words": [{"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, + 8.4835, 5.8155, 8.4835], "text": "08", "confidence": 1}]}, {"boundingBox": + [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, 6.1674, 8.5119], "text": + "/", "words": [{"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, + 6.1674, 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": [6.5359, + 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, 8.4716], "text": "23", "words": + [{"boundingBox": [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, + 8.4716], "text": "23", "confidence": 1}]}, {"boundingBox": [6.7199, 8.3968, + 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": "/", "words": [{"boundingBox": + [6.7199, 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": + "/", "confidence": 1}]}, {"boundingBox": [7.0358, 8.3585, 7.3644, 8.3585, + 7.3644, 8.4715, 7.0358, 8.4715], "text": "2018", "words": [{"boundingBox": + [7.0358, 8.3585, 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, 8.4715], "text": + "2018", "confidence": 1}]}, {"boundingBox": [6.2125, 8.5205, 6.7221, 8.5205, + 6.7221, 8.5281, 6.2125, 8.5281], "text": "______", "words": [{"boundingBox": + [6.2125, 8.5205, 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, 8.5281], "text": + "______", "confidence": 1}]}, {"boundingBox": [6.7649, 8.5205, 7.4445, 8.5205, + 7.4445, 8.5281, 6.7649, 8.5281], "text": "________", "words": [{"boundingBox": + [6.7649, 8.5205, 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, 8.5281], "text": + "________", "confidence": 1}]}, {"boundingBox": [1.7087, 8.6229, 4.1257, 8.6229, + 4.1257, 8.7284, 1.7087, 8.7284], "text": "(must be signed by authorized person + to validate)", "words": [{"boundingBox": [1.7087, 8.6229, 1.9762, 8.6229, + 1.9762, 8.727, 1.7087, 8.727], "text": "(must", "confidence": 1}, {"boundingBox": + [2.0158, 8.6246, 2.1283, 8.6246, 2.1283, 8.7057, 2.0158, 8.7057], "text": + "be", "confidence": 1}, {"boundingBox": [2.168, 8.6246, 2.485, 8.6246, 2.485, + 8.7284, 2.168, 8.7284], "text": "signed", "confidence": 1}, {"boundingBox": + [2.5286, 8.6246, 2.6389, 8.6246, 2.6389, 8.7278, 2.5286, 8.7278], "text": + "by", "confidence": 1}, {"boundingBox": [2.6737, 8.6246, 3.1831, 8.6246, 3.1831, + 8.7057, 2.6737, 8.7057], "text": "authorized", "confidence": 1}, {"boundingBox": [3.2268, 8.6445, 3.5523, 8.6445, 3.5523, 8.727, 3.2268, 8.727], "text": "person", "confidence": 1}, {"boundingBox": [3.592, 8.63, 3.6791, 8.63, 3.6791, 8.7056, 3.592, 8.7056], "text": "to", "confidence": 1}, {"boundingBox": [3.7147, 8.6229, @@ -507,44 +493,44 @@ interactions: "pageResults": [{"page": 1, "tables": [{"rows": 4, "columns": 4, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Name of Cardholder: John Singer", "boundingBox": [0.8104, 5.6546, 4.1554, 5.6546, 4.1554, 5.9962, 0.8104, 5.9962], - "elements": ["#/readResults/0/lines/17/words/0", "#/readResults/0/lines/17/words/1", - "#/readResults/0/lines/17/words/2", "#/readResults/0/lines/18/words/0", "#/readResults/0/lines/18/words/1"]}, + "elements": ["#/readResults/0/lines/18/words/0", "#/readResults/0/lines/18/words/1", + "#/readResults/0/lines/18/words/2", "#/readResults/0/lines/19/words/0", "#/readResults/0/lines/19/words/1"]}, {"rowIndex": 0, "columnIndex": 2, "columnSpan": 2, "text": "Contact persons - phone #, if questions with this form. Telephone #: ( ) - 425 779 3479", "boundingBox": + phone #, if questions with this form. Telephone #: ( 425 ) 779 3479 -", "boundingBox": [5.1496, 5.6546, 8.2604, 5.6546, 8.2604, 5.9962, 5.1496, 5.9962], "elements": - ["#/readResults/0/lines/19/words/0", "#/readResults/0/lines/19/words/1", "#/readResults/0/lines/19/words/2", - "#/readResults/0/lines/19/words/3", "#/readResults/0/lines/19/words/4", "#/readResults/0/lines/19/words/5", - "#/readResults/0/lines/19/words/6", "#/readResults/0/lines/19/words/7", "#/readResults/0/lines/20/words/0", - "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2", "#/readResults/0/lines/20/words/3", - "#/readResults/0/lines/22/words/0", "#/readResults/0/lines/23/words/0", "#/readResults/0/lines/21/words/0", - "#/readResults/0/lines/24/words/0", "#/readResults/0/lines/24/words/1"]}, + ["#/readResults/0/lines/20/words/0", "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2", + "#/readResults/0/lines/20/words/3", "#/readResults/0/lines/20/words/4", "#/readResults/0/lines/20/words/5", + "#/readResults/0/lines/20/words/6", "#/readResults/0/lines/20/words/7", "#/readResults/0/lines/21/words/0", + "#/readResults/0/lines/21/words/1", "#/readResults/0/lines/21/words/2", "#/readResults/0/lines/21/words/3", + "#/readResults/0/lines/22/words/0", "#/readResults/0/lines/23/words/0", "#/readResults/0/lines/24/words/0", + "#/readResults/0/lines/24/words/1", "#/readResults/0/lines/25/words/0"]}, {"rowIndex": 1, "columnIndex": 0, "text": "Email Address: johnsinger@hotmail.com", "boundingBox": [0.8104, 5.9962, 4.1554, 5.9962, 4.1554, 6.2262, 0.8104, 6.2262], - "elements": ["#/readResults/0/lines/25/words/0", "#/readResults/0/lines/25/words/1", - "#/readResults/0/lines/26/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "text": + "elements": ["#/readResults/0/lines/26/words/0", "#/readResults/0/lines/26/words/1", + "#/readResults/0/lines/27/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "text": "Mailing Address: 472 SE 74th ST", "boundingBox": [0.8104, 6.2262, 4.1554, - 6.2262, 4.1554, 6.5021, 0.8104, 6.5021], "elements": ["#/readResults/0/lines/27/words/0", - "#/readResults/0/lines/27/words/1", "#/readResults/0/lines/28/words/0", "#/readResults/0/lines/28/words/1", - "#/readResults/0/lines/28/words/2", "#/readResults/0/lines/28/words/3"]}, + 6.2262, 4.1554, 6.5021, 0.8104, 6.5021], "elements": ["#/readResults/0/lines/28/words/0", + "#/readResults/0/lines/28/words/1", "#/readResults/0/lines/29/words/0", "#/readResults/0/lines/29/words/1", + "#/readResults/0/lines/29/words/2", "#/readResults/0/lines/29/words/3"]}, {"rowIndex": 3, "columnIndex": 0, "text": "City: Lakewood", "boundingBox": [0.8104, 6.5021, 4.1554, 6.5021, 4.1554, 6.7146, 0.8104, 6.7146], "elements": - ["#/readResults/0/lines/29/words/0", "#/readResults/0/lines/30/words/0"]}, + ["#/readResults/0/lines/30/words/0", "#/readResults/0/lines/31/words/0"]}, {"rowIndex": 3, "columnIndex": 1, "text": "State: WA", "boundingBox": [4.1554, - 6.5021, 5.1496, 6.5021, 5.1496, 6.7146, 4.1554, 6.7146], "elements": ["#/readResults/0/lines/31/words/0", - "#/readResults/0/lines/32/words/0"]}, {"rowIndex": 3, "columnIndex": 3, "text": + 6.5021, 5.1496, 6.5021, 5.1496, 6.7146, 4.1554, 6.7146], "elements": ["#/readResults/0/lines/32/words/0", + "#/readResults/0/lines/33/words/0"]}, {"rowIndex": 3, "columnIndex": 3, "text": "Zip Code: 98712", "boundingBox": [6.4104, 6.5021, 8.2604, 6.5021, 8.2604, - 6.7146, 6.4104, 6.7146], "elements": ["#/readResults/0/lines/33/words/0", - "#/readResults/0/lines/33/words/1", "#/readResults/0/lines/34/words/0"]}]}]}]}}' + 6.7146, 6.4104, 6.7146], "elements": ["#/readResults/0/lines/34/words/0", + "#/readResults/0/lines/34/words/1", "#/readResults/0/lines/35/words/0"]}]}]}]}}' headers: - apim-request-id: 4a40697f-73bb-479e-ae36-90bf5dda951f - content-length: '33933' + apim-request-id: 209969b4-6093-4517-82f9-9c5c80b115f8 + content-length: '34566' content-type: application/json; charset=utf-8 - date: Thu, 29 Oct 2020 23:59:55 GMT + date: Wed, 03 Mar 2021 19:28:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/cd9f30a4-62f8-48d2-8b24-d13fd1d1980d + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/c81dfb2a-1677-4931-ad44-af1b4471b469 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_specify_pages.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_specify_pages.yaml index e07f5c24d21a..2cf2c4480e8d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_specify_pages.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_specify_pages.yaml @@ -1919,35 +1919,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1&readingOrder=basic response: body: string: '' headers: - apim-request-id: d0f61398-b80d-40e2-b5e0-580e7dd6c040 + apim-request-id: 0f960513-84bd-4fa6-9d19-b7f32bf9755c content-length: '0' - date: Thu, 29 Oct 2020 23:59:57 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/d0f61398-b80d-40e2-b5e0-580e7dd6c040 + date: Wed, 03 Mar 2021 19:28:48 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0f960513-84bd-4fa6-9d19-b7f32bf9755c strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '70' + x-envoy-upstream-service-time: '69' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?Pages=1 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/d0f61398-b80d-40e2-b5e0-580e7dd6c040 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0f960513-84bd-4fa6-9d19-b7f32bf9755c response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-29T23:59:57Z", - "lastUpdatedDateTime": "2020-10-30T00:00:02Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:28:49Z", + "lastUpdatedDateTime": "2021-03-03T19:28:53Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -2167,17 +2167,17 @@ interactions: 4.4126, 7.5062, 4.4126, 7.5062, 4.6246, 5.3322, 4.6184], "elements": ["#/readResults/0/lines/33/words/0"]}], "boundingBox": [0.9957, 2.9322, 7.4976, 2.9326, 7.4974, 4.6222, 0.9944, 4.6216]}]}]}}' headers: - apim-request-id: e1f9fcf8-80df-44cc-8ba0-f7ca6bb772e1 - content-length: '15990' + apim-request-id: c82e5f29-10bc-4956-9b42-36a5e298cd4a + content-length: '16076' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:02 GMT + date: Wed, 03 Mar 2021 19:28:53 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '30' + x-envoy-upstream-service-time: '21' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/d0f61398-b80d-40e2-b5e0-580e7dd6c040 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0f960513-84bd-4fa6-9d19-b7f32bf9755c - request: body: !!binary | JVBERi0xLjcNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFu @@ -4098,58 +4098,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1,3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1,3&readingOrder=basic response: body: string: '' headers: - apim-request-id: 8c1f353a-70bb-4bda-a017-2c358cffe7ef + apim-request-id: c95c6fe5-3d73-474b-b166-e0c1fa278508 content-length: '0' - date: Fri, 30 Oct 2020 00:00:02 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8c1f353a-70bb-4bda-a017-2c358cffe7ef + date: Wed, 03 Mar 2021 19:28:54 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/c95c6fe5-3d73-474b-b166-e0c1fa278508 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '57' + x-envoy-upstream-service-time: '73' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?Pages=1,3 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1,3&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8c1f353a-70bb-4bda-a017-2c358cffe7ef + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/c95c6fe5-3d73-474b-b166-e0c1fa278508 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:00:02Z", "lastUpdatedDateTime": - "2020-10-30T00:00:02Z"}' - headers: - apim-request-id: 87551668-bfa6-4d55-8215-b06c47fb4ebb - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:07 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8c1f353a-70bb-4bda-a017-2c358cffe7ef -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8c1f353a-70bb-4bda-a017-2c358cffe7ef - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:00:02Z", - "lastUpdatedDateTime": "2020-10-30T00:00:08Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:28:54Z", + "lastUpdatedDateTime": "2021-03-03T19:28:58Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -4587,17 +4564,17 @@ interactions: 4.4126, 7.5062, 4.4126, 7.5062, 4.6246, 5.3322, 4.6184], "elements": ["#/readResults/1/lines/33/words/0"]}], "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: - apim-request-id: 9593c6fc-8b7c-4b06-8450-43f8f5770a49 - content-length: '31877' + apim-request-id: 2bc5dcf9-70b3-400b-8a20-27b43f3945d8 + content-length: '32026' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:13 GMT + date: Wed, 03 Mar 2021 19:28:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '36' + x-envoy-upstream-service-time: '49' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8c1f353a-70bb-4bda-a017-2c358cffe7ef + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/c95c6fe5-3d73-474b-b166-e0c1fa278508 - request: body: !!binary | JVBERi0xLjcNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFu @@ -6518,58 +6495,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2&readingOrder=basic response: body: string: '' headers: - apim-request-id: 7720599b-0afd-4cfb-bd0c-af1c3970a461 + apim-request-id: 9d9d403f-e641-4728-9fba-e1d5253a2b69 content-length: '0' - date: Fri, 30 Oct 2020 00:00:13 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/7720599b-0afd-4cfb-bd0c-af1c3970a461 + date: Wed, 03 Mar 2021 19:29:00 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/9d9d403f-e641-4728-9fba-e1d5253a2b69 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '60' + x-envoy-upstream-service-time: '59' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/7720599b-0afd-4cfb-bd0c-af1c3970a461 - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:00:13Z", "lastUpdatedDateTime": - "2020-10-30T00:00:13Z"}' - headers: - apim-request-id: 9c9ce5ad-51aa-4233-90f8-f994430b2b66 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:18 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/7720599b-0afd-4cfb-bd0c-af1c3970a461 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/7720599b-0afd-4cfb-bd0c-af1c3970a461 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/9d9d403f-e641-4728-9fba-e1d5253a2b69 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:00:13Z", - "lastUpdatedDateTime": "2020-10-30T00:00:19Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:29:00Z", + "lastUpdatedDateTime": "2021-03-03T19:29:04Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -6791,17 +6745,17 @@ interactions: "boundingBox": [0.9957, 2.9322, 7.4976, 2.9326, 7.4974, 4.6222, 0.9944, 4.6216]}]}, {"page": 2, "tables": []}]}}' headers: - apim-request-id: a044dffb-6fe8-402e-8a16-ef2c47cd6211 - content-length: '16083' + apim-request-id: 8bd1c946-56c5-456a-ac9b-60deaf267170 + content-length: '16169' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:23 GMT + date: Wed, 03 Mar 2021 19:29:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '49' + x-envoy-upstream-service-time: '44' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/7720599b-0afd-4cfb-bd0c-af1c3970a461 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/9d9d403f-e641-4728-9fba-e1d5253a2b69 - request: body: !!binary | JVBERi0xLjcNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFu @@ -8722,58 +8676,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2,3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2,3&readingOrder=basic response: body: string: '' headers: - apim-request-id: 2952a0b9-2d1d-4d5d-a05f-97c1645d9b51 + apim-request-id: f50c25c6-10b7-41de-8af7-5ba92fcdfcc5 content-length: '0' - date: Fri, 30 Oct 2020 00:00:23 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2952a0b9-2d1d-4d5d-a05f-97c1645d9b51 + date: Wed, 03 Mar 2021 19:29:05 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f50c25c6-10b7-41de-8af7-5ba92fcdfcc5 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '55' + x-envoy-upstream-service-time: '75' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2,3 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2952a0b9-2d1d-4d5d-a05f-97c1645d9b51 - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:00:23Z", "lastUpdatedDateTime": - "2020-10-30T00:00:28Z"}' - headers: - apim-request-id: 22e7033d-c934-438b-9b57-de2e3ca13231 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:28 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2952a0b9-2d1d-4d5d-a05f-97c1645d9b51 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2,3&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2952a0b9-2d1d-4d5d-a05f-97c1645d9b51 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f50c25c6-10b7-41de-8af7-5ba92fcdfcc5 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:00:23Z", - "lastUpdatedDateTime": "2020-10-30T00:00:29Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:29:05Z", + "lastUpdatedDateTime": "2021-03-03T19:29:09Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -9213,15 +9144,15 @@ interactions: 4.4126, 7.5062, 4.4126, 7.5062, 4.6246, 5.3322, 4.6184], "elements": ["#/readResults/2/lines/33/words/0"]}], "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: - apim-request-id: 125506ec-86f1-4db3-aac2-5825fc549bc3 - content-length: '31970' + apim-request-id: e77b2742-2e64-4a90-b411-d0f9c3a94f34 + content-length: '32119' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:33 GMT + date: Wed, 03 Mar 2021 19:29:10 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '41' + x-envoy-upstream-service-time: '81' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2952a0b9-2d1d-4d5d-a05f-97c1645d9b51 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f50c25c6-10b7-41de-8af7-5ba92fcdfcc5 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_jpg.yaml index d5a072485170..6cd302ccc5af 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_jpg.yaml @@ -8,328 +8,329 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: b6194d7c-4389-4062-b02a-f80d870634ba + apim-request-id: 143f3a86-cdfa-4b69-8c89-ce259b748f32 content-length: '0' - date: Fri, 30 Oct 2020 00:00:35 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b6194d7c-4389-4062-b02a-f80d870634ba + date: Wed, 03 Mar 2021 19:29:10 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/143f3a86-cdfa-4b69-8c89-ce259b748f32 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '100' + x-envoy-upstream-service-time: '94' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b6194d7c-4389-4062-b02a-f80d870634ba + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/143f3a86-cdfa-4b69-8c89-ce259b748f32 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:00:36Z", - "lastUpdatedDateTime": "2020-10-30T00:00:40Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:29:11Z", + "lastUpdatedDateTime": "2021-03-03T19:29:15Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, 264, 139, - 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, 259, + 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [863, 1179, 892, 1179, 891, 1204, 863, - 1204], "text": "20", "confidence": 0.986}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [489, 1671, 609, 1671, 609, 1706, 489, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [616, 1671, - 764, 1670, 765, 1708, 616, 1706], "text": "Sanders", "confidence": 0.979}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 595, 1671, 595, 1706, 484, 1706], "text": "Bernie", "confidence": 0.993}, + {"boundingBox": [602, 1671, 761, 1670, 762, 1708, 602, 1706], "text": "Sanders", + "confidence": 0.99}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -389,15 +390,15 @@ interactions: 1663, 1543, 1663, 1543, 1708, 1308, 1707], "elements": ["#/readResults/0/lines/47/words/0"]}], "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: - apim-request-id: 97f9c169-c1d9-41d8-ac74-8de298d958f8 - content-length: '24387' + apim-request-id: 37575bec-c0f0-41fd-850f-16ed8092f29d + content-length: '24433' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:41 GMT + date: Wed, 03 Mar 2021 19:29:15 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '26' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b6194d7c-4389-4062-b02a-f80d870634ba + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/143f3a86-cdfa-4b69-8c89-ce259b748f32 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_pdf.yaml index c75cc056c7d6..657e4fa31cf1 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_pdf.yaml @@ -8,58 +8,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 84b00cca-ac1a-463d-b668-89c582c0c770 + apim-request-id: 541f9269-d28b-44ad-b2ff-694912b88b1c content-length: '0' - date: Fri, 30 Oct 2020 00:00:42 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/84b00cca-ac1a-463d-b668-89c582c0c770 + date: Wed, 03 Mar 2021 19:29:16 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/541f9269-d28b-44ad-b2ff-694912b88b1c strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '80' + x-envoy-upstream-service-time: '100' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/84b00cca-ac1a-463d-b668-89c582c0c770 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/541f9269-d28b-44ad-b2ff-694912b88b1c response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:00:42Z", "lastUpdatedDateTime": - "2020-10-30T00:00:47Z"}' - headers: - apim-request-id: b26e264e-7f72-4378-b619-26f8ad6c8e2c - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:47 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/84b00cca-ac1a-463d-b668-89c582c0c770 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/84b00cca-ac1a-463d-b668-89c582c0c770 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:00:42Z", - "lastUpdatedDateTime": "2020-10-30T00:00:47Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:29:17Z", + "lastUpdatedDateTime": "2021-03-03T19:29:20Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -183,15 +160,15 @@ interactions: 7.4922, 3.8534, 6.1079, 3.8534], "elements": []}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: - apim-request-id: 053b9199-ced6-429b-860a-7050f841c682 - content-length: '8802' + apim-request-id: 22132941-90cd-41a9-bb2d-b925d6f9a24e + content-length: '8901' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:52 GMT + date: Wed, 03 Mar 2021 19:29:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/84b00cca-ac1a-463d-b668-89c582c0c770 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/541f9269-d28b-44ad-b2ff-694912b88b1c version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_transform_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_transform_jpg.yaml index 7f86fc94fe44..bd211a8825d6 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_transform_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_transform_jpg.yaml @@ -8,328 +8,329 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 9a573ff1-a7ee-4095-8498-7aad1a33de49 + apim-request-id: 2a156803-7c07-47ee-a43d-59960e5b24ac content-length: '0' - date: Fri, 30 Oct 2020 00:00:54 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/9a573ff1-a7ee-4095-8498-7aad1a33de49 + date: Wed, 03 Mar 2021 19:29:22 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2a156803-7c07-47ee-a43d-59960e5b24ac strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '111' + x-envoy-upstream-service-time: '115' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/9a573ff1-a7ee-4095-8498-7aad1a33de49 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2a156803-7c07-47ee-a43d-59960e5b24ac response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:00:54Z", - "lastUpdatedDateTime": "2020-10-30T00:00:58Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:29:22Z", + "lastUpdatedDateTime": "2021-03-03T19:29:25Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, 264, 139, - 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, 259, + 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [863, 1179, 892, 1179, 891, 1204, 863, - 1204], "text": "20", "confidence": 0.986}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [489, 1671, 609, 1671, 609, 1706, 489, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [616, 1671, - 764, 1670, 765, 1708, 616, 1706], "text": "Sanders", "confidence": 0.979}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 595, 1671, 595, 1706, 484, 1706], "text": "Bernie", "confidence": 0.993}, + {"boundingBox": [602, 1671, 761, 1670, 762, 1708, 602, 1706], "text": "Sanders", + "confidence": 0.99}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -389,15 +390,15 @@ interactions: 1663, 1543, 1663, 1543, 1708, 1308, 1707], "elements": ["#/readResults/0/lines/47/words/0"]}], "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: - apim-request-id: 590e36c5-e564-43a5-9510-34a06c341e27 - content-length: '24387' + apim-request-id: ec09d466-a769-4b35-8013-01a8a0033125 + content-length: '24433' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:00:59 GMT + date: Wed, 03 Mar 2021 19:29:27 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '29' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/9a573ff1-a7ee-4095-8498-7aad1a33de49 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2a156803-7c07-47ee-a43d-59960e5b24ac version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_transform_pdf.yaml index f8cab71c9088..8a26d5a493c3 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_transform_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_content_stream_transform_pdf.yaml @@ -8,58 +8,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: a4fbf4eb-9607-4a20-99df-d359e570c0a1 + apim-request-id: 420f6ad8-c4de-48f1-ac33-847741f6a4fd content-length: '0' - date: Fri, 30 Oct 2020 00:01:00 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/a4fbf4eb-9607-4a20-99df-d359e570c0a1 + date: Wed, 03 Mar 2021 19:29:28 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/420f6ad8-c4de-48f1-ac33-847741f6a4fd strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '82' + x-envoy-upstream-service-time: '95' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/a4fbf4eb-9607-4a20-99df-d359e570c0a1 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/420f6ad8-c4de-48f1-ac33-847741f6a4fd response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:01:00Z", "lastUpdatedDateTime": - "2020-10-30T00:01:05Z"}' - headers: - apim-request-id: b9cd593b-494d-4af3-97e9-57d8cc23729c - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:01:05 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/a4fbf4eb-9607-4a20-99df-d359e570c0a1 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/a4fbf4eb-9607-4a20-99df-d359e570c0a1 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:01:00Z", - "lastUpdatedDateTime": "2020-10-30T00:01:05Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:29:28Z", + "lastUpdatedDateTime": "2021-03-03T19:29:32Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -183,15 +160,15 @@ interactions: 7.4922, 3.8534, 6.1079, 3.8534], "elements": []}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: - apim-request-id: 4243b3f9-c187-4da3-87b3-da22ce854867 - content-length: '8802' + apim-request-id: d8585bc0-3efa-4814-b30c-a6bbf99081e7 + content-length: '8901' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:01:10 GMT + date: Wed, 03 Mar 2021 19:29:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '21' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/a4fbf4eb-9607-4a20-99df-d359e570c0a1 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/420f6ad8-c4de-48f1-ac33-847741f6a4fd version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_damaged_file_passed_as_bytes.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_damaged_file_passed_as_bytes.yaml index d81a41315505..70a9bb6b32aa 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_damaged_file_passed_as_bytes.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_damaged_file_passed_as_bytes.yaml @@ -7,9 +7,9 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "InvalidImage", "message": "The file submitted couldn''t @@ -17,15 +17,15 @@ interactions: is not supported ( Supported formats include JPEG, PNG, BMP, PDF and TIFF), the file is corrupted or password protected."}}' headers: - apim-request-id: 3281dd26-dee3-49e0-9af8-4279a0927779 + apim-request-id: d238ab3a-40b5-45d8-9299-0899f9e5ef91 content-length: '270' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:01:10 GMT + date: Wed, 03 Mar 2021 19:29:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' + x-envoy-upstream-service-time: '2' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_damaged_file_passed_as_bytes_io.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_damaged_file_passed_as_bytes_io.yaml index c112d6ba33b7..03124591d712 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_damaged_file_passed_as_bytes_io.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_damaged_file_passed_as_bytes_io.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "BadArgument", "message": "Bad or unrecognizable request JSON or binary file."}}' headers: - apim-request-id: 6cff0158-5764-4bf2-8661-b289d865ec64 + apim-request-id: 434ec277-b8da-453e-b185-ac9f2ac49774 content-length: '95' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:01:10 GMT + date: Wed, 03 Mar 2021 19:29:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff x-envoy-upstream-service-time: '3' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_passing_enum_content_type.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_passing_enum_content_type.yaml index 0d0e13f5a97f..dff46922b722 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_passing_enum_content_type.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_async.test_passing_enum_content_type.yaml @@ -8,35 +8,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: ef0031b2-3757-4a62-a532-15c3dd9bd992 + apim-request-id: fb17e008-18bf-4e40-841e-9f7c07b57ab7 content-length: '0' - date: Fri, 30 Oct 2020 00:01:11 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/ef0031b2-3757-4a62-a532-15c3dd9bd992 + date: Wed, 03 Mar 2021 19:29:34 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/fb17e008-18bf-4e40-841e-9f7c07b57ab7 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '83' + x-envoy-upstream-service-time: '109' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/ef0031b2-3757-4a62-a532-15c3dd9bd992 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/fb17e008-18bf-4e40-841e-9f7c07b57ab7 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:01:12Z", - "lastUpdatedDateTime": "2020-10-30T00:01:16Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:29:34Z", + "lastUpdatedDateTime": "2021-03-03T19:29:38Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -160,15 +160,15 @@ interactions: 7.4922, 3.8534, 6.1079, 3.8534], "elements": []}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: - apim-request-id: a051096f-0812-4547-8843-73ac03af3aa4 - content-length: '8802' + apim-request-id: ff96a3f0-0959-4d19-8a32-7e5e2e8ceff4 + content-length: '8901' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:01:17 GMT + date: Wed, 03 Mar 2021 19:29:39 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '39' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/ef0031b2-3757-4a62-a532-15c3dd9bd992 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/fb17e008-18bf-4e40-841e-9f7c07b57ab7 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_bad_url.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_bad_url.yaml index 4fbc8ec925e1..35379556fac5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_bad_url.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_bad_url.yaml @@ -13,28 +13,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "FailedToDownloadImage", "message": "Failed to download image from input URL."}}' headers: apim-request-id: - - c526de3a-0f67-4328-9c53-6653b603f170 + - 7e4f774c-c346-4643-abc1-6479cff8fb4e content-length: - '95' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:05:38 GMT + - Mon, 01 Mar 2021 18:40:24 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '74' + - '53' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_encoded_url.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_encoded_url.yaml index afe99a9cc12a..7d884257b290 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_encoded_url.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_encoded_url.yaml @@ -13,30 +13,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: - string: '{"error": {"code": "InvalidImage", "message": "The file submitted couldn''t - be parsed. This can be due to one of the following reasons: the file format - is not supported ( Supported formats include JPEG, PNG, BMP, PDF and TIFF), - the file is corrupted or password protected."}}' + string: '{"error": {"code": "FailedToDownloadImage", "message": "Failed to download + image from input URL."}}' headers: apim-request-id: - - af79c02e-0c5f-42b5-a709-aa6b0104d4a0 + - 2c10ea44-0ce2-4d4c-b590-1300f936a253 content-length: - - '270' + - '95' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:05:39 GMT + - Mon, 01 Mar 2021 18:40:31 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '967' + - '270' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_chinese_simplified.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_chinese_simplified.yaml index 8ba25f01a048..a1506ae3943e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_chinese_simplified.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_chinese_simplified.yaml @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '235' + - '233' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=zh-Hans + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=zh-Hans&readingOrder=basic response: body: string: '' headers: apim-request-id: - - efac1188-43b7-4908-a714-8147ec7054af + - 6efb4504-6aef-4cae-aab8-13514907902f content-length: - '0' date: - - Tue, 10 Nov 2020 00:18:00 GMT + - Mon, 01 Mar 2021 18:40:32 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/efac1188-43b7-4908-a714-8147ec7054af + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6efb4504-6aef-4cae-aab8-13514907902f strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '712' + - '81' status: code: 202 message: Accepted @@ -47,48 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/efac1188-43b7-4908-a714-8147ec7054af + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6efb4504-6aef-4cae-aab8-13514907902f response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:18:00Z", "lastUpdatedDateTime": - "2020-11-10T00:18:00Z"}' - headers: - apim-request-id: - - aa8928fc-0542-4c5a-aebb-35bdcf0d4c07 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 Nov 2020 00:18:05 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '16' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/efac1188-43b7-4908-a714-8147ec7054af - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:18:00Z", - "lastUpdatedDateTime": "2020-11-10T00:18:06Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:40:32Z", + "lastUpdatedDateTime": "2021-03-01T18:40:36Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "zh-Hans", "lines": [{"boundingBox": [0.8792, 1.1454, 1.7967, 1.1454, 1.7967, 1.3244, 0.8792, 1.3244], "text": "\u516c\u53f8A\u53d1\u7968", @@ -410,19 +375,19 @@ interactions: "boundingBox": [1.0011, 3.2554, 7.4957, 3.2567, 7.4948, 5.0299, 0.9995, 5.0285]}]}]}}' headers: apim-request-id: - - e3f504ac-135e-4ff9-bb83-59197790aced + - 5556a485-13c9-44b9-b4e5-659c82b4ed0a content-length: - - '22708' + - '22871' content-type: - application/json; charset=utf-8 date: - - Tue, 10 Nov 2020 00:18:10 GMT + - Mon, 01 Mar 2021 18:40:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '31' + - '20' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_dutch.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_dutch.yaml index 8fb1ab12a116..a39e93664cb5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_dutch.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_dutch.yaml @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '222' + - '220' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=nl + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=nl&readingOrder=basic response: body: string: '' headers: apim-request-id: - - 6c9dfa61-d20d-41c5-910a-2f94cc0a44ca + - 64a7fefe-9799-40b9-b29f-2fb634354023 content-length: - '0' date: - - Tue, 10 Nov 2020 00:19:40 GMT + - Mon, 01 Mar 2021 18:40:37 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/6c9dfa61-d20d-41c5-910a-2f94cc0a44ca + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/64a7fefe-9799-40b9-b29f-2fb634354023 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '665' + - '517' status: code: 202 message: Accepted @@ -47,28 +47,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/6c9dfa61-d20d-41c5-910a-2f94cc0a44ca + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/64a7fefe-9799-40b9-b29f-2fb634354023 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:19:41Z", "lastUpdatedDateTime": - "2020-11-10T00:19:41Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:40:38Z", "lastUpdatedDateTime": + "2021-03-01T18:40:38Z"}' headers: apim-request-id: - - 2556ea15-d553-48df-95cf-be16dabd83f2 + - ac8d9fa7-e89a-4869-8b4f-7edc639cfbd2 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Tue, 10 Nov 2020 00:19:46 GMT + - Mon, 01 Mar 2021 18:40:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '14' status: code: 200 message: OK @@ -82,13 +82,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/6c9dfa61-d20d-41c5-910a-2f94cc0a44ca + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/64a7fefe-9799-40b9-b29f-2fb634354023 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:19:41Z", - "lastUpdatedDateTime": "2020-11-10T00:19:47Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:40:38Z", + "lastUpdatedDateTime": "2021-03-01T18:40:44Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "nl", "lines": [{"boundingBox": [0.8917, 1.1119, 2.3863, 1.1119, 2.3863, 1.2798, 0.8917, 1.2798], "text": "Bedrijf een factuur", @@ -308,19 +308,19 @@ interactions: "boundingBox": [0.9958, 2.9315, 7.4972, 2.9318, 7.497, 4.6317, 0.9946, 4.6308]}]}]}}' headers: apim-request-id: - - a35892bb-01b7-46e9-b83b-108f6bf2a790 + - 8f40a27e-99da-434f-96df-74938dc7dc33 content-length: - - '16012' + - '16117' content-type: - application/json; charset=utf-8 date: - - Tue, 10 Nov 2020 00:19:50 GMT + - Mon, 01 Mar 2021 18:40:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '30' + - '20' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_error.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_error.yaml index 5da591ed38ba..fd5564bff8cd 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_error.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_error.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Form_1.jpg"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,32 +9,32 @@ interactions: Connection: - keep-alive Content-Length: - - '160' + - '213' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=not%20a%20language + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=not%20a%20language&readingOrder=basic response: body: string: '{"error": {"code": "NotSupportedLanguage", "message": "The requested operation is not supported in the language specified."}}' headers: apim-request-id: - - a18801d5-1667-4e2b-85a9-728e2d64446a + - 432a9324-709e-40ac-973e-cb41c686c239 content-length: - '121' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Nov 2020 19:22:14 GMT + - Mon, 01 Mar 2021 18:40:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_french.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_french.yaml index 815a292b430a..81afe816e78d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_french.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_french.yaml @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '223' + - '221' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=fr + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=fr&readingOrder=basic response: body: string: '' headers: apim-request-id: - - 1815f133-9a37-4ab6-a0e5-a3b293e10476 + - 35a82a5f-9677-47bd-90b4-b1fe98c2a709 content-length: - '0' date: - - Tue, 10 Nov 2020 00:21:22 GMT + - Mon, 01 Mar 2021 18:40:48 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/1815f133-9a37-4ab6-a0e5-a3b293e10476 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/35a82a5f-9677-47bd-90b4-b1fe98c2a709 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '565' + - '158' status: code: 202 message: Accepted @@ -47,48 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/1815f133-9a37-4ab6-a0e5-a3b293e10476 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/35a82a5f-9677-47bd-90b4-b1fe98c2a709 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:21:22Z", "lastUpdatedDateTime": - "2020-11-10T00:21:22Z"}' - headers: - apim-request-id: - - ddeff76d-c33f-4f38-aed3-e8a68dd395ed - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 Nov 2020 00:21:27 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '12' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/1815f133-9a37-4ab6-a0e5-a3b293e10476 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:21:22Z", - "lastUpdatedDateTime": "2020-11-10T00:21:27Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:40:49Z", + "lastUpdatedDateTime": "2021-03-01T18:40:54Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "fr", "lines": [{"boundingBox": [0.8822, 1.1117, 2.276, 1.1117, 2.276, 1.2468, 0.8822, 1.2468], "text": "Soci\u00e9t\u00e9 @@ -313,19 +278,19 @@ interactions: "boundingBox": [0.9965, 2.9319, 7.4974, 2.9324, 7.4971, 4.632, 0.9951, 4.631]}]}]}}' headers: apim-request-id: - - e3007d03-9129-4068-bd66-84e542feb198 + - 0b246a4f-7f34-42b1-8202-acbd85aacb3b content-length: - - '16218' + - '16338' content-type: - application/json; charset=utf-8 date: - - Tue, 10 Nov 2020 00:21:32 GMT + - Mon, 01 Mar 2021 18:40:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '21' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_german.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_german.yaml index 4b685cc3e0f8..12026396bc2a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_german.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_german.yaml @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '223' + - '221' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=de + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=de&readingOrder=basic response: body: string: '' headers: apim-request-id: - - 580a5bf3-6760-42ca-9825-105daf7b7dcc + - 591c3b28-c784-4848-9025-a4f2692c1079 content-length: - '0' date: - - Tue, 10 Nov 2020 00:04:45 GMT + - Mon, 01 Mar 2021 18:40:54 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/580a5bf3-6760-42ca-9825-105daf7b7dcc + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/591c3b28-c784-4848-9025-a4f2692c1079 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '503' + - '465' status: code: 202 message: Accepted @@ -47,48 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/580a5bf3-6760-42ca-9825-105daf7b7dcc + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/591c3b28-c784-4848-9025-a4f2692c1079 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:04:45Z", "lastUpdatedDateTime": - "2020-11-10T00:04:45Z"}' - headers: - apim-request-id: - - 9f78e386-1664-435a-a3e2-cea6e0cd5492 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 Nov 2020 00:04:50 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '15' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/580a5bf3-6760-42ca-9825-105daf7b7dcc - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:04:45Z", - "lastUpdatedDateTime": "2020-11-10T00:04:51Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:40:55Z", + "lastUpdatedDateTime": "2021-03-01T18:41:00Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "de", "lines": [{"boundingBox": [0.8915, 1.1143, 2.362, 1.1143, 2.362, 1.2485, 0.8915, 1.2485], "text": "Unternehmen Eine", @@ -306,19 +271,19 @@ interactions: "boundingBox": [0.9969, 2.9321, 7.4979, 2.9326, 7.4976, 4.632, 0.9956, 4.6311]}]}]}}' headers: apim-request-id: - - cb7dde3c-c609-4b6c-88ea-8f002dc7094a + - 6e80b1ef-3ed5-4ade-a6e3-39966e192736 content-length: - - '15858' + - '15971' content-type: - application/json; charset=utf-8 date: - - Tue, 10 Nov 2020 00:04:55 GMT + - Mon, 01 Mar 2021 18:41:00 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '27' + - '24' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_italian.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_italian.yaml index 1e756d215d25..e4f19b1af771 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_italian.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_italian.yaml @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '224' + - '222' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=it + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=it&readingOrder=basic response: body: string: '' headers: apim-request-id: - - 1f805391-ca55-4b7d-b27d-2df23e0e20ad + - e76e0b3c-8c23-4dda-8918-aae0a1b89043 content-length: - '0' date: - - Tue, 10 Nov 2020 00:23:09 GMT + - Mon, 01 Mar 2021 18:41:01 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/1f805391-ca55-4b7d-b27d-2df23e0e20ad + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/e76e0b3c-8c23-4dda-8918-aae0a1b89043 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '577' + - '131' status: code: 202 message: Accepted @@ -47,48 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/1f805391-ca55-4b7d-b27d-2df23e0e20ad + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/e76e0b3c-8c23-4dda-8918-aae0a1b89043 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:23:09Z", "lastUpdatedDateTime": - "2020-11-10T00:23:09Z"}' - headers: - apim-request-id: - - e3b54012-6bb7-4cbb-8fd6-7801d49475ae - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 Nov 2020 00:23:13 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '13' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/1f805391-ca55-4b7d-b27d-2df23e0e20ad - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:23:09Z", - "lastUpdatedDateTime": "2020-11-10T00:23:14Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:41:01Z", + "lastUpdatedDateTime": "2021-03-01T18:41:04Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "it", "lines": [{"boundingBox": [0.8822, 1.1117, 2.4541, 1.1117, 2.4541, 1.2468, 0.8822, 1.2468], "text": "Societ\u00e0 Una @@ -308,19 +273,19 @@ interactions: "boundingBox": [0.9965, 2.932, 7.4974, 2.9323, 7.4971, 4.6318, 0.9951, 4.6311]}]}]}}' headers: apim-request-id: - - c5559268-9dbf-4dcb-8841-14f514129152 + - 0e8dbaf9-15b6-4f0b-b9dc-72204248dc82 content-length: - - '15934' + - '16047' content-type: - application/json; charset=utf-8 date: - - Tue, 10 Nov 2020 00:23:19 GMT + - Mon, 01 Mar 2021 18:41:06 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '20' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_portuguese.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_portuguese.yaml index e1b49d37536c..1b530a351a58 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_portuguese.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_portuguese.yaml @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '227' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=pt + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=pt&readingOrder=basic response: body: string: '' headers: apim-request-id: - - 30ffb04c-b388-4634-9df6-402aa350498b + - 838ac232-4771-4bb0-9951-dfdd29e6d12b content-length: - '0' date: - - Tue, 10 Nov 2020 00:24:51 GMT + - Mon, 01 Mar 2021 18:41:05 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/30ffb04c-b388-4634-9df6-402aa350498b + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/838ac232-4771-4bb0-9951-dfdd29e6d12b strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '547' + - '88' status: code: 202 message: Accepted @@ -47,48 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/30ffb04c-b388-4634-9df6-402aa350498b + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/838ac232-4771-4bb0-9951-dfdd29e6d12b response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:24:52Z", "lastUpdatedDateTime": - "2020-11-10T00:24:52Z"}' - headers: - apim-request-id: - - d1c70197-ee03-4eb6-941f-382d63253975 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 Nov 2020 00:24:57 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '15' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/30ffb04c-b388-4634-9df6-402aa350498b - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:24:52Z", - "lastUpdatedDateTime": "2020-11-10T00:24:57Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:41:06Z", + "lastUpdatedDateTime": "2021-03-01T18:41:10Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "pt", "lines": [{"boundingBox": [0.8917, 1.1215, 2.5557, 1.1215, 2.5557, 1.2798, 0.8917, 1.2798], "text": "Empresa Uma Fatura", @@ -308,19 +273,19 @@ interactions: "boundingBox": [0.9961, 2.9315, 7.4975, 2.9318, 7.4972, 4.6318, 0.9948, 4.6309]}]}]}}' headers: apim-request-id: - - 43789201-cb70-402e-9ee3-05984134c554 + - cd59484f-0929-40f0-8429-ca506f87db11 content-length: - - '15900' + - '16006' content-type: - application/json; charset=utf-8 date: - - Tue, 10 Nov 2020 00:25:02 GMT + - Mon, 01 Mar 2021 18:41:11 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '32' + - '23' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_spanish.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_spanish.yaml index c058a03639fa..06bf44645649 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_spanish.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_spanish.yaml @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '224' + - '222' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=es + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=es&readingOrder=basic response: body: string: '' headers: apim-request-id: - - bcb67286-2d8f-497a-bae7-4ff4fb6b302f + - ad12a147-0458-410a-8149-1d221a1d34e8 content-length: - '0' date: - - Tue, 10 Nov 2020 00:28:06 GMT + - Mon, 01 Mar 2021 18:41:12 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/bcb67286-2d8f-497a-bae7-4ff4fb6b302f + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/ad12a147-0458-410a-8149-1d221a1d34e8 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '539' + - '405' status: code: 202 message: Accepted @@ -47,48 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/bcb67286-2d8f-497a-bae7-4ff4fb6b302f + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/ad12a147-0458-410a-8149-1d221a1d34e8 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:28:06Z", "lastUpdatedDateTime": - "2020-11-10T00:28:06Z"}' - headers: - apim-request-id: - - ad80a849-c11b-4573-a983-77689877b81b - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 10 Nov 2020 00:28:10 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '87' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/bcb67286-2d8f-497a-bae7-4ff4fb6b302f - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:28:06Z", - "lastUpdatedDateTime": "2020-11-10T00:28:12Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:41:12Z", + "lastUpdatedDateTime": "2021-03-01T18:41:17Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "es", "lines": [{"boundingBox": [0.8917, 1.1119, 2.5309, 1.1119, 2.5309, 1.2798, 0.8917, 1.2798], "text": "Empresa una factura", @@ -307,19 +272,19 @@ interactions: "boundingBox": [0.9959, 2.9319, 7.4973, 2.9322, 7.497, 4.6319, 0.9945, 4.6311]}]}]}}' headers: apim-request-id: - - 6f77f4e6-a8a1-44be-997b-b667fe31b9df + - b1904e63-bd4a-485b-adfd-cdc0e30286cd content-length: - - '15818' + - '15923' content-type: - application/json; charset=utf-8 date: - - Tue, 10 Nov 2020 00:28:16 GMT + - Mon, 01 Mar 2021 18:41:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '27' + - '18' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_specified.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_specified.yaml index c051fb0fc6ab..55d5517195ff 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_specified.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_language_specified.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Form_1.jpg"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '160' + - '213' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=de + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=de&readingOrder=basic response: body: string: '' headers: apim-request-id: - - aa78f0da-ba1e-43a3-98a1-2f370b9b26f0 + - cb6b1625-48d3-4000-9820-54bf9a7f866f content-length: - '0' date: - - Tue, 03 Nov 2020 19:22:15 GMT + - Mon, 01 Mar 2021 18:41:18 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/aa78f0da-ba1e-43a3-98a1-2f370b9b26f0 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/cb6b1625-48d3-4000-9820-54bf9a7f866f strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '443' + - '174' status: code: 202 message: Accepted @@ -47,306 +47,307 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/aa78f0da-ba1e-43a3-98a1-2f370b9b26f0 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/cb6b1625-48d3-4000-9820-54bf9a7f866f response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-03T19:22:15Z", - "lastUpdatedDateTime": "2020-11-03T19:22:19Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:41:18Z", + "lastUpdatedDateTime": "2021-03-01T18:41:21Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "language": "de", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, - 264, 139, 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, + 259, 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, - 1203], "text": "20", "confidence": 0.983}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [484, 1671, 602, 1671, 603, 1706, 484, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [609, 1671, - 764, 1670, 765, 1708, 609, 1706], "text": "Sanders", "confidence": 0.984}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 596, 1671, 597, 1706, 484, 1706], "text": "Bernie", "confidence": 0.968}, + {"boundingBox": [606, 1671, 763, 1670, 764, 1708, 607, 1706], "text": "Sanders", + "confidence": 0.996}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -407,19 +408,19 @@ interactions: "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: apim-request-id: - - 828f3ca5-6611-4289-86ca-dbb5288f609c + - 35c7cc3a-554a-45bc-b88a-14ee27585736 content-length: - - '24403' + - '24449' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Nov 2020 19:22:20 GMT + - Mon, 01 Mar 2021 18:41:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '27' + - '21' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_table_span_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_table_span_pdf.yaml index 35bbc06c9fc7..d49ecc062260 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_table_span_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_table_span_pdf.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipagelayout.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '169' + - '222' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 4be480db-e70a-40d9-8ac2-97484342990b + - 9e06e8b4-5d43-43f2-a778-7a38a6e56ec9 content-length: - '0' date: - - Fri, 30 Oct 2020 00:05:39 GMT + - Mon, 01 Mar 2021 18:41:23 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4be480db-e70a-40d9-8ac2-97484342990b + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/9e06e8b4-5d43-43f2-a778-7a38a6e56ec9 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '555' + - '255' status: code: 202 message: Accepted @@ -47,28 +47,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4be480db-e70a-40d9-8ac2-97484342990b + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/9e06e8b4-5d43-43f2-a778-7a38a6e56ec9 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:05:39Z", "lastUpdatedDateTime": - "2020-10-30T00:05:39Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:41:24Z", "lastUpdatedDateTime": + "2021-03-01T18:41:24Z"}' headers: apim-request-id: - - d95ab51c-931c-4346-bcb7-77fc04ce964f + - 9e230935-fc36-4734-8499-75d33188f3e6 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:05:43 GMT + - Mon, 01 Mar 2021 18:41:28 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '12' status: code: 200 message: OK @@ -82,13 +82,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4be480db-e70a-40d9-8ac2-97484342990b + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/9e06e8b4-5d43-43f2-a778-7a38a6e56ec9 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:05:39Z", - "lastUpdatedDateTime": "2020-10-30T00:05:45Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:41:24Z", + "lastUpdatedDateTime": "2021-03-01T18:41:29Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [1.0119, 1.6855, 3.9147, 1.6855, 3.9147, 1.8775, 1.0119, 1.8775], "text": "Quarterly Sales Update: Q3 2019", @@ -668,16 +668,14 @@ interactions: {"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, 7.4627, 9.8988], "text": "7.00%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, - 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}], "selectionMarks": [{"boundingBox": - [3.3622, 2.4501, 3.4551, 2.4501, 3.4551, 2.5407, 3.3622, 2.5407], "confidence": - 0.806, "state": "unselected"}]}, {"page": 2, "angle": 0, "width": 8.5, "height": - 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, 1.0463, 3.4282, 1.0463, - 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": {"style": {"name": - "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, 1.0463, 3.4282, - 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": 1}]}, - {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], - "text": "781", "appearance": {"style": {"name": "other", "confidence": 1}}, - "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, + 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}]}, {"page": 2, "angle": + 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": + {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": + 1}]}, {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, + 1.136], "text": "781", "appearance": {"style": {"name": "other", "confidence": + 1}}, "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], "text": "781", "confidence": 1}]}, {"boundingBox": [7.3994, 1.0525, 7.7624, 1.0525, 7.7624, 1.1371, 7.3994, 1.1371], "text": "34.20%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -1027,9 +1025,9 @@ interactions: "CT, ME, MA, NH, RI, VT", "boundingBox": [3.2764, 2.4049, 5.2184, 2.4049, 5.2184, 2.5799, 3.2764, 2.5799], "elements": ["#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2", "#/readResults/0/lines/8/words/3", - "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5", "#/readResults/0/selectionMarks/0"]}, - {"rowIndex": 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, - 7.1672, 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, + "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5"]}, {"rowIndex": + 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, 7.1672, + 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, {"rowIndex": 1, "columnIndex": 3, "text": "0.7%", "boundingBox": [7.1672, 2.4049, 7.8348, 2.4049, 7.8348, 2.5799, 7.1672, 2.5799], "elements": ["#/readResults/0/lines/10/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "rowSpan": 2, "text": "Mid-Atlantic", "boundingBox": @@ -1533,19 +1531,19 @@ interactions: "boundingBox": [1.0424, 1.0041, 7.877, 1.0068, 7.8741, 5.1081, 1.037, 5.1044]}]}]}}' headers: apim-request-id: - - 8dd01d2a-4a85-4c49-b204-742b6c46e978 + - 932dd2a9-6ad6-48f8-bd35-9fdccef461c4 content-length: - - '105400' + - '105808' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:05:49 GMT + - Mon, 01 Mar 2021 18:41:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '45' + - '23' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_table_span_transform.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_table_span_transform.yaml index 8f7b04d1ed88..c3024d269aae 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_table_span_transform.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_table_span_transform.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipagelayout.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '169' + - '222' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 686849ee-4b23-4da8-a13b-0bff48f89f00 + - 43fd1bd1-e7f3-4a19-856e-258d09f83ee6 content-length: - '0' date: - - Fri, 30 Oct 2020 00:05:44 GMT + - Mon, 01 Mar 2021 18:41:34 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/686849ee-4b23-4da8-a13b-0bff48f89f00 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/43fd1bd1-e7f3-4a19-856e-258d09f83ee6 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '289' + - '276' status: code: 202 message: Accepted @@ -47,22 +47,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/686849ee-4b23-4da8-a13b-0bff48f89f00 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/43fd1bd1-e7f3-4a19-856e-258d09f83ee6 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:05:45Z", "lastUpdatedDateTime": - "2020-10-30T00:05:45Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:41:35Z", "lastUpdatedDateTime": + "2021-03-01T18:41:39Z"}' headers: apim-request-id: - - be6ce61f-d7d4-4742-ae93-3df0101b75ce + - 7f114ea0-0aa8-47e7-a46c-1c92f1ed8e87 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:05:50 GMT + - Mon, 01 Mar 2021 18:41:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: @@ -82,13 +82,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/686849ee-4b23-4da8-a13b-0bff48f89f00 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/43fd1bd1-e7f3-4a19-856e-258d09f83ee6 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:05:45Z", - "lastUpdatedDateTime": "2020-10-30T00:05:53Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:41:35Z", + "lastUpdatedDateTime": "2021-03-01T18:41:40Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [1.0119, 1.6855, 3.9147, 1.6855, 3.9147, 1.8775, 1.0119, 1.8775], "text": "Quarterly Sales Update: Q3 2019", @@ -668,16 +668,14 @@ interactions: {"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, 7.4627, 9.8988], "text": "7.00%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, - 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}], "selectionMarks": [{"boundingBox": - [3.3622, 2.4501, 3.4551, 2.4501, 3.4551, 2.5407, 3.3622, 2.5407], "confidence": - 0.806, "state": "unselected"}]}, {"page": 2, "angle": 0, "width": 8.5, "height": - 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, 1.0463, 3.4282, 1.0463, - 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": {"style": {"name": - "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, 1.0463, 3.4282, - 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": 1}]}, - {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], - "text": "781", "appearance": {"style": {"name": "other", "confidence": 1}}, - "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, + 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}]}, {"page": 2, "angle": + 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": + {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": + 1}]}, {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, + 1.136], "text": "781", "appearance": {"style": {"name": "other", "confidence": + 1}}, "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], "text": "781", "confidence": 1}]}, {"boundingBox": [7.3994, 1.0525, 7.7624, 1.0525, 7.7624, 1.1371, 7.3994, 1.1371], "text": "34.20%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -1027,9 +1025,9 @@ interactions: "CT, ME, MA, NH, RI, VT", "boundingBox": [3.2764, 2.4049, 5.2184, 2.4049, 5.2184, 2.5799, 3.2764, 2.5799], "elements": ["#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2", "#/readResults/0/lines/8/words/3", - "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5", "#/readResults/0/selectionMarks/0"]}, - {"rowIndex": 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, - 7.1672, 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, + "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5"]}, {"rowIndex": + 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, 7.1672, + 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, {"rowIndex": 1, "columnIndex": 3, "text": "0.7%", "boundingBox": [7.1672, 2.4049, 7.8348, 2.4049, 7.8348, 2.5799, 7.1672, 2.5799], "elements": ["#/readResults/0/lines/10/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "rowSpan": 2, "text": "Mid-Atlantic", "boundingBox": @@ -1533,19 +1531,19 @@ interactions: "boundingBox": [1.0424, 1.0041, 7.877, 1.0068, 7.8741, 5.1081, 1.037, 5.1044]}]}]}}' headers: apim-request-id: - - b4af56f3-8cbf-418a-a2be-32cc1c934660 + - 2aaa21cf-48d9-45bf-8ee7-da1f87ca5c8b content-length: - - '105400' + - '105808' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:05:55 GMT + - Mon, 01 Mar 2021 18:41:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '43' + - '37' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_transform_url.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_transform_url.yaml index 24f40eae2d16..daa972333f32 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_transform_url.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_transform_url.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 18a66f97-c932-4356-81c3-01f1e63f2d98 + - 23cea1be-aedd-4dbb-afbc-5bc4281ac9d4 content-length: - '0' date: - - Fri, 30 Oct 2020 00:05:39 GMT + - Mon, 01 Mar 2021 18:41:46 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/18a66f97-c932-4356-81c3-01f1e63f2d98 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/23cea1be-aedd-4dbb-afbc-5bc4281ac9d4 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '174' + - '421' status: code: 202 message: Accepted @@ -47,48 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/18a66f97-c932-4356-81c3-01f1e63f2d98 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/23cea1be-aedd-4dbb-afbc-5bc4281ac9d4 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:05:39Z", "lastUpdatedDateTime": - "2020-10-30T00:05:39Z"}' - headers: - apim-request-id: - - 90dfad01-e258-4692-9d92-c6727a6e5044 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 30 Oct 2020 00:05:44 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '14' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/18a66f97-c932-4356-81c3-01f1e63f2d98 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:05:39Z", - "lastUpdatedDateTime": "2020-10-30T00:05:45Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:41:46Z", + "lastUpdatedDateTime": "2021-03-01T18:41:50Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -529,13 +494,13 @@ interactions: "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: apim-request-id: - - 954ace56-4442-42b4-9498-b23439b82010 + - 640adf46-8647-4d53-9bbb-aa0e2a15f383 content-length: - - '31970' + - '32119' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:05:49 GMT + - Mon, 01 Mar 2021 18:41:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_url.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_url.yaml index dc9b6d15ebc3..c34fba7c545a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_url.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_multipage_url.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 132966b9-7790-4740-99c5-01885f86650d + - 1504906d-1bd2-4777-864c-4dc9df448856 content-length: - '0' date: - - Fri, 30 Oct 2020 00:05:50 GMT + - Mon, 01 Mar 2021 18:41:51 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/132966b9-7790-4740-99c5-01885f86650d + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1504906d-1bd2-4777-864c-4dc9df448856 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '203' + - '90' status: code: 202 message: Accepted @@ -47,22 +47,127 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/132966b9-7790-4740-99c5-01885f86650d + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1504906d-1bd2-4777-864c-4dc9df448856 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:05:50Z", "lastUpdatedDateTime": - "2020-10-30T00:05:50Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:41:52Z", "lastUpdatedDateTime": + "2021-03-01T18:41:52Z"}' headers: apim-request-id: - - dad3cbff-d6d4-4a5d-914f-ef3edc36751a + - 5b87721e-81f9-4fc9-906f-ec3c387335a8 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:05:55 GMT + - Mon, 01 Mar 2021 18:41:56 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '13' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1504906d-1bd2-4777-864c-4dc9df448856 + response: + body: + string: '{"status": "running", "createdDateTime": "2021-03-01T18:41:52Z", "lastUpdatedDateTime": + "2021-03-01T18:41:52Z"}' + headers: + apim-request-id: + - b16f5814-df9e-4850-b5a9-da757600a710 + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 01 Mar 2021 18:42:02 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1504906d-1bd2-4777-864c-4dc9df448856 + response: + body: + string: '{"status": "running", "createdDateTime": "2021-03-01T18:41:52Z", "lastUpdatedDateTime": + "2021-03-01T18:41:52Z"}' + headers: + apim-request-id: + - a8cbf8ef-1151-4e33-8563-d3e29250e7d2 + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 01 Mar 2021 18:42:07 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '13' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1504906d-1bd2-4777-864c-4dc9df448856 + response: + body: + string: '{"status": "running", "createdDateTime": "2021-03-01T18:41:52Z", "lastUpdatedDateTime": + "2021-03-01T18:41:52Z"}' + headers: + apim-request-id: + - 3b1d8f56-da60-4b53-b589-ab4d36769a6f + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 01 Mar 2021 18:42:12 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: @@ -82,13 +187,83 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1504906d-1bd2-4777-864c-4dc9df448856 + response: + body: + string: '{"status": "running", "createdDateTime": "2021-03-01T18:41:52Z", "lastUpdatedDateTime": + "2021-03-01T18:41:52Z"}' + headers: + apim-request-id: + - a6e9ebcc-6bd1-4382-8615-e8a7d1bbc540 + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 01 Mar 2021 18:42:17 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '15' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1504906d-1bd2-4777-864c-4dc9df448856 + response: + body: + string: '{"status": "running", "createdDateTime": "2021-03-01T18:41:52Z", "lastUpdatedDateTime": + "2021-03-01T18:41:52Z"}' + headers: + apim-request-id: + - f4ea78da-562d-4a12-8c3d-3aaa9ddfedfd + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 01 Mar 2021 18:42:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '16' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/132966b9-7790-4740-99c5-01885f86650d + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1504906d-1bd2-4777-864c-4dc9df448856 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:05:50Z", - "lastUpdatedDateTime": "2020-10-30T00:05:56Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:41:52Z", + "lastUpdatedDateTime": "2021-03-01T18:42:26Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -529,19 +704,19 @@ interactions: "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: apim-request-id: - - e77a2e2f-fd6a-46ee-838e-ed82e1d99b10 + - 91faeb0f-8526-4786-a735-94d439b14ddf content-length: - - '31970' + - '32119' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:00 GMT + - Mon, 01 Mar 2021 18:42:26 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '42' + - '49' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_selection_marks.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_selection_marks.yaml index f454937c0b4a..03542a7b15b1 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_selection_marks.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_selection_marks.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/selection_mark_form.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '173' + - '226' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 77acd9aa-6ab4-47eb-ad64-4bc8c3c9e0df + - 712e2ecc-822e-4e40-a5f4-e06d6ffcc4fa content-length: - '0' date: - - Fri, 30 Oct 2020 00:05:56 GMT + - Mon, 01 Mar 2021 18:42:27 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/77acd9aa-6ab4-47eb-ad64-4bc8c3c9e0df + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/712e2ecc-822e-4e40-a5f4-e06d6ffcc4fa strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '239' + - '104' status: code: 202 message: Accepted @@ -47,54 +47,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/77acd9aa-6ab4-47eb-ad64-4bc8c3c9e0df + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/712e2ecc-822e-4e40-a5f4-e06d6ffcc4fa response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:05:56Z", "lastUpdatedDateTime": - "2020-10-30T00:05:56Z"}' - headers: - apim-request-id: - - b016bf2d-8e13-406a-941e-db9193d29059 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 30 Oct 2020 00:06:01 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '12' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/77acd9aa-6ab4-47eb-ad64-4bc8c3c9e0df - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:05:56Z", - "lastUpdatedDateTime": "2020-10-30T00:06:02Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:42:28Z", + "lastUpdatedDateTime": "2021-03-01T18:42:32Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5301, 0.697, 2.3829, 0.7018, 2.3829, 1.3034, 0.5301, 1.2986], "text": "Contoso", "appearance": {"style": - {"name": "other", "confidence": 0.899}}, "words": [{"boundingBox": [0.5348, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [0.5348, 0.7066, 2.3876, 0.826, 2.3781, 1.1888, 0.5587, 1.3034], "text": "Contoso", - "confidence": 0.952}]}, {"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, + "confidence": 0.991}]}, {"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, 0.8109, 3.2791, 0.8109], "text": "STATE OF CALIFORNIA: CONTOSO", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.2791, 0.7373, 3.5799, 0.7373, 3.5799, 0.8109, 3.2791, 0.8109], "text": "STATE", @@ -138,10 +103,10 @@ interactions: 6.0557, 2.2185, 6.0557, 2.3325, 5.256, 2.3325], "text": "PAYMENT", "confidence": 1}]}, {"boundingBox": [3.3522, 3.0269, 5.186, 3.0269, 5.186, 3.2274, 3.3522, 3.2274], "text": "CONTOSO BANK", "appearance": {"style": {"name": "other", - "confidence": 1.0}}, "words": [{"boundingBox": [3.357, 3.0317, 4.5126, 3.0269, - 4.5126, 3.2274, 3.3618, 3.2322], "text": "CONTOSO", "confidence": 0.985}, - {"boundingBox": [4.5556, 3.0269, 5.186, 3.0317, 5.186, 3.2274, 4.5556, 3.2274], - "text": "BANK", "confidence": 0.986}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, + "confidence": 0.878}}, "words": [{"boundingBox": [3.357, 3.0317, 4.4267, 3.0269, + 4.4267, 3.2274, 3.3618, 3.2322], "text": "CONTOSO", "confidence": 0.985}, + {"boundingBox": [4.5365, 3.0269, 5.143, 3.0317, 5.1382, 3.2274, 4.5365, 3.2274], + "text": "BANK", "confidence": 0.994}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, 3.6446, 0.8106, 3.6446], "text": "Fees owed to this Department may be paid by the use of a credit card. If you wish to pay your fee(s)", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -470,10 +435,10 @@ interactions: 8.1896, 2.2444, 8.1896], "text": "clearly)", "confidence": 1}]}, {"boundingBox": [1.8862, 8.2595, 3.2329, 8.2691, 3.2329, 8.5556, 1.8862, 8.5508], "text": "John Singer", "appearance": {"style": {"name": "handwriting", "confidence": - 0.848}}, "words": [{"boundingBox": [1.9674, 8.2643, 2.5166, 8.2834, 2.5166, - 8.5412, 1.9674, 8.5556], "text": "John", "confidence": 0.979}, {"boundingBox": - [2.5739, 8.2834, 3.2233, 8.3073, 3.2233, 8.5317, 2.5787, 8.5412], "text": - "Singer", "confidence": 0.945}]}, {"boundingBox": [0.8059, 8.3968, 5.2429, + 0.676}}, "words": [{"boundingBox": [1.891, 8.2595, 2.4354, 8.2786, 2.4354, + 8.5412, 1.891, 8.5556], "text": "John", "confidence": 0.87}, {"boundingBox": + [2.4927, 8.2834, 3.2233, 8.3073, 3.2233, 8.5317, 2.4927, 8.5412], "text": + "Singer", "confidence": 0.956}]}, {"boundingBox": [0.8059, 8.3968, 5.2429, 8.3968, 5.2429, 8.5421, 0.8059, 8.5421], "text": "Signature: ___________________________________________", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, 8.5421], "text": @@ -570,19 +535,19 @@ interactions: "pageResults": [{"page": 1, "tables": []}]}}' headers: apim-request-id: - - 0cb52da3-85fa-40a9-af52-636915c1200a + - edce85d0-551d-4367-9a75-548b78765091 content-length: - - '33902' + - '34139' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:06 GMT + - Mon, 01 Mar 2021 18:42:33 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '28' + - '16' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_selection_marks_v2.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_selection_marks_v2.yaml index a7715634c9b9..4da4117bb923 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_selection_marks_v2.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_selection_marks_v2.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/selection_mark_form.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '173' + - '226' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyze response: body: string: '' headers: apim-request-id: - - 85630029-894a-4e98-b545-2c6360cb50a7 + - 23946b73-ff4e-458e-a8b3-fd5e1e078d29 content-length: - '0' date: - - Fri, 30 Oct 2020 00:05:51 GMT + - Mon, 01 Mar 2021 18:42:33 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/85630029-894a-4e98-b545-2c6360cb50a7 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/23946b73-ff4e-458e-a8b3-fd5e1e078d29 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '668' + - '151' status: code: 202 message: Accepted @@ -47,50 +47,15 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/85630029-894a-4e98-b545-2c6360cb50a7 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/23946b73-ff4e-458e-a8b3-fd5e1e078d29 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:05:51Z", "lastUpdatedDateTime": - "2020-10-30T00:05:51Z"}' - headers: - apim-request-id: - - 06502644-1be2-46cd-9088-aa2d0b0247a4 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 30 Oct 2020 00:05:56 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '10' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/85630029-894a-4e98-b545-2c6360cb50a7 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:05:51Z", - "lastUpdatedDateTime": "2020-10-30T00:05:58Z", "analyzeResult": {"version": - "2.0.0", "readResults": [{"page": 1, "language": "en", "angle": 0, "width": - 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.2791, 0.7167, + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:42:34Z", + "lastUpdatedDateTime": "2021-03-01T18:42:38Z", "analyzeResult": {"version": + "2.0.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch", "language": "en", "lines": [{"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, 0.8109, 3.2791, 0.8109], "text": "STATE OF CALIFORNIA: CONTOSO", "words": [{"boundingBox": [3.2791, 0.7373, 3.5799, 0.7373, 3.5799, 0.8109, 3.2791, 0.8109], "text": "STATE", "confidence": 1}, {"boundingBox": @@ -100,7 +65,7 @@ interactions: [4.4383, 0.7167, 5.0584, 0.7167, 5.0584, 0.8105, 4.4383, 0.8105], "text": "CONTOSO", "confidence": 1}]}, {"boundingBox": [0.64, 0.82, 2.3533, 0.8067, 2.3567, 1.17, 0.6433, 1.19], "text": "contoso", "words": [{"boundingBox": - [0.653, 0.8347, 2.3567, 0.8172, 2.3567, 1.1694, 0.669, 1.1933], "text": "contoso", + [0.6533, 0.8333, 2.3567, 0.8167, 2.3567, 1.17, 0.67, 1.1933], "text": "contoso", "confidence": 0.358}]}, {"boundingBox": [3.4183, 0.8618, 4.9237, 0.8618, 4.9237, 0.9561, 3.4183, 0.9561], "text": "BUREAU OF INSURANCE", "words": [{"boundingBox": [3.4183, 0.8641, 3.9344, 0.8641, 3.9344, 0.9561, 3.4183, 0.9561], "text": @@ -133,12 +98,12 @@ interactions: "confidence": 1}, {"boundingBox": [5.256, 2.2185, 6.0557, 2.2185, 6.0557, 2.3325, 5.256, 2.3325], "text": "PAYMENT", "confidence": 1}]}, {"boundingBox": [3.3867, 3.03, 5.1767, 3.03, 5.1767, 3.2267, 3.3867, 3.23], "text": "CONTOSO - BANK", "words": [{"boundingBox": [3.4022, 3.0323, 4.4713, 3.0307, 4.4645, - 3.23, 3.3957, 3.2288], "text": "CONTOSO", "confidence": 0.959}, {"boundingBox": - [4.5744, 3.0309, 5.167, 3.0326, 5.1599, 3.2249, 4.5675, 3.23], "text": "BANK", - "confidence": 0.959}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, - 3.6446, 0.8106, 3.6446], "text": "Fees owed to this Department may be paid - by the use of a credit card. If you wish to pay your fee(s)", "words": [{"boundingBox": + BANK", "words": [{"boundingBox": [3.4033, 3.0333, 4.47, 3.03, 4.4633, 3.23, + 3.3967, 3.23], "text": "CONTOSO", "confidence": 0.959}, {"boundingBox": [4.5733, + 3.03, 5.1667, 3.0333, 5.16, 3.2233, 4.5667, 3.23], "text": "BANK", "confidence": + 0.959}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, 3.6446, + 0.8106, 3.6446], "text": "Fees owed to this Department may be paid by the + use of a credit card. If you wish to pay your fee(s)", "words": [{"boundingBox": [0.8106, 3.5151, 1.1118, 3.5151, 1.1118, 3.6168, 0.8106, 3.6168], "text": "Fees", "confidence": 1}, {"boundingBox": [1.16, 3.5151, 1.5019, 3.5151, 1.5019, 3.6168, 1.16, 3.6168], "text": "owed", "confidence": 1}, {"boundingBox": [1.55, @@ -236,8 +201,8 @@ interactions: [3.6667, 4.2094, 3.7576, 4.2094, 3.7576, 4.3016, 3.6667, 4.3016], "text": "is", "confidence": 1}, {"boundingBox": [3.8047, 4.2094, 4.1234, 4.2094, 4.1234, 4.327, 3.8047, 4.327], "text": "being", "confidence": 1}, {"boundingBox": - [4.1727, 4.2083, 4.5281, 4.2083, 4.5281, 4.3259, 4.1727, 4.3259], "text": - "made)", "confidence": 1}, {"boundingBox": [4.5718, 4.2083, 5.0014, 4.2083, + [4.1727, 4.2082, 4.5281, 4.2082, 4.5281, 4.3259, 4.1727, 4.3259], "text": + "made)", "confidence": 1}, {"boundingBox": [4.5718, 4.2082, 5.0014, 4.2082, 5.0014, 4.3259, 4.5718, 4.3259], "text": "(Please", "confidence": 1}, {"boundingBox": [5.0484, 4.2102, 5.4746, 4.2102, 5.4746, 4.3016, 5.0484, 4.3016], "text": "Include", "confidence": 1}, {"boundingBox": [5.5225, 4.2094, 5.975, 4.2094, @@ -276,97 +241,100 @@ interactions: 5.5922], "text": "\u2751x AMEX", "words": [{"boundingBox": [2.2989, 5.4295, 2.4591, 5.4295, 2.4591, 5.5922, 2.2989, 5.5922], "text": "\u2751x", "confidence": 1}, {"boundingBox": [2.4996, 5.4443, 2.8924, 5.4443, 2.8924, 5.5453, 2.4996, - 5.5453], "text": "AMEX", "confidence": 1}]}, {"boundingBox": [3.0846, 5.4481, - 4.0327, 5.4481, 4.0327, 5.6108, 3.0846, 5.6108], "text": "\u2751Master Card", - "words": [{"boundingBox": [3.0846, 5.4481, 3.7051, 5.4481, 3.7051, 5.6108, - 3.0846, 5.6108], "text": "\u2751Master", "confidence": 1}, {"boundingBox": - [3.7487, 5.4569, 4.0327, 5.4569, 4.0327, 5.5611, 3.7487, 5.5611], "text": - "Card", "confidence": 1}]}, {"boundingBox": [0.8954, 5.7074, 2.2511, 5.7074, - 2.2511, 5.8125, 0.8954, 5.8125], "text": "Name of Cardholder:", "words": [{"boundingBox": - [0.8954, 5.7101, 1.2609, 5.7101, 1.2609, 5.8118, 0.8954, 5.8118], "text": - "Name", "confidence": 1}, {"boundingBox": [1.3079, 5.7088, 1.4324, 5.7088, - 1.4324, 5.8118, 1.3079, 5.8118], "text": "of", "confidence": 1}, {"boundingBox": - [1.4782, 5.7074, 2.2511, 5.7074, 2.2511, 5.8125, 1.4782, 5.8125], "text": - "Cardholder:", "confidence": 1}]}, {"boundingBox": [2.502, 5.7604, 3.2429, - 5.7604, 3.2429, 5.8923, 2.502, 5.8923], "text": "John Singer", "words": [{"boundingBox": - [2.502, 5.7621, 2.7903, 5.7621, 2.7903, 5.8648, 2.502, 5.8648], "text": "John", - "confidence": 1}, {"boundingBox": [2.8449, 5.7604, 3.2429, 5.7604, 3.2429, - 5.8923, 2.8449, 5.8923], "text": "Singer", "confidence": 1}]}, {"boundingBox": - [5.2305, 5.6912, 8.0337, 5.6912, 8.0337, 5.8091, 5.2305, 5.8091], "text": - "Contact persons phone #, if questions with this", "words": [{"boundingBox": - [5.2305, 5.6912, 5.6874, 5.6912, 5.6874, 5.7856, 5.2305, 5.7856], "text": - "Contact", "confidence": 1}, {"boundingBox": [5.7333, 5.7151, 6.2073, 5.7151, - 6.2073, 5.8091, 5.7333, 5.8091], "text": "persons", "confidence": 1}, {"boundingBox": - [6.2544, 5.6936, 6.6183, 5.6936, 6.6183, 5.8091, 6.2544, 5.8091], "text": - "phone", "confidence": 1}, {"boundingBox": [6.6587, 5.6961, 6.7524, 5.6961, - 6.7524, 5.8042, 6.6587, 5.8042], "text": "#,", "confidence": 1}, {"boundingBox": - [6.8042, 5.6925, 6.8703, 5.6925, 6.8703, 5.7833, 6.8042, 5.7833], "text": - "if", "confidence": 1}, {"boundingBox": [6.9099, 5.6927, 7.4918, 5.6927, 7.4918, - 5.8091, 6.9099, 5.8091], "text": "questions", "confidence": 1}, {"boundingBox": - [7.5307, 5.6927, 7.7719, 5.6927, 7.7719, 5.784, 7.5307, 5.784], "text": "with", - "confidence": 1}, {"boundingBox": [7.8166, 5.6927, 8.0337, 5.6927, 8.0337, - 5.785, 7.8166, 5.785], "text": "this", "confidence": 1}]}, {"boundingBox": - [5.2262, 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 5.2262, 5.9847], "text": - "form. Telephone #: (", "words": [{"boundingBox": [5.2262, 5.8625, 5.5295, - 5.8625, 5.5295, 5.955, 5.2262, 5.955], "text": "form.", "confidence": 1}, - {"boundingBox": [5.5744, 5.8534, 6.2637, 5.8534, 6.2637, 5.982, 5.5744, 5.982], - "text": "Telephone", "confidence": 1}, {"boundingBox": [6.3085, 5.8562, 6.417, - 5.8562, 6.417, 5.9533, 6.3085, 5.9533], "text": "#:", "confidence": 1}, {"boundingBox": - [6.4787, 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 6.4787, 5.9847], "text": - "(", "confidence": 1}]}, {"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, 6.87, - 5.9672, 6.6237, 5.9672], "text": "425", "words": [{"boundingBox": [6.6237, - 5.8542, 6.87, 5.8542, 6.87, 5.9672, 6.6237, 5.9672], "text": "425", "confidence": - 1}]}, {"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, 6.9056, - 5.9847], "text": ")", "words": [{"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, - 6.9409, 5.9847, 6.9056, 5.9847], "text": ")", "confidence": 1}]}, {"boundingBox": - [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, 7.3783, 5.918], "text": "-", - "words": [{"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, - 7.3783, 5.918], "text": "-", "confidence": 1}]}, {"boundingBox": [7.1288, + 5.5453], "text": "AMEX", "confidence": 1}]}, {"boundingBox": [2.3633, 5.4633, + 2.46, 5.4567, 2.4633, 5.55, 2.3667, 5.5567], "text": "X", "words": [{"boundingBox": + [2.3767, 5.4633, 2.4367, 5.4567, 2.4433, 5.55, 2.3833, 5.5567], "text": "X", + "confidence": 0.884}]}, {"boundingBox": [3.0846, 5.4481, 4.0327, 5.4481, 4.0327, + 5.6108, 3.0846, 5.6108], "text": "\u2751Master Card", "words": [{"boundingBox": + [3.0846, 5.4481, 3.7051, 5.4481, 3.7051, 5.6108, 3.0846, 5.6108], "text": + "\u2751Master", "confidence": 1}, {"boundingBox": [3.7487, 5.4569, 4.0327, + 5.4569, 4.0327, 5.5611, 3.7487, 5.5611], "text": "Card", "confidence": 1}]}, + {"boundingBox": [0.8954, 5.7074, 2.2511, 5.7074, 2.2511, 5.8125, 0.8954, 5.8125], + "text": "Name of Cardholder:", "words": [{"boundingBox": [0.8954, 5.7101, + 1.2609, 5.7101, 1.2609, 5.8118, 0.8954, 5.8118], "text": "Name", "confidence": + 1}, {"boundingBox": [1.3079, 5.7088, 1.4324, 5.7088, 1.4324, 5.8118, 1.3079, + 5.8118], "text": "of", "confidence": 1}, {"boundingBox": [1.4782, 5.7074, + 2.2511, 5.7074, 2.2511, 5.8125, 1.4782, 5.8125], "text": "Cardholder:", "confidence": + 1}]}, {"boundingBox": [2.502, 5.7604, 3.2429, 5.7604, 3.2429, 5.8923, 2.502, + 5.8923], "text": "John Singer", "words": [{"boundingBox": [2.502, 5.7621, + 2.7903, 5.7621, 2.7903, 5.8648, 2.502, 5.8648], "text": "John", "confidence": + 1}, {"boundingBox": [2.8449, 5.7604, 3.2429, 5.7604, 3.2429, 5.8923, 2.8449, + 5.8923], "text": "Singer", "confidence": 1}]}, {"boundingBox": [5.2305, 5.6912, + 8.0337, 5.6912, 8.0337, 5.8091, 5.2305, 5.8091], "text": "Contact persons + phone #, if questions with this", "words": [{"boundingBox": [5.2305, 5.6912, + 5.6874, 5.6912, 5.6874, 5.7856, 5.2305, 5.7856], "text": "Contact", "confidence": + 1}, {"boundingBox": [5.7333, 5.7151, 6.2073, 5.7151, 6.2073, 5.8091, 5.7333, + 5.8091], "text": "persons", "confidence": 1}, {"boundingBox": [6.2544, 5.6936, + 6.6183, 5.6936, 6.6183, 5.8091, 6.2544, 5.8091], "text": "phone", "confidence": + 1}, {"boundingBox": [6.6587, 5.6961, 6.7524, 5.6961, 6.7524, 5.8042, 6.6587, + 5.8042], "text": "#,", "confidence": 1}, {"boundingBox": [6.8042, 5.6925, + 6.8703, 5.6925, 6.8703, 5.7833, 6.8042, 5.7833], "text": "if", "confidence": + 1}, {"boundingBox": [6.9099, 5.6927, 7.4918, 5.6927, 7.4918, 5.8091, 6.9099, + 5.8091], "text": "questions", "confidence": 1}, {"boundingBox": [7.5307, 5.6927, + 7.7719, 5.6927, 7.7719, 5.784, 7.5307, 5.784], "text": "with", "confidence": + 1}, {"boundingBox": [7.8166, 5.6927, 8.0337, 5.6927, 8.0337, 5.785, 7.8166, + 5.785], "text": "this", "confidence": 1}]}, {"boundingBox": [5.2262, 5.8416, + 6.5139, 5.8416, 6.5139, 5.9847, 5.2262, 5.9847], "text": "form. Telephone + #: (", "words": [{"boundingBox": [5.2262, 5.8625, 5.5295, 5.8625, 5.5295, + 5.955, 5.2262, 5.955], "text": "form.", "confidence": 1}, {"boundingBox": + [5.5744, 5.8534, 6.2637, 5.8534, 6.2637, 5.982, 5.5744, 5.982], "text": "Telephone", + "confidence": 1}, {"boundingBox": [6.3085, 5.8562, 6.417, 5.8562, 6.417, 5.9533, + 6.3085, 5.9533], "text": "#:", "confidence": 1}, {"boundingBox": [6.4787, + 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 6.4787, 5.9847], "text": "(", "confidence": + 1}]}, {"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, 6.87, 5.9672, 6.6237, + 5.9672], "text": "425", "words": [{"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, + 6.87, 5.9672, 6.6237, 5.9672], "text": "425", "confidence": 1}]}, {"boundingBox": + [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, 6.9056, 5.9847], "text": + ")", "words": [{"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, + 6.9056, 5.9847], "text": ")", "confidence": 1}]}, {"boundingBox": [7.1288, 5.8181, 7.809, 5.8181, 7.809, 5.9672, 7.1288, 5.9672], "text": "779 3479", "words": [{"boundingBox": [7.1288, 5.8542, 7.3693, 5.8542, 7.3693, 5.9672, 7.1288, 5.9672], "text": "779", "confidence": 1}, {"boundingBox": [7.4829, 5.8181, 7.809, 5.8181, 7.809, 5.9313, 7.4829, 5.9313], "text": "3479", "confidence": - 1}]}, {"boundingBox": [0.8964, 6.0366, 1.8846, 6.0366, 1.8846, 6.1393, 0.8964, - 6.1393], "text": "Email Address:", "words": [{"boundingBox": [0.8964, 6.0366, - 1.2473, 6.0366, 1.2473, 6.1393, 0.8964, 6.1393], "text": "Email", "confidence": - 1}, {"boundingBox": [1.298, 6.0376, 1.8846, 6.0376, 1.8846, 6.1393, 1.298, - 6.1393], "text": "Address:", "confidence": 1}]}, {"boundingBox": [1.9261, - 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, 1.9261, 6.1753], "text": "johnsinger@hotmail.com", - "words": [{"boundingBox": [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, - 1.9261, 6.1753], "text": "johnsinger@hotmail.com", "confidence": 1}]}, {"boundingBox": - [0.8954, 6.2792, 1.9961, 6.2792, 1.9961, 6.4101, 0.8954, 6.4101], "text": - "Mailing Address:", "words": [{"boundingBox": [0.8954, 6.2792, 1.357, 6.2792, - 1.357, 6.4101, 0.8954, 6.4101], "text": "Mailing", "confidence": 1}, {"boundingBox": - [1.4062, 6.2801, 1.9961, 6.2801, 1.9961, 6.3819, 1.4062, 6.3819], "text": - "Address:", "confidence": 1}]}, {"boundingBox": [2.1027, 6.3142, 3.0803, 6.3142, - 3.0803, 6.4186, 2.1027, 6.4186], "text": "472 SE 74th ST", "words": [{"boundingBox": - [2.1027, 6.3155, 2.3256, 6.3155, 2.3256, 6.4171, 2.1027, 6.4171], "text": - "472", "confidence": 1}, {"boundingBox": [2.3779, 6.3142, 2.5497, 6.3142, - 2.5497, 6.4186, 2.3779, 6.4186], "text": "SE", "confidence": 1}, {"boundingBox": - [2.6024, 6.3159, 2.8571, 6.3159, 2.8571, 6.4179, 2.6024, 6.4179], "text": - "74th", "confidence": 1}, {"boundingBox": [2.9115, 6.3142, 3.0803, 6.3142, - 3.0803, 6.4186, 2.9115, 6.4186], "text": "ST", "confidence": 1}]}, {"boundingBox": - [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], "text": "City:", - "words": [{"boundingBox": [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, - 0.892, 6.6721], "text": "City:", "confidence": 1}]}, {"boundingBox": [1.3947, - 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", "words": - [{"boundingBox": [1.3947, 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], - "text": "Lakewood", "confidence": 1}]}, {"boundingBox": [4.2363, 6.5399, 4.6048, - 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", "words": [{"boundingBox": - [4.2363, 6.5399, 4.6048, 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", - "confidence": 1}]}, {"boundingBox": [4.7452, 6.5506, 4.9679, 6.5506, 4.9679, - 6.6518, 4.7452, 6.6518], "text": "WA", "words": [{"boundingBox": [4.7452, - 6.5506, 4.9679, 6.5506, 4.9679, 6.6518, 4.7452, 6.6518], "text": "WA", "confidence": - 1}]}, {"boundingBox": [6.4885, 6.5399, 7.1134, 6.5399, 7.1134, 6.6712, 6.4885, - 6.6712], "text": "Zip Code:", "words": [{"boundingBox": [6.4885, 6.5416, 6.6893, - 6.5416, 6.6893, 6.6712, 6.4885, 6.6712], "text": "Zip", "confidence": 1}, - {"boundingBox": [6.7385, 6.5399, 7.1134, 6.5399, 7.1134, 6.645, 6.7385, 6.645], - "text": "Code:", "confidence": 1}]}, {"boundingBox": [7.2536, 6.5442, 7.6275, - 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": "98712", "words": [{"boundingBox": - [7.2536, 6.5442, 7.6275, 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": - "98712", "confidence": 1}]}, {"boundingBox": [0.8033, 6.9573, 7.5868, 6.9573, - 7.5868, 7.1067, 0.8033, 7.1067], "text": "I authorize Contoso Department of - Professional and Financial Regulation, Bureau of Insurance", "words": [{"boundingBox": + 1}]}, {"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, 7.3783, + 5.918], "text": "-", "words": [{"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, + 7.4157, 5.918, 7.3783, 5.918], "text": "-", "confidence": 1}]}, {"boundingBox": + [0.8964, 6.0366, 1.8846, 6.0366, 1.8846, 6.1393, 0.8964, 6.1393], "text": + "Email Address:", "words": [{"boundingBox": [0.8964, 6.0366, 1.2473, 6.0366, + 1.2473, 6.1393, 0.8964, 6.1393], "text": "Email", "confidence": 1}, {"boundingBox": + [1.298, 6.0376, 1.8846, 6.0376, 1.8846, 6.1393, 1.298, 6.1393], "text": "Address:", + "confidence": 1}]}, {"boundingBox": [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, + 6.1753, 1.9261, 6.1753], "text": "johnsinger@hotmail.com", "words": [{"boundingBox": + [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, 1.9261, 6.1753], "text": + "johnsinger@hotmail.com", "confidence": 1}]}, {"boundingBox": [0.8954, 6.2792, + 1.9961, 6.2792, 1.9961, 6.4101, 0.8954, 6.4101], "text": "Mailing Address:", + "words": [{"boundingBox": [0.8954, 6.2792, 1.357, 6.2792, 1.357, 6.4101, 0.8954, + 6.4101], "text": "Mailing", "confidence": 1}, {"boundingBox": [1.4062, 6.2801, + 1.9961, 6.2801, 1.9961, 6.3819, 1.4062, 6.3819], "text": "Address:", "confidence": + 1}]}, {"boundingBox": [2.1027, 6.3142, 3.0803, 6.3142, 3.0803, 6.4186, 2.1027, + 6.4186], "text": "472 SE 74th ST", "words": [{"boundingBox": [2.1027, 6.3155, + 2.3256, 6.3155, 2.3256, 6.4171, 2.1027, 6.4171], "text": "472", "confidence": + 1}, {"boundingBox": [2.3779, 6.3142, 2.5497, 6.3142, 2.5497, 6.4186, 2.3779, + 6.4186], "text": "SE", "confidence": 1}, {"boundingBox": [2.6024, 6.3159, + 2.8571, 6.3159, 2.8571, 6.4179, 2.6024, 6.4179], "text": "74th", "confidence": + 1}, {"boundingBox": [2.9115, 6.3142, 3.0803, 6.3142, 3.0803, 6.4186, 2.9115, + 6.4186], "text": "ST", "confidence": 1}]}, {"boundingBox": [0.892, 6.5399, + 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], "text": "City:", "words": + [{"boundingBox": [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], + "text": "City:", "confidence": 1}]}, {"boundingBox": [1.3947, 6.5747, 2.01, + 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", "words": [{"boundingBox": + [1.3947, 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", + "confidence": 1}]}, {"boundingBox": [4.2363, 6.5399, 4.6048, 6.5399, 4.6048, + 6.645, 4.2363, 6.645], "text": "State:", "words": [{"boundingBox": [4.2363, + 6.5399, 4.6048, 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", "confidence": + 1}]}, {"boundingBox": [4.7452, 6.5506, 4.9679, 6.5506, 4.9679, 6.6518, 4.7452, + 6.6518], "text": "WA", "words": [{"boundingBox": [4.7452, 6.5506, 4.9679, + 6.5506, 4.9679, 6.6518, 4.7452, 6.6518], "text": "WA", "confidence": 1}]}, + {"boundingBox": [6.4885, 6.5399, 7.1134, 6.5399, 7.1134, 6.6712, 6.4885, 6.6712], + "text": "Zip Code:", "words": [{"boundingBox": [6.4885, 6.5416, 6.6893, 6.5416, + 6.6893, 6.6712, 6.4885, 6.6712], "text": "Zip", "confidence": 1}, {"boundingBox": + [6.7385, 6.5399, 7.1134, 6.5399, 7.1134, 6.645, 6.7385, 6.645], "text": "Code:", + "confidence": 1}]}, {"boundingBox": [7.2536, 6.5442, 7.6275, 6.5442, 7.6275, + 6.6473, 7.2536, 6.6473], "text": "98712", "words": [{"boundingBox": [7.2536, + 6.5442, 7.6275, 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": "98712", + "confidence": 1}]}, {"boundingBox": [0.8033, 6.9573, 7.5868, 6.9573, 7.5868, + 7.1067, 0.8033, 7.1067], "text": "I authorize Contoso Department of Professional + and Financial Regulation, Bureau of Insurance", "words": [{"boundingBox": [0.8033, 6.9598, 0.8617, 6.9598, 0.8617, 7.0725, 0.8033, 7.0725], "text": "I", "confidence": 1}, {"boundingBox": [0.9107, 6.9573, 1.5801, 6.9573, 1.5801, 7.0747, 0.9107, 7.0747], "text": "authorize", "confidence": 1}, {"boundingBox": @@ -418,9 +386,12 @@ interactions: [6.0082, 7.9046, 6.1702, 7.9046, 6.1702, 8.012, 6.0082, 8.012], "text": "of:", "confidence": 1}, {"boundingBox": [6.2258, 7.8956, 7.6702, 7.8956, 7.6702, 8.0289, 6.2258, 8.0289], "text": "$__________________", "confidence": 1}]}, - {"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, 7.9962, 6.5828, 7.9962], - "text": "263.00", "words": [{"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, - 6.9948, 7.9962, 6.5828, 7.9962], "text": "263.00", "confidence": 1}]}, {"boundingBox": + {"boundingBox": [6.5633, 7.88, 7.0033, 7.8733, 7.0033, 8.0, 6.5667, 8.0067], + "text": "263.00", "words": [{"boundingBox": [6.57, 7.88, 7.0, 7.8733, 7.0033, + 8.0033, 6.57, 8.01], "text": "263.00", "confidence": 0.959}]}, {"boundingBox": + [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, 7.9962, 6.5828, 7.9962], "text": + "263.00", "words": [{"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, + 7.9962, 6.5828, 7.9962], "text": "263.00", "confidence": 1}]}, {"boundingBox": [0.8, 8.0223, 3.1333, 8.0223, 3.1333, 8.0307, 0.8, 8.0307], "text": "____________________________", "words": [{"boundingBox": [0.8, 8.0223, 3.1333, 8.0223, 3.1333, 8.0307, 0.8, 8.0307], "text": "____________________________", "confidence": 1}]}, {"boundingBox": @@ -436,47 +407,50 @@ interactions: {"boundingBox": [2.2444, 8.0771, 2.6175, 8.0771, 2.6175, 8.1896, 2.2444, 8.1896], "text": "clearly)", "confidence": 1}]}, {"boundingBox": [1.8933, 8.2467, 3.2367, 8.27, 3.2333, 8.54, 1.89, 8.5333], "text": "John Singer", "words": [{"boundingBox": - [1.96, 8.2516, 2.4931, 8.2729, 2.4885, 8.54, 1.9584, 8.54], "text": "John", - "confidence": 0.57}, {"boundingBox": [2.5692, 8.2763, 3.2257, 8.3087, 3.2171, - 8.5249, 2.5642, 8.54], "text": "Singer", "confidence": 0.868}]}, {"boundingBox": - [0.8059, 8.3968, 6.1697, 8.3968, 6.1697, 8.5421, 0.8059, 8.5421], "text": - "Signature: ___________________________________________ Date: ______", "words": - [{"boundingBox": [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, - 8.5421], "text": "Signature:", "confidence": 1}, {"boundingBox": [1.5893, - 8.5205, 5.2429, 8.5205, 5.2429, 8.5281, 1.5893, 8.5281], "text": "___________________________________________", + [1.96, 8.25, 2.4933, 8.2733, 2.49, 8.54, 1.96, 8.54], "text": "John", "confidence": + 0.57}, {"boundingBox": [2.57, 8.2767, 3.2267, 8.31, 3.2167, 8.5233, 2.5633, + 8.54], "text": "Singer", "confidence": 0.868}]}, {"boundingBox": [0.8059, + 8.3968, 6.1697, 8.3968, 6.1697, 8.5421, 0.8059, 8.5421], "text": "Signature: + ___________________________________________ Date: ______", "words": [{"boundingBox": + [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, 8.5421], "text": + "Signature:", "confidence": 1}, {"boundingBox": [1.5893, 8.5205, 5.2429, 8.5205, + 5.2429, 8.5281, 1.5893, 8.5281], "text": "___________________________________________", "confidence": 1}, {"boundingBox": [5.2557, 8.3997, 5.6041, 8.3997, 5.6041, 8.5111, 5.2557, 8.5111], "text": "Date:", "confidence": 1}, {"boundingBox": [5.66, 8.5205, 6.1697, 8.5205, 6.1697, 8.5281, 5.66, 8.5281], "text": "______", - "confidence": 1}]}, {"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, - 8.4835, 5.8155, 8.4835], "text": "08", "words": [{"boundingBox": [5.8155, - 8.3705, 5.9721, 8.3705, 5.9721, 8.4835, 5.8155, 8.4835], "text": "08", "confidence": - 1}]}, {"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, 6.1674, - 8.5119], "text": "/", "words": [{"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, - 6.2149, 8.5119, 6.1674, 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": - [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, 8.4716], "text": - "23", "words": [{"boundingBox": [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, - 6.5359, 8.4716], "text": "23", "confidence": 1}]}, {"boundingBox": [6.7199, - 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": "/", "words": - [{"boundingBox": [6.7199, 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, - 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": [7.0358, 8.3585, - 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, 8.4715], "text": "2018", "words": - [{"boundingBox": [7.0358, 8.3585, 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, - 8.4715], "text": "2018", "confidence": 1}]}, {"boundingBox": [6.2125, 8.5205, - 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, 8.5281], "text": "______", "words": - [{"boundingBox": [6.2125, 8.5205, 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, - 8.5281], "text": "______", "confidence": 1}]}, {"boundingBox": [6.7649, 8.5205, - 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, 8.5281], "text": "________", "words": - [{"boundingBox": [6.7649, 8.5205, 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, - 8.5281], "text": "________", "confidence": 1}]}, {"boundingBox": [1.7087, - 8.6229, 4.1257, 8.6229, 4.1257, 8.7284, 1.7087, 8.7284], "text": "(must be - signed by authorized person to validate)", "words": [{"boundingBox": [1.7087, - 8.6229, 1.9762, 8.6229, 1.9762, 8.727, 1.7087, 8.727], "text": "(must", "confidence": - 1}, {"boundingBox": [2.0158, 8.6246, 2.1283, 8.6246, 2.1283, 8.7057, 2.0158, - 8.7057], "text": "be", "confidence": 1}, {"boundingBox": [2.168, 8.6246, 2.485, - 8.6246, 2.485, 8.7284, 2.168, 8.7284], "text": "signed", "confidence": 1}, - {"boundingBox": [2.5286, 8.6246, 2.6389, 8.6246, 2.6389, 8.7278, 2.5286, 8.7278], - "text": "by", "confidence": 1}, {"boundingBox": [2.6737, 8.6246, 3.1831, 8.6246, - 3.1831, 8.7057, 2.6737, 8.7057], "text": "authorized", "confidence": 1}, {"boundingBox": + "confidence": 1}]}, {"boundingBox": [5.8033, 8.37, 5.9867, 8.37, 5.9833, 8.49, + 5.8, 8.4933], "text": "08", "words": [{"boundingBox": [5.81, 8.37, 5.9767, + 8.37, 5.9767, 8.4933, 5.8133, 8.4933], "text": "08", "confidence": 0.949}]}, + {"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, 8.4835, 5.8155, 8.4835], + "text": "08", "words": [{"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, + 8.4835, 5.8155, 8.4835], "text": "08", "confidence": 1}]}, {"boundingBox": + [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, 6.1674, 8.5119], "text": + "/", "words": [{"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, + 6.1674, 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": [6.5359, + 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, 8.4716], "text": "23", "words": + [{"boundingBox": [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, + 8.4716], "text": "23", "confidence": 1}]}, {"boundingBox": [6.7199, 8.3968, + 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": "/", "words": [{"boundingBox": + [6.7199, 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": + "/", "confidence": 1}]}, {"boundingBox": [7.0358, 8.3585, 7.3644, 8.3585, + 7.3644, 8.4715, 7.0358, 8.4715], "text": "2018", "words": [{"boundingBox": + [7.0358, 8.3585, 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, 8.4715], "text": + "2018", "confidence": 1}]}, {"boundingBox": [6.2125, 8.5205, 6.7221, 8.5205, + 6.7221, 8.5281, 6.2125, 8.5281], "text": "______", "words": [{"boundingBox": + [6.2125, 8.5205, 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, 8.5281], "text": + "______", "confidence": 1}]}, {"boundingBox": [6.7649, 8.5205, 7.4445, 8.5205, + 7.4445, 8.5281, 6.7649, 8.5281], "text": "________", "words": [{"boundingBox": + [6.7649, 8.5205, 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, 8.5281], "text": + "________", "confidence": 1}]}, {"boundingBox": [1.7087, 8.6229, 4.1257, 8.6229, + 4.1257, 8.7284, 1.7087, 8.7284], "text": "(must be signed by authorized person + to validate)", "words": [{"boundingBox": [1.7087, 8.6229, 1.9762, 8.6229, + 1.9762, 8.727, 1.7087, 8.727], "text": "(must", "confidence": 1}, {"boundingBox": + [2.0158, 8.6246, 2.1283, 8.6246, 2.1283, 8.7057, 2.0158, 8.7057], "text": + "be", "confidence": 1}, {"boundingBox": [2.168, 8.6246, 2.485, 8.6246, 2.485, + 8.7284, 2.168, 8.7284], "text": "signed", "confidence": 1}, {"boundingBox": + [2.5286, 8.6246, 2.6389, 8.6246, 2.6389, 8.7278, 2.5286, 8.7278], "text": + "by", "confidence": 1}, {"boundingBox": [2.6737, 8.6246, 3.1831, 8.6246, 3.1831, + 8.7057, 2.6737, 8.7057], "text": "authorized", "confidence": 1}, {"boundingBox": [3.2268, 8.6445, 3.5523, 8.6445, 3.5523, 8.727, 3.2268, 8.727], "text": "person", "confidence": 1}, {"boundingBox": [3.592, 8.63, 3.6791, 8.63, 3.6791, 8.7056, 3.592, 8.7056], "text": "to", "confidence": 1}, {"boundingBox": [3.7147, 8.6229, @@ -536,49 +510,49 @@ interactions: "pageResults": [{"page": 1, "tables": [{"rows": 4, "columns": 4, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Name of Cardholder: John Singer", "boundingBox": [0.8104, 5.6546, 4.1554, 5.6546, 4.1554, 5.9962, 0.8104, 5.9962], - "elements": ["#/readResults/0/lines/17/words/0", "#/readResults/0/lines/17/words/1", - "#/readResults/0/lines/17/words/2", "#/readResults/0/lines/18/words/0", "#/readResults/0/lines/18/words/1"]}, + "elements": ["#/readResults/0/lines/18/words/0", "#/readResults/0/lines/18/words/1", + "#/readResults/0/lines/18/words/2", "#/readResults/0/lines/19/words/0", "#/readResults/0/lines/19/words/1"]}, {"rowIndex": 0, "columnIndex": 2, "columnSpan": 2, "text": "Contact persons - phone #, if questions with this form. Telephone #: ( ) - 425 779 3479", "boundingBox": + phone #, if questions with this form. Telephone #: ( 425 ) 779 3479 -", "boundingBox": [5.1496, 5.6546, 8.2604, 5.6546, 8.2604, 5.9962, 5.1496, 5.9962], "elements": - ["#/readResults/0/lines/19/words/0", "#/readResults/0/lines/19/words/1", "#/readResults/0/lines/19/words/2", - "#/readResults/0/lines/19/words/3", "#/readResults/0/lines/19/words/4", "#/readResults/0/lines/19/words/5", - "#/readResults/0/lines/19/words/6", "#/readResults/0/lines/19/words/7", "#/readResults/0/lines/20/words/0", - "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2", "#/readResults/0/lines/20/words/3", - "#/readResults/0/lines/22/words/0", "#/readResults/0/lines/23/words/0", "#/readResults/0/lines/21/words/0", - "#/readResults/0/lines/24/words/0", "#/readResults/0/lines/24/words/1"]}, + ["#/readResults/0/lines/20/words/0", "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2", + "#/readResults/0/lines/20/words/3", "#/readResults/0/lines/20/words/4", "#/readResults/0/lines/20/words/5", + "#/readResults/0/lines/20/words/6", "#/readResults/0/lines/20/words/7", "#/readResults/0/lines/21/words/0", + "#/readResults/0/lines/21/words/1", "#/readResults/0/lines/21/words/2", "#/readResults/0/lines/21/words/3", + "#/readResults/0/lines/22/words/0", "#/readResults/0/lines/23/words/0", "#/readResults/0/lines/24/words/0", + "#/readResults/0/lines/24/words/1", "#/readResults/0/lines/25/words/0"]}, {"rowIndex": 1, "columnIndex": 0, "text": "Email Address: johnsinger@hotmail.com", "boundingBox": [0.8104, 5.9962, 4.1554, 5.9962, 4.1554, 6.2262, 0.8104, 6.2262], - "elements": ["#/readResults/0/lines/25/words/0", "#/readResults/0/lines/25/words/1", - "#/readResults/0/lines/26/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "text": + "elements": ["#/readResults/0/lines/26/words/0", "#/readResults/0/lines/26/words/1", + "#/readResults/0/lines/27/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "text": "Mailing Address: 472 SE 74th ST", "boundingBox": [0.8104, 6.2262, 4.1554, - 6.2262, 4.1554, 6.5021, 0.8104, 6.5021], "elements": ["#/readResults/0/lines/27/words/0", - "#/readResults/0/lines/27/words/1", "#/readResults/0/lines/28/words/0", "#/readResults/0/lines/28/words/1", - "#/readResults/0/lines/28/words/2", "#/readResults/0/lines/28/words/3"]}, + 6.2262, 4.1554, 6.5021, 0.8104, 6.5021], "elements": ["#/readResults/0/lines/28/words/0", + "#/readResults/0/lines/28/words/1", "#/readResults/0/lines/29/words/0", "#/readResults/0/lines/29/words/1", + "#/readResults/0/lines/29/words/2", "#/readResults/0/lines/29/words/3"]}, {"rowIndex": 3, "columnIndex": 0, "text": "City: Lakewood", "boundingBox": [0.8104, 6.5021, 4.1554, 6.5021, 4.1554, 6.7146, 0.8104, 6.7146], "elements": - ["#/readResults/0/lines/29/words/0", "#/readResults/0/lines/30/words/0"]}, + ["#/readResults/0/lines/30/words/0", "#/readResults/0/lines/31/words/0"]}, {"rowIndex": 3, "columnIndex": 1, "text": "State: WA", "boundingBox": [4.1554, - 6.5021, 5.1496, 6.5021, 5.1496, 6.7146, 4.1554, 6.7146], "elements": ["#/readResults/0/lines/31/words/0", - "#/readResults/0/lines/32/words/0"]}, {"rowIndex": 3, "columnIndex": 3, "text": + 6.5021, 5.1496, 6.5021, 5.1496, 6.7146, 4.1554, 6.7146], "elements": ["#/readResults/0/lines/32/words/0", + "#/readResults/0/lines/33/words/0"]}, {"rowIndex": 3, "columnIndex": 3, "text": "Zip Code: 98712", "boundingBox": [6.4104, 6.5021, 8.2604, 6.5021, 8.2604, - 6.7146, 6.4104, 6.7146], "elements": ["#/readResults/0/lines/33/words/0", - "#/readResults/0/lines/33/words/1", "#/readResults/0/lines/34/words/0"]}]}]}]}}' + 6.7146, 6.4104, 6.7146], "elements": ["#/readResults/0/lines/34/words/0", + "#/readResults/0/lines/34/words/1", "#/readResults/0/lines/35/words/0"]}]}]}]}}' headers: apim-request-id: - - bc57b334-0225-4709-a3ab-1f94d3feb19b + - 1dc2da4b-5e41-42b6-82ba-b13ff7942a81 content-length: - - '33933' + - '34566' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:00 GMT + - Mon, 01 Mar 2021 18:42:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '23' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_specify_pages.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_specify_pages.yaml index 4f884635e634..fb32db969f5f 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_specify_pages.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_specify_pages.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1&readingOrder=basic response: body: string: '' headers: apim-request-id: - - ab15b421-1895-4be4-a440-4ef0443d8484 + - 6eabf809-dc44-48d0-b30f-9617c2fa03b0 content-length: - '0' date: - - Fri, 30 Oct 2020 00:06:01 GMT + - Mon, 01 Mar 2021 18:42:40 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/ab15b421-1895-4be4-a440-4ef0443d8484 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6eabf809-dc44-48d0-b30f-9617c2fa03b0 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '225' + - '506' status: code: 202 message: Accepted @@ -47,48 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/ab15b421-1895-4be4-a440-4ef0443d8484 - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:01Z", "lastUpdatedDateTime": - "2020-10-30T00:06:01Z"}' - headers: - apim-request-id: - - aac0613e-904b-4747-a0f5-23bb3be89675 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 30 Oct 2020 00:06:06 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '11' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/ab15b421-1895-4be4-a440-4ef0443d8484 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6eabf809-dc44-48d0-b30f-9617c2fa03b0 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:01Z", - "lastUpdatedDateTime": "2020-10-30T00:06:07Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:42:40Z", + "lastUpdatedDateTime": "2021-03-01T18:42:43Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -309,24 +274,24 @@ interactions: "boundingBox": [0.9957, 2.9322, 7.4976, 2.9326, 7.4974, 4.6222, 0.9944, 4.6216]}]}]}}' headers: apim-request-id: - - 84267fb9-72c5-49d9-90e5-c69dd17ee667 + - 91b61695-534f-4fb1-837c-5fca420707c7 content-length: - - '15990' + - '16076' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:11 GMT + - Mon, 01 Mar 2021 18:42:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '24' + - '37' status: code: 200 message: OK - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -335,31 +300,31 @@ interactions: Connection: - keep-alive Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1,3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1,3&readingOrder=basic response: body: string: '' headers: apim-request-id: - - 04643ab2-56a7-4a5a-8ccb-c09a15102921 + - 38f55185-78ce-4340-a58c-8406f198a8cd content-length: - '0' date: - - Fri, 30 Oct 2020 00:06:12 GMT + - Mon, 01 Mar 2021 18:42:45 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/04643ab2-56a7-4a5a-8ccb-c09a15102921 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/38f55185-78ce-4340-a58c-8406f198a8cd strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '265' + - '366' status: code: 202 message: Accepted @@ -373,48 +338,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/04643ab2-56a7-4a5a-8ccb-c09a15102921 - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:12Z", "lastUpdatedDateTime": - "2020-10-30T00:06:12Z"}' - headers: - apim-request-id: - - 64f023dd-e0d7-4ff9-bace-b557f0eaa242 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 30 Oct 2020 00:06:17 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '14' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/04643ab2-56a7-4a5a-8ccb-c09a15102921 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/38f55185-78ce-4340-a58c-8406f198a8cd response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:12Z", - "lastUpdatedDateTime": "2020-10-30T00:06:18Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:42:45Z", + "lastUpdatedDateTime": "2021-03-01T18:42:50Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -853,24 +783,24 @@ interactions: "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: apim-request-id: - - 5c437b57-137d-4626-ba0b-d5f362e34a47 + - c3d0dc52-b0d5-47c7-94a4-d3ae07b97c15 content-length: - - '31877' + - '32026' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:22 GMT + - Mon, 01 Mar 2021 18:42:50 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '34' + - '27' status: code: 200 message: OK - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -879,31 +809,31 @@ interactions: Connection: - keep-alive Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2&readingOrder=basic response: body: string: '' headers: apim-request-id: - - b01d25cf-2539-4cea-a3b4-4003fe081a9a + - 382a70da-3a6f-431e-b6a7-75295ff984e4 content-length: - '0' date: - - Fri, 30 Oct 2020 00:06:22 GMT + - Mon, 01 Mar 2021 18:42:50 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b01d25cf-2539-4cea-a3b4-4003fe081a9a + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/382a70da-3a6f-431e-b6a7-75295ff984e4 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '155' + - '545' status: code: 202 message: Accepted @@ -917,48 +847,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b01d25cf-2539-4cea-a3b4-4003fe081a9a - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:23Z", "lastUpdatedDateTime": - "2020-10-30T00:06:27Z"}' - headers: - apim-request-id: - - 1935beac-87b7-458a-b2fd-61f5734e4aab - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 30 Oct 2020 00:06:27 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '12' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b01d25cf-2539-4cea-a3b4-4003fe081a9a + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/382a70da-3a6f-431e-b6a7-75295ff984e4 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:23Z", - "lastUpdatedDateTime": "2020-10-30T00:06:28Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:42:51Z", + "lastUpdatedDateTime": "2021-03-01T18:42:55Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -1181,24 +1076,24 @@ interactions: {"page": 2, "tables": []}]}}' headers: apim-request-id: - - 44a4010c-f7d5-403a-90ac-a71dd0dbd0a8 + - ea0e3103-1765-4aac-a21f-c9166150ce75 content-length: - - '16083' + - '16169' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:32 GMT + - Mon, 01 Mar 2021 18:42:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '30' + - '29' status: code: 200 message: OK - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -1207,31 +1102,31 @@ interactions: Connection: - keep-alive Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2,3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2,3&readingOrder=basic response: body: string: '' headers: apim-request-id: - - bdd9e6c6-2b9f-42b9-b8e8-cc6277d824e9 + - e4bd73e7-da6f-4adb-ae9c-32a09d7fadfd content-length: - '0' date: - - Fri, 30 Oct 2020 00:06:32 GMT + - Mon, 01 Mar 2021 18:42:56 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/bdd9e6c6-2b9f-42b9-b8e8-cc6277d824e9 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/e4bd73e7-da6f-4adb-ae9c-32a09d7fadfd strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '308' + - '809' status: code: 202 message: Accepted @@ -1245,48 +1140,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/bdd9e6c6-2b9f-42b9-b8e8-cc6277d824e9 - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:33Z", "lastUpdatedDateTime": - "2020-10-30T00:06:38Z"}' - headers: - apim-request-id: - - 4230f6c9-94d8-4d8a-ba3a-5c67c518ed95 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 30 Oct 2020 00:06:38 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '10' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/bdd9e6c6-2b9f-42b9-b8e8-cc6277d824e9 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/e4bd73e7-da6f-4adb-ae9c-32a09d7fadfd response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:33Z", - "lastUpdatedDateTime": "2020-10-30T00:06:39Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:42:57Z", + "lastUpdatedDateTime": "2021-03-01T18:43:01Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -1727,19 +1587,19 @@ interactions: "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: apim-request-id: - - 3ebc46a1-d3bf-4e02-aca0-c64ba390f042 + - 666548f1-e6be-445a-b855-aff73bfeb78f content-length: - - '31970' + - '32119' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:43 GMT + - Mon, 01 Mar 2021 18:43:02 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '40' + - '88' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_auth_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_auth_bad_key.yaml index 2f94b26a28ab..cc9984a7d120 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_auth_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_auth_bad_key.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Invoice_1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,13 +9,13 @@ interactions: Connection: - keep-alive Content-Length: - - '163' + - '216' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -25,7 +25,7 @@ interactions: content-length: - '224' date: - - Fri, 30 Oct 2020 00:06:44 GMT + - Mon, 01 Mar 2021 18:43:02 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_auth_successful_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_auth_successful_key.yaml index acb540d017cf..74a0cc196e72 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_auth_successful_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_auth_successful_key.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Invoice_1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '163' + - '216' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - 39cead77-73b1-45f7-85d3-3b1abdcddcb6 + - 0125038b-54be-4db8-833d-ef1a9ee9456b content-length: - '0' date: - - Fri, 30 Oct 2020 00:06:45 GMT + - Mon, 01 Mar 2021 18:43:02 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/39cead77-73b1-45f7-85d3-3b1abdcddcb6 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0125038b-54be-4db8-833d-ef1a9ee9456b strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '66' + - '504' status: code: 202 message: Accepted @@ -47,48 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/39cead77-73b1-45f7-85d3-3b1abdcddcb6 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/0125038b-54be-4db8-833d-ef1a9ee9456b response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:45Z", "lastUpdatedDateTime": - "2020-10-30T00:06:45Z"}' - headers: - apim-request-id: - - 9e70077b-0c6b-49bf-b261-b1ebc8c337d6 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 30 Oct 2020 00:06:49 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '10' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/39cead77-73b1-45f7-85d3-3b1abdcddcb6 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:45Z", - "lastUpdatedDateTime": "2020-10-30T00:06:50Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:43:03Z", + "lastUpdatedDateTime": "2021-03-01T18:43:07Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -213,19 +178,19 @@ interactions: 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: apim-request-id: - - 6fb499ba-e7d3-4de5-8348-7c1410deb4b1 + - b108a066-f970-4ea0-b3b7-f140d34997d2 content-length: - - '8802' + - '8901' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:54 GMT + - Mon, 01 Mar 2021 18:43:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '21' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_jpg.yaml index 5297a78e95bb..e5a459a4de39 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_jpg.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Form_1.jpg"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '160' + - '213' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - f95ac93e-c9a5-4a83-b3c0-eac640ef5b04 + - 8bdb0ec1-d5f5-4ae8-b6fc-3816551f4705 content-length: - '0' date: - - Fri, 30 Oct 2020 00:06:01 GMT + - Mon, 01 Mar 2021 18:43:08 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f95ac93e-c9a5-4a83-b3c0-eac640ef5b04 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/8bdb0ec1-d5f5-4ae8-b6fc-3816551f4705 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '249' + - '153' status: code: 202 message: Accepted @@ -47,306 +47,307 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f95ac93e-c9a5-4a83-b3c0-eac640ef5b04 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/8bdb0ec1-d5f5-4ae8-b6fc-3816551f4705 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:02Z", - "lastUpdatedDateTime": "2020-10-30T00:06:06Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:43:09Z", + "lastUpdatedDateTime": "2021-03-01T18:43:12Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, 264, 139, - 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, 259, + 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [863, 1179, 892, 1179, 891, 1204, 863, - 1204], "text": "20", "confidence": 0.986}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [489, 1671, 609, 1671, 609, 1706, 489, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [616, 1671, - 764, 1670, 765, 1708, 616, 1706], "text": "Sanders", "confidence": 0.979}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 595, 1671, 595, 1706, 484, 1706], "text": "Bernie", "confidence": 0.993}, + {"boundingBox": [602, 1671, 761, 1670, 762, 1708, 602, 1706], "text": "Sanders", + "confidence": 0.99}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -407,19 +408,19 @@ interactions: "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: apim-request-id: - - a1ab0c5e-fea6-472c-865a-f727cd4366ab + - 302c416f-98d6-4d4a-bdad-916cdd3398f3 content-length: - - '24387' + - '24433' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:07 GMT + - Mon, 01 Mar 2021 18:43:13 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '17' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_pass_stream.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_pass_stream.yaml index c4d7a545fc3f..aa38b0e8b82b 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_pass_stream.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_pass_stream.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "<_io.BufferedReader name=\''C:\\\\\\\\Users\\\\\\\\krpratic\\\\\\\\azure-sdk-for-python\\\\\\\\sdk\\\\\\\\formrecognizer\\\\\\\\azure-ai-formrecognizer\\\\\\\\tests\\\\\\\\sample_forms\\\\\\\\receipt\\\\\\\\contoso-allinone.jpg\''>"}''' + body: 'b''{"source": "<_io.BufferedReader name=\''C:\\\\\\\\Users\\\\\\\\caperal\\\\\\\\Documents\\\\\\\\Python\\\\\\\\azure-sdk-for-python\\\\\\\\sdk\\\\\\\\formrecognizer\\\\\\\\azure-ai-formrecognizer\\\\\\\\tests\\\\\\\\sample_forms\\\\\\\\receipt\\\\\\\\contoso-allinone.jpg\''>"}''' headers: Accept: - application/json @@ -9,32 +9,32 @@ interactions: Connection: - keep-alive Content-Length: - - '201' + - '223' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "FailedToDownloadImage", "message": "Failed to download image from input URL."}}' headers: apim-request-id: - - 9bb2ef3e-c965-4f30-ab91-75aa6ce9d11a + - 38431d38-c177-45e5-8c81-48c663652518 content-length: - '95' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:07 GMT + - Mon, 01 Mar 2021 18:43:14 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '4' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_pdf.yaml index deb4ab86e756..9f7fe0a8d74d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_pdf.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Invoice_1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '163' + - '216' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - fb46ae69-de5a-4d0b-a1a2-7610a6535e7a + - de5dd8f7-303e-4af5-869d-b9cefe1611d7 content-length: - '0' date: - - Fri, 30 Oct 2020 00:06:07 GMT + - Mon, 01 Mar 2021 18:43:15 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/fb46ae69-de5a-4d0b-a1a2-7610a6535e7a + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/de5dd8f7-303e-4af5-869d-b9cefe1611d7 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '398' + - '93' status: code: 202 message: Accepted @@ -47,13 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/fb46ae69-de5a-4d0b-a1a2-7610a6535e7a + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/de5dd8f7-303e-4af5-869d-b9cefe1611d7 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:07Z", - "lastUpdatedDateTime": "2020-10-30T00:06:13Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:43:15Z", + "lastUpdatedDateTime": "2021-03-01T18:43:19Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -178,19 +178,19 @@ interactions: 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: apim-request-id: - - 9ebba3f9-7b86-4605-b8ad-82812d0e36cc + - 69ac4aa4-ee61-44eb-be69-f012ef21611d content-length: - - '8802' + - '8901' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:12 GMT + - Mon, 01 Mar 2021 18:43:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '28' + - '15' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_transform_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_transform_jpg.yaml index ca71056e0323..49d77f079bdf 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_transform_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_transform_jpg.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Form_1.jpg"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '160' + - '213' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - e657be98-6de3-4883-97b0-75db99c535f9 + - 465dd572-602b-4140-b6f9-6847602e9bd1 content-length: - '0' date: - - Fri, 30 Oct 2020 00:06:13 GMT + - Mon, 01 Mar 2021 18:43:20 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/e657be98-6de3-4883-97b0-75db99c535f9 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/465dd572-602b-4140-b6f9-6847602e9bd1 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '106' + - '227' status: code: 202 message: Accepted @@ -47,306 +47,307 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/e657be98-6de3-4883-97b0-75db99c535f9 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/465dd572-602b-4140-b6f9-6847602e9bd1 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:13Z", - "lastUpdatedDateTime": "2020-10-30T00:06:16Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:43:20Z", + "lastUpdatedDateTime": "2021-03-01T18:43:24Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, 264, 139, - 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, 259, + 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [863, 1179, 892, 1179, 891, 1204, 863, - 1204], "text": "20", "confidence": 0.986}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [489, 1671, 609, 1671, 609, 1706, 489, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [616, 1671, - 764, 1670, 765, 1708, 616, 1706], "text": "Sanders", "confidence": 0.979}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 595, 1671, 595, 1706, 484, 1706], "text": "Bernie", "confidence": 0.993}, + {"boundingBox": [602, 1671, 761, 1670, 762, 1708, 602, 1706], "text": "Sanders", + "confidence": 0.99}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -407,19 +408,19 @@ interactions: "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: apim-request-id: - - 3e632478-21f6-4a60-ba57-1ad72ed7f2d1 + - 2a66f3e2-4598-42c5-8b10-f01966b583d8 content-length: - - '24387' + - '24433' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:18 GMT + - Mon, 01 Mar 2021 18:43:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '26' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_transform_pdf.yaml index f5c6d8c157d0..12cf98859d43 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_transform_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url.test_content_url_transform_pdf.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Invoice_1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -9,31 +9,31 @@ interactions: Connection: - keep-alive Content-Length: - - '163' + - '216' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: apim-request-id: - - fb728b53-e584-4ff8-9c16-fbd689169e89 + - 430b26f4-af1b-4841-a87d-8eac94b95d8a content-length: - '0' date: - - Fri, 30 Oct 2020 00:06:08 GMT + - Mon, 01 Mar 2021 18:43:26 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/fb728b53-e584-4ff8-9c16-fbd689169e89 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/430b26f4-af1b-4841-a87d-8eac94b95d8a strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '206' + - '423' status: code: 202 message: Accepted @@ -47,48 +47,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/fb728b53-e584-4ff8-9c16-fbd689169e89 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/430b26f4-af1b-4841-a87d-8eac94b95d8a response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:08Z", "lastUpdatedDateTime": - "2020-10-30T00:06:08Z"}' - headers: - apim-request-id: - - feb080cd-f464-4386-93bf-22efe31a2ff0 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 30 Oct 2020 00:06:13 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '11' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/fb728b53-e584-4ff8-9c16-fbd689169e89 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:08Z", - "lastUpdatedDateTime": "2020-10-30T00:06:13Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:43:26Z", + "lastUpdatedDateTime": "2021-03-01T18:43:31Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -213,19 +178,19 @@ interactions: 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: apim-request-id: - - 9a8c61d5-1ddd-41b9-98ff-cf67d6bc49f8 + - b8c89437-c23b-4ba3-a9a4-250250884e8e content-length: - - '8802' + - '8901' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 00:06:18 GMT + - Mon, 01 Mar 2021 18:43:31 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '18' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_bad_url.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_bad_url.yaml index a7b9cebe9b5a..b4e60d6e25cf 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_bad_url.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_bad_url.yaml @@ -9,23 +9,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "FailedToDownloadImage", "message": "Failed to download image from input URL."}}' headers: - apim-request-id: fbf8e66d-1831-4d70-a8ba-0d50c50dc36b + apim-request-id: 7c455ff7-a6f7-49fb-91b0-cfe67c40f150 content-length: '95' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:18 GMT + date: Wed, 03 Mar 2021 19:30:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '54' + x-envoy-upstream-service-time: '135' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_encoded_url.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_encoded_url.yaml index 19dbc2670f13..c46be01a6fb0 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_encoded_url.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_encoded_url.yaml @@ -9,25 +9,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: - string: '{"error": {"code": "InvalidImage", "message": "The file submitted couldn''t - be parsed. This can be due to one of the following reasons: the file format - is not supported ( Supported formats include JPEG, PNG, BMP, PDF and TIFF), - the file is corrupted or password protected."}}' + string: '{"error": {"code": "FailedToDownloadImage", "message": "Failed to download + image from input URL."}}' headers: - apim-request-id: e62e18c2-ec8d-4daf-97cd-98de88a00326 - content-length: '270' + apim-request-id: 266bd056-8978-4761-bcba-ada9974352b2 + content-length: '95' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:20 GMT + date: Wed, 03 Mar 2021 19:31:03 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '1133' + x-envoy-upstream-service-time: '416' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_chinese_simplified.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_chinese_simplified.yaml index 51b862c3237c..fbb6251673da 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_chinese_simplified.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_chinese_simplified.yaml @@ -5,62 +5,39 @@ interactions: Accept: - application/json Content-Length: - - '235' + - '233' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=zh-Hans + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=zh-Hans&readingOrder=basic response: body: string: '' headers: - apim-request-id: 56a73b7e-1639-46aa-b3b3-31f4832c8f15 + apim-request-id: 28ed78ea-0e4c-41fb-9f9c-fbdbec20c94a content-length: '0' - date: Tue, 10 Nov 2020 00:43:33 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/56a73b7e-1639-46aa-b3b3-31f4832c8f15 + date: Wed, 03 Mar 2021 19:31:04 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/28ed78ea-0e4c-41fb-9f9c-fbdbec20c94a strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '628' + x-envoy-upstream-service-time: '544' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=zh-Hans + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=zh-Hans&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/56a73b7e-1639-46aa-b3b3-31f4832c8f15 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/28ed78ea-0e4c-41fb-9f9c-fbdbec20c94a response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:43:33Z", "lastUpdatedDateTime": - "2020-11-10T00:43:33Z"}' - headers: - apim-request-id: 8e82c725-f955-4f1e-9803-4f9b4fde8db6 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:43:38 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '15' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/56a73b7e-1639-46aa-b3b3-31f4832c8f15 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/56a73b7e-1639-46aa-b3b3-31f4832c8f15 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:43:33Z", - "lastUpdatedDateTime": "2020-11-10T00:43:39Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:31:05Z", + "lastUpdatedDateTime": "2021-03-03T19:31:09Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "zh-Hans", "lines": [{"boundingBox": [0.8792, 1.1454, 1.7967, 1.1454, 1.7967, 1.3244, 0.8792, 1.3244], "text": "\u516c\u53f8A\u53d1\u7968", @@ -381,15 +358,15 @@ interactions: 4.8158, 7.495, 4.8093, 7.495, 5.024, 5.3373, 5.0305], "elements": ["#/readResults/0/lines/33/words/0"]}], "boundingBox": [1.0011, 3.2554, 7.4957, 3.2567, 7.4948, 5.0299, 0.9995, 5.0285]}]}]}}' headers: - apim-request-id: 8549fcd5-8c5b-402c-87c3-346252674baa - content-length: '22708' + apim-request-id: 86ff4974-ec26-4360-84c8-d598ce69ecfb + content-length: '22871' content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:43:43 GMT + date: Wed, 03 Mar 2021 19:31:10 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '27' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/56a73b7e-1639-46aa-b3b3-31f4832c8f15 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/28ed78ea-0e4c-41fb-9f9c-fbdbec20c94a version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_dutch.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_dutch.yaml index 1f5961c12ed8..69cdf944ef9d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_dutch.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_dutch.yaml @@ -5,62 +5,39 @@ interactions: Accept: - application/json Content-Length: - - '222' + - '220' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=nl + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=nl&readingOrder=basic response: body: string: '' headers: - apim-request-id: 318a4b6e-771b-4223-a4bb-03f741c33d19 + apim-request-id: 14fe3086-54e6-4ce9-a82c-d563bd985606 content-length: '0' - date: Tue, 10 Nov 2020 00:45:12 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/318a4b6e-771b-4223-a4bb-03f741c33d19 + date: Wed, 03 Mar 2021 19:31:10 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/14fe3086-54e6-4ce9-a82c-d563bd985606 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '789' + x-envoy-upstream-service-time: '470' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=nl + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=nl&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/318a4b6e-771b-4223-a4bb-03f741c33d19 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/14fe3086-54e6-4ce9-a82c-d563bd985606 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:45:13Z", "lastUpdatedDateTime": - "2020-11-10T00:45:13Z"}' - headers: - apim-request-id: f361f22c-b7e1-4f6a-8b61-456c571559dc - content-length: '106' - content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:45:17 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/318a4b6e-771b-4223-a4bb-03f741c33d19 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/318a4b6e-771b-4223-a4bb-03f741c33d19 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:45:13Z", - "lastUpdatedDateTime": "2020-11-10T00:45:18Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:31:11Z", + "lastUpdatedDateTime": "2021-03-03T19:31:15Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "nl", "lines": [{"boundingBox": [0.8917, 1.1119, 2.3863, 1.1119, 2.3863, 1.2798, 0.8917, 1.2798], "text": "Bedrijf een factuur", @@ -279,15 +256,15 @@ interactions: 4.4079, 7.4928, 4.4141, 7.4928, 4.6272, 5.3322, 4.6272], "elements": ["#/readResults/0/lines/33/words/0"]}], "boundingBox": [0.9958, 2.9315, 7.4972, 2.9318, 7.497, 4.6317, 0.9946, 4.6308]}]}]}}' headers: - apim-request-id: 3d4702d2-c1b9-4085-8911-095d88a2f974 - content-length: '16012' + apim-request-id: b09031cd-c75f-42ab-b3e1-9c716ffa0774 + content-length: '16117' content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:45:22 GMT + date: Wed, 03 Mar 2021 19:31:15 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '24' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/318a4b6e-771b-4223-a4bb-03f741c33d19 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/14fe3086-54e6-4ce9-a82c-d563bd985606 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_error.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_error.yaml index aa456d3bcdc8..ddb21be2b8d7 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_error.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_error.yaml @@ -1,31 +1,31 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Form_1.jpg"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '160' + - '213' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=not%20a%20language + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=not%20a%20language&readingOrder=basic response: body: string: '{"error": {"code": "NotSupportedLanguage", "message": "The requested operation is not supported in the language specified."}}' headers: - apim-request-id: c84f3c55-d3ff-44c6-bc2f-f0c9196fdebc + apim-request-id: bc42eecf-97f3-4b56-b55c-c47fbcebd4a9 content-length: '121' content-type: application/json; charset=utf-8 - date: Tue, 03 Nov 2020 19:22:20 GMT + date: Wed, 03 Mar 2021 19:31:16 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff x-envoy-upstream-service-time: '3' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=not%20a%20language + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=not%20a%20language&readingOrder=basic version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_french.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_french.yaml index 20bb5fb5ba34..64e44ce60c09 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_french.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_french.yaml @@ -5,62 +5,39 @@ interactions: Accept: - application/json Content-Length: - - '223' + - '221' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=fr + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=fr&readingOrder=basic response: body: string: '' headers: - apim-request-id: 2c659156-28c6-4e25-a572-9b4656056950 + apim-request-id: 2e9a5026-bfbf-4f00-a76c-e21259c736c6 content-length: '0' - date: Tue, 10 Nov 2020 00:46:54 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2c659156-28c6-4e25-a572-9b4656056950 + date: Wed, 03 Mar 2021 19:31:17 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2e9a5026-bfbf-4f00-a76c-e21259c736c6 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '626' + x-envoy-upstream-service-time: '473' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=fr + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=fr&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2c659156-28c6-4e25-a572-9b4656056950 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2e9a5026-bfbf-4f00-a76c-e21259c736c6 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:46:54Z", "lastUpdatedDateTime": - "2020-11-10T00:46:54Z"}' - headers: - apim-request-id: 0e6438dc-91a0-4849-b9e3-ce0070807f8c - content-length: '106' - content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:46:59 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '126' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2c659156-28c6-4e25-a572-9b4656056950 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2c659156-28c6-4e25-a572-9b4656056950 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:46:54Z", - "lastUpdatedDateTime": "2020-11-10T00:47:00Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:31:17Z", + "lastUpdatedDateTime": "2021-03-03T19:31:21Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "fr", "lines": [{"boundingBox": [0.8822, 1.1117, 2.276, 1.1117, 2.276, 1.2468, 0.8822, 1.2468], "text": "Soci\u00e9t\u00e9 @@ -284,15 +261,15 @@ interactions: 4.4079, 7.4928, 4.4141, 7.4928, 4.6272, 5.3322, 4.6272], "elements": ["#/readResults/0/lines/33/words/0"]}], "boundingBox": [0.9965, 2.9319, 7.4974, 2.9324, 7.4971, 4.632, 0.9951, 4.631]}]}]}}' headers: - apim-request-id: 404b0a4d-0dca-4065-8acd-302912d5cdda - content-length: '16218' + apim-request-id: d369d749-14a8-41a8-93b0-7a6006f5e153 + content-length: '16338' content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:47:04 GMT + date: Wed, 03 Mar 2021 19:31:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '68' + x-envoy-upstream-service-time: '60' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/2c659156-28c6-4e25-a572-9b4656056950 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2e9a5026-bfbf-4f00-a76c-e21259c736c6 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_german.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_german.yaml index fa2f1be6c624..d2da77781c1f 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_german.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_german.yaml @@ -5,62 +5,39 @@ interactions: Accept: - application/json Content-Length: - - '223' + - '221' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=de + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=de&readingOrder=basic response: body: string: '' headers: - apim-request-id: cd53b815-8930-475c-9738-cc2977cb38ab + apim-request-id: 6882d53c-bb6e-4bd2-a733-9ccc2c9e91f6 content-length: '0' - date: Tue, 10 Nov 2020 00:41:53 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/cd53b815-8930-475c-9738-cc2977cb38ab + date: Wed, 03 Mar 2021 19:31:22 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6882d53c-bb6e-4bd2-a733-9ccc2c9e91f6 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '723' + x-envoy-upstream-service-time: '505' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=de + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=de&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/cd53b815-8930-475c-9738-cc2977cb38ab + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6882d53c-bb6e-4bd2-a733-9ccc2c9e91f6 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:41:54Z", "lastUpdatedDateTime": - "2020-11-10T00:41:54Z"}' - headers: - apim-request-id: 0af66886-507c-483a-b779-b48935281a2d - content-length: '106' - content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:41:59 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/cd53b815-8930-475c-9738-cc2977cb38ab -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/cd53b815-8930-475c-9738-cc2977cb38ab - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:41:54Z", - "lastUpdatedDateTime": "2020-11-10T00:42:00Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:31:23Z", + "lastUpdatedDateTime": "2021-03-03T19:31:27Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "de", "lines": [{"boundingBox": [0.8915, 1.1143, 2.362, 1.1143, 2.362, 1.2485, 0.8915, 1.2485], "text": "Unternehmen Eine", @@ -277,15 +254,15 @@ interactions: 4.4079, 7.4928, 4.4141, 7.4928, 4.6272, 5.3322, 4.6272], "elements": ["#/readResults/0/lines/34/words/0"]}], "boundingBox": [0.9969, 2.9321, 7.4979, 2.9326, 7.4976, 4.632, 0.9956, 4.6311]}]}]}}' headers: - apim-request-id: b74be9c1-8f22-4bdc-baad-c54b8e8a561c - content-length: '15858' + apim-request-id: 28139ef4-5b13-4e38-aa75-33f79b9275c8 + content-length: '15971' content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:42:04 GMT + date: Wed, 03 Mar 2021 19:31:28 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '30' + x-envoy-upstream-service-time: '27' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/cd53b815-8930-475c-9738-cc2977cb38ab + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6882d53c-bb6e-4bd2-a733-9ccc2c9e91f6 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_italian.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_italian.yaml index 3596d282b8b3..acd342255013 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_italian.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_italian.yaml @@ -5,62 +5,39 @@ interactions: Accept: - application/json Content-Length: - - '224' + - '222' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=it + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=it&readingOrder=basic response: body: string: '' headers: - apim-request-id: 8206edbd-068e-4c96-a9d9-994422b81b32 + apim-request-id: 2e92a349-fee8-4f6c-ab1c-a9b07dc19b2e content-length: '0' - date: Tue, 10 Nov 2020 00:48:33 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8206edbd-068e-4c96-a9d9-994422b81b32 + date: Wed, 03 Mar 2021 19:31:29 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2e92a349-fee8-4f6c-ab1c-a9b07dc19b2e strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '692' + x-envoy-upstream-service-time: '402' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=it + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=it&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8206edbd-068e-4c96-a9d9-994422b81b32 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2e92a349-fee8-4f6c-ab1c-a9b07dc19b2e response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:48:33Z", "lastUpdatedDateTime": - "2020-11-10T00:48:33Z"}' - headers: - apim-request-id: 8353d2c7-a3f6-4c85-a951-f7484522f533 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:48:37 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8206edbd-068e-4c96-a9d9-994422b81b32 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8206edbd-068e-4c96-a9d9-994422b81b32 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:48:33Z", - "lastUpdatedDateTime": "2020-11-10T00:48:39Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:31:29Z", + "lastUpdatedDateTime": "2021-03-03T19:31:33Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "it", "lines": [{"boundingBox": [0.8822, 1.1117, 2.4541, 1.1117, 2.4541, 1.2468, 0.8822, 1.2468], "text": "Societ\u00e0 Una @@ -279,15 +256,15 @@ interactions: 4.4079, 7.4928, 4.4141, 7.4928, 4.6272, 5.3322, 4.6272], "elements": ["#/readResults/0/lines/33/words/0"]}], "boundingBox": [0.9965, 2.932, 7.4974, 2.9323, 7.4971, 4.6318, 0.9951, 4.6311]}]}]}}' headers: - apim-request-id: 385a3810-3fdc-4bc7-a043-6cd77e12fbd4 - content-length: '15934' + apim-request-id: 613f56df-fe3d-4d48-ab27-5d62fcef0939 + content-length: '16047' content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:48:42 GMT + date: Wed, 03 Mar 2021 19:31:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '27' + x-envoy-upstream-service-time: '23' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/8206edbd-068e-4c96-a9d9-994422b81b32 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/2e92a349-fee8-4f6c-ab1c-a9b07dc19b2e version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_portuguese.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_portuguese.yaml index 067a4c9a963f..0b618260b565 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_portuguese.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_portuguese.yaml @@ -5,62 +5,39 @@ interactions: Accept: - application/json Content-Length: - - '227' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=pt + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=pt&readingOrder=basic response: body: string: '' headers: - apim-request-id: a269efeb-bbe3-49a4-ae53-9729bee38534 + apim-request-id: ea954c20-2da0-439a-b441-a137fedd18eb content-length: '0' - date: Tue, 10 Nov 2020 00:50:23 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/a269efeb-bbe3-49a4-ae53-9729bee38534 + date: Wed, 03 Mar 2021 19:31:34 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/ea954c20-2da0-439a-b441-a137fedd18eb strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '626' + x-envoy-upstream-service-time: '387' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=pt + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=pt&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/a269efeb-bbe3-49a4-ae53-9729bee38534 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/ea954c20-2da0-439a-b441-a137fedd18eb response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:50:23Z", "lastUpdatedDateTime": - "2020-11-10T00:50:23Z"}' - headers: - apim-request-id: 90a31989-fb8d-494c-9e7e-f6ce4ea57d0a - content-length: '106' - content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:50:28 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/a269efeb-bbe3-49a4-ae53-9729bee38534 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/a269efeb-bbe3-49a4-ae53-9729bee38534 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:50:23Z", - "lastUpdatedDateTime": "2020-11-10T00:50:29Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:31:35Z", + "lastUpdatedDateTime": "2021-03-03T19:31:39Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "pt", "lines": [{"boundingBox": [0.8917, 1.1215, 2.5557, 1.1215, 2.5557, 1.2798, 0.8917, 1.2798], "text": "Empresa Uma Fatura", @@ -279,15 +256,15 @@ interactions: 4.4079, 7.4928, 4.4141, 7.4928, 4.6272, 5.3322, 4.6272], "elements": ["#/readResults/0/lines/33/words/0"]}], "boundingBox": [0.9961, 2.9315, 7.4975, 2.9318, 7.4972, 4.6318, 0.9948, 4.6309]}]}]}}' headers: - apim-request-id: 8544bbf3-4075-48e0-bb1e-df17b5fdb171 - content-length: '15900' + apim-request-id: 2ab12225-49e7-411f-b9ef-680c5b7eb6fa + content-length: '16006' content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:50:33 GMT + date: Wed, 03 Mar 2021 19:31:40 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '25' + x-envoy-upstream-service-time: '77' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/a269efeb-bbe3-49a4-ae53-9729bee38534 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/ea954c20-2da0-439a-b441-a137fedd18eb version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_spanish.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_spanish.yaml index f6153db4f86e..cbb923a71a9d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_spanish.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_spanish.yaml @@ -5,62 +5,39 @@ interactions: Accept: - application/json Content-Length: - - '224' + - '222' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=es + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=es&readingOrder=basic response: body: string: '' headers: - apim-request-id: 47e125ad-3397-4fa0-95cc-bbd4d28c6f8f + apim-request-id: 869d6429-05d5-476e-940d-4b31be74ef6c content-length: '0' - date: Tue, 10 Nov 2020 00:52:00 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/47e125ad-3397-4fa0-95cc-bbd4d28c6f8f + date: Wed, 03 Mar 2021 19:31:40 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/869d6429-05d5-476e-940d-4b31be74ef6c strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '674' + x-envoy-upstream-service-time: '519' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=es + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=es&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/47e125ad-3397-4fa0-95cc-bbd4d28c6f8f + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/869d6429-05d5-476e-940d-4b31be74ef6c response: body: - string: '{"status": "running", "createdDateTime": "2020-11-10T00:52:00Z", "lastUpdatedDateTime": - "2020-11-10T00:52:00Z"}' - headers: - apim-request-id: fc4182fd-4338-4f82-891f-2daffa862ea6 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:52:05 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/47e125ad-3397-4fa0-95cc-bbd4d28c6f8f -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/47e125ad-3397-4fa0-95cc-bbd4d28c6f8f - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-10T00:52:00Z", - "lastUpdatedDateTime": "2020-11-10T00:52:06Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:31:41Z", + "lastUpdatedDateTime": "2021-03-03T19:31:46Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "language": "es", "lines": [{"boundingBox": [0.8917, 1.1119, 2.5309, 1.1119, 2.5309, 1.2798, 0.8917, 1.2798], "text": "Empresa una factura", @@ -278,15 +255,15 @@ interactions: 4.4079, 7.4928, 4.4141, 7.4928, 4.6272, 5.3322, 4.6272], "elements": ["#/readResults/0/lines/33/words/0"]}], "boundingBox": [0.9959, 2.9319, 7.4973, 2.9322, 7.497, 4.6319, 0.9945, 4.6311]}]}]}}' headers: - apim-request-id: b7766b3b-b3dd-4710-9a50-bf8a21aaf732 - content-length: '15818' + apim-request-id: ad7c11a2-82cf-4695-a98f-59ba35b43898 + content-length: '15923' content-type: application/json; charset=utf-8 - date: Tue, 10 Nov 2020 00:52:11 GMT + date: Wed, 03 Mar 2021 19:31:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '26' + x-envoy-upstream-service-time: '25' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/47e125ad-3397-4fa0-95cc-bbd4d28c6f8f + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/869d6429-05d5-476e-940d-4b31be74ef6c version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_specified.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_specified.yaml index 44773dee83d5..8c85a9d7ae0f 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_specified.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_language_specified.yaml @@ -1,336 +1,337 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Form_1.jpg"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '160' + - '213' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?language=de + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=de&readingOrder=basic response: body: string: '' headers: - apim-request-id: 42709d58-12d1-47a5-b6d6-c1716a36fd87 + apim-request-id: 94008e34-4534-4ebc-a18c-afcba66eaede content-length: '0' - date: Tue, 03 Nov 2020 19:22:21 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/42709d58-12d1-47a5-b6d6-c1716a36fd87 + date: Wed, 03 Mar 2021 19:31:46 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/94008e34-4534-4ebc-a18c-afcba66eaede strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '313' + x-envoy-upstream-service-time: '304' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?language=de + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?language=de&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/42709d58-12d1-47a5-b6d6-c1716a36fd87 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/94008e34-4534-4ebc-a18c-afcba66eaede response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-03T19:22:21Z", - "lastUpdatedDateTime": "2020-11-03T19:22:26Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:31:47Z", + "lastUpdatedDateTime": "2021-03-03T19:31:51Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "language": "de", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, - 264, 139, 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, + 259, 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, - 1203], "text": "20", "confidence": 0.983}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [484, 1671, 602, 1671, 603, 1706, 484, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [609, 1671, - 764, 1670, 765, 1708, 609, 1706], "text": "Sanders", "confidence": 0.984}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 596, 1671, 597, 1706, 484, 1706], "text": "Bernie", "confidence": 0.968}, + {"boundingBox": [606, 1671, 763, 1670, 764, 1708, 607, 1706], "text": "Sanders", + "confidence": 0.996}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -390,15 +391,15 @@ interactions: 1663, 1543, 1663, 1543, 1708, 1308, 1707], "elements": ["#/readResults/0/lines/47/words/0"]}], "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: - apim-request-id: 09c17d14-3efc-4d93-9bb9-c1b55a6c4156 - content-length: '24403' + apim-request-id: 7b123bfd-3c4f-44b7-9ed8-752b3b4df625 + content-length: '24449' content-type: application/json; charset=utf-8 - date: Tue, 03 Nov 2020 19:22:26 GMT + date: Wed, 03 Mar 2021 19:31:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/42709d58-12d1-47a5-b6d6-c1716a36fd87 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/94008e34-4534-4ebc-a18c-afcba66eaede version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_table_span_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_table_span_pdf.yaml index d39180a2ce82..9b3b7bd0b11a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_table_span_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_table_span_pdf.yaml @@ -1,66 +1,43 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipagelayout.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '169' + - '222' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 298af289-9ee8-4313-9933-3d49cc245473 + apim-request-id: 65a1553f-67e1-43bd-873c-32320af61ae1 content-length: '0' - date: Fri, 30 Oct 2020 00:06:30 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/298af289-9ee8-4313-9933-3d49cc245473 + date: Wed, 03 Mar 2021 19:31:52 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/65a1553f-67e1-43bd-873c-32320af61ae1 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '118' + x-envoy-upstream-service-time: '711' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/298af289-9ee8-4313-9933-3d49cc245473 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/65a1553f-67e1-43bd-873c-32320af61ae1 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:30Z", "lastUpdatedDateTime": - "2020-10-30T00:06:30Z"}' - headers: - apim-request-id: 1c166a01-e0cd-49aa-a1a6-705df1b5a257 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:34 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/298af289-9ee8-4313-9933-3d49cc245473 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/298af289-9ee8-4313-9933-3d49cc245473 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:30Z", - "lastUpdatedDateTime": "2020-10-30T00:06:36Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:31:53Z", + "lastUpdatedDateTime": "2021-03-03T19:31:58Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [1.0119, 1.6855, 3.9147, 1.6855, 3.9147, 1.8775, 1.0119, 1.8775], "text": "Quarterly Sales Update: Q3 2019", @@ -640,16 +617,14 @@ interactions: {"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, 7.4627, 9.8988], "text": "7.00%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, - 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}], "selectionMarks": [{"boundingBox": - [3.3622, 2.4501, 3.4551, 2.4501, 3.4551, 2.5407, 3.3622, 2.5407], "confidence": - 0.806, "state": "unselected"}]}, {"page": 2, "angle": 0, "width": 8.5, "height": - 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, 1.0463, 3.4282, 1.0463, - 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": {"style": {"name": - "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, 1.0463, 3.4282, - 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": 1}]}, - {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], - "text": "781", "appearance": {"style": {"name": "other", "confidence": 1}}, - "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, + 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}]}, {"page": 2, "angle": + 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": + {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": + 1}]}, {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, + 1.136], "text": "781", "appearance": {"style": {"name": "other", "confidence": + 1}}, "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], "text": "781", "confidence": 1}]}, {"boundingBox": [7.3994, 1.0525, 7.7624, 1.0525, 7.7624, 1.1371, 7.3994, 1.1371], "text": "34.20%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -999,9 +974,9 @@ interactions: "CT, ME, MA, NH, RI, VT", "boundingBox": [3.2764, 2.4049, 5.2184, 2.4049, 5.2184, 2.5799, 3.2764, 2.5799], "elements": ["#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2", "#/readResults/0/lines/8/words/3", - "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5", "#/readResults/0/selectionMarks/0"]}, - {"rowIndex": 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, - 7.1672, 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, + "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5"]}, {"rowIndex": + 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, 7.1672, + 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, {"rowIndex": 1, "columnIndex": 3, "text": "0.7%", "boundingBox": [7.1672, 2.4049, 7.8348, 2.4049, 7.8348, 2.5799, 7.1672, 2.5799], "elements": ["#/readResults/0/lines/10/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "rowSpan": 2, "text": "Mid-Atlantic", "boundingBox": @@ -1504,15 +1479,15 @@ interactions: 5.0913, 7.0785, 5.0844], "elements": ["#/readResults/1/lines/76/words/0"]}], "boundingBox": [1.0424, 1.0041, 7.877, 1.0068, 7.8741, 5.1081, 1.037, 5.1044]}]}]}}' headers: - apim-request-id: 9a850d3a-d30b-4c75-a253-84bd7d73650e - content-length: '105400' + apim-request-id: daa66865-6f50-4f9f-a29d-bac65d901b28 + content-length: '105808' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:40 GMT + date: Wed, 03 Mar 2021 19:31:58 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '44' + x-envoy-upstream-service-time: '85' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/298af289-9ee8-4313-9933-3d49cc245473 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/65a1553f-67e1-43bd-873c-32320af61ae1 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_table_span_transform.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_table_span_transform.yaml index c6796e7d64c5..30fd95c66aa5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_table_span_transform.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_table_span_transform.yaml @@ -1,66 +1,66 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipagelayout.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '169' + - '222' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: b8e3aa3d-3061-4278-b659-946a79f4c888 + apim-request-id: ecc8a998-0910-401b-b05f-a277b6e87b65 content-length: '0' - date: Fri, 30 Oct 2020 00:06:21 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b8e3aa3d-3061-4278-b659-946a79f4c888 + date: Wed, 03 Mar 2021 19:31:58 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/ecc8a998-0910-401b-b05f-a277b6e87b65 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '323' + x-envoy-upstream-service-time: '537' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b8e3aa3d-3061-4278-b659-946a79f4c888 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/ecc8a998-0910-401b-b05f-a277b6e87b65 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:21Z", "lastUpdatedDateTime": - "2020-10-30T00:06:21Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:31:59Z", "lastUpdatedDateTime": + "2021-03-03T19:32:03Z"}' headers: - apim-request-id: 41721936-0a74-4482-b0ce-cd928544bf37 + apim-request-id: 505fbb33-ecc9-4b32-9cc5-85efd776a7ed content-length: '106' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:26 GMT + date: Wed, 03 Mar 2021 19:32:04 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b8e3aa3d-3061-4278-b659-946a79f4c888 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/ecc8a998-0910-401b-b05f-a277b6e87b65 - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b8e3aa3d-3061-4278-b659-946a79f4c888 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/ecc8a998-0910-401b-b05f-a277b6e87b65 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:21Z", - "lastUpdatedDateTime": "2020-10-30T00:06:27Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:31:59Z", + "lastUpdatedDateTime": "2021-03-03T19:32:04Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [1.0119, 1.6855, 3.9147, 1.6855, 3.9147, 1.8775, 1.0119, 1.8775], "text": "Quarterly Sales Update: Q3 2019", @@ -640,16 +640,14 @@ interactions: {"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, 7.4627, 9.8988], "text": "7.00%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [7.4627, 9.8142, 7.7628, 9.8142, 7.7628, 9.8988, - 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}], "selectionMarks": [{"boundingBox": - [3.3622, 2.4501, 3.4551, 2.4501, 3.4551, 2.5407, 3.3622, 2.5407], "confidence": - 0.806, "state": "unselected"}]}, {"page": 2, "angle": 0, "width": 8.5, "height": - 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, 1.0463, 3.4282, 1.0463, - 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": {"style": {"name": - "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, 1.0463, 3.4282, - 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": 1}]}, - {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], - "text": "781", "appearance": {"style": {"name": "other", "confidence": 1}}, - "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, + 7.4627, 9.8988], "text": "7.00%", "confidence": 1}]}]}, {"page": 2, "angle": + 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "appearance": + {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.3371, + 1.0463, 3.4282, 1.0463, 3.4282, 1.1269, 3.3371, 1.1269], "text": "IN", "confidence": + 1}]}, {"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, + 1.136], "text": "781", "appearance": {"style": {"name": "other", "confidence": + 1}}, "words": [{"boundingBox": [6.8227, 1.0538, 6.9997, 1.0538, 6.9997, 1.136, 6.8227, 1.136], "text": "781", "confidence": 1}]}, {"boundingBox": [7.3994, 1.0525, 7.7624, 1.0525, 7.7624, 1.1371, 7.3994, 1.1371], "text": "34.20%", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -999,9 +997,9 @@ interactions: "CT, ME, MA, NH, RI, VT", "boundingBox": [3.2764, 2.4049, 5.2184, 2.4049, 5.2184, 2.5799, 3.2764, 2.5799], "elements": ["#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2", "#/readResults/0/lines/8/words/3", - "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5", "#/readResults/0/selectionMarks/0"]}, - {"rowIndex": 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, - 7.1672, 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, + "#/readResults/0/lines/8/words/4", "#/readResults/0/lines/8/words/5"]}, {"rowIndex": + 1, "columnIndex": 2, "text": "526", "boundingBox": [5.2184, 2.4049, 7.1672, + 2.4049, 7.1672, 2.5799, 5.2184, 2.5799], "elements": ["#/readResults/0/lines/9/words/0"]}, {"rowIndex": 1, "columnIndex": 3, "text": "0.7%", "boundingBox": [7.1672, 2.4049, 7.8348, 2.4049, 7.8348, 2.5799, 7.1672, 2.5799], "elements": ["#/readResults/0/lines/10/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "rowSpan": 2, "text": "Mid-Atlantic", "boundingBox": @@ -1504,15 +1502,15 @@ interactions: 5.0913, 7.0785, 5.0844], "elements": ["#/readResults/1/lines/76/words/0"]}], "boundingBox": [1.0424, 1.0041, 7.877, 1.0068, 7.8741, 5.1081, 1.037, 5.1044]}]}]}}' headers: - apim-request-id: c234cdec-9a61-499b-ae98-4dbe868db234 - content-length: '105400' + apim-request-id: dff04e25-2376-427f-a73c-1cf8a976ea28 + content-length: '105808' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:31 GMT + date: Wed, 03 Mar 2021 19:32:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '40' + x-envoy-upstream-service-time: '138' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b8e3aa3d-3061-4278-b659-946a79f4c888 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/ecc8a998-0910-401b-b05f-a277b6e87b65 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_transform_url.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_transform_url.yaml index 0acc952700cd..5649bca3ee06 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_transform_url.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_transform_url.yaml @@ -1,66 +1,43 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: b61ab138-878a-4774-9b7f-6cbe5e7f1bff + apim-request-id: f9ee3266-5439-42d2-a209-c5d47756fe12 content-length: '0' - date: Fri, 30 Oct 2020 00:06:32 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b61ab138-878a-4774-9b7f-6cbe5e7f1bff + date: Wed, 03 Mar 2021 19:32:10 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f9ee3266-5439-42d2-a209-c5d47756fe12 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' + x-envoy-upstream-service-time: '92' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b61ab138-878a-4774-9b7f-6cbe5e7f1bff + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f9ee3266-5439-42d2-a209-c5d47756fe12 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:32Z", "lastUpdatedDateTime": - "2020-10-30T00:06:37Z"}' - headers: - apim-request-id: 0d2d05d5-22b5-4f9d-b712-9cd4b597919e - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:36 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '15' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b61ab138-878a-4774-9b7f-6cbe5e7f1bff -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b61ab138-878a-4774-9b7f-6cbe5e7f1bff - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:32Z", - "lastUpdatedDateTime": "2020-10-30T00:06:38Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:32:10Z", + "lastUpdatedDateTime": "2021-03-03T19:32:14Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -500,15 +477,15 @@ interactions: 4.4126, 7.5062, 4.4126, 7.5062, 4.6246, 5.3322, 4.6184], "elements": ["#/readResults/2/lines/33/words/0"]}], "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: - apim-request-id: 5ea402c9-b3b7-432b-a610-3e0d4ab485fd - content-length: '31970' + apim-request-id: fd9ab0ea-d48a-487d-aa57-8599f5635547 + content-length: '32119' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:42 GMT + date: Wed, 03 Mar 2021 19:32:14 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '44' + x-envoy-upstream-service-time: '80' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b61ab138-878a-4774-9b7f-6cbe5e7f1bff + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/f9ee3266-5439-42d2-a209-c5d47756fe12 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_url.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_url.yaml index af37fd801541..18e6bccb3b1a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_url.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_multipage_url.yaml @@ -1,66 +1,43 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: dd44dec4-c72d-483c-a0fe-84c64ea804cd + apim-request-id: 85edbd15-beae-41d1-8101-4f2ba5e69153 content-length: '0' - date: Fri, 30 Oct 2020 00:06:41 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/dd44dec4-c72d-483c-a0fe-84c64ea804cd + date: Wed, 03 Mar 2021 19:32:16 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/85edbd15-beae-41d1-8101-4f2ba5e69153 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '160' + x-envoy-upstream-service-time: '477' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/dd44dec4-c72d-483c-a0fe-84c64ea804cd + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/85edbd15-beae-41d1-8101-4f2ba5e69153 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:41Z", "lastUpdatedDateTime": - "2020-10-30T00:06:46Z"}' - headers: - apim-request-id: d0228ede-dfcb-4532-963b-b5040a60af09 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:46 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/dd44dec4-c72d-483c-a0fe-84c64ea804cd -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/dd44dec4-c72d-483c-a0fe-84c64ea804cd - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:41Z", - "lastUpdatedDateTime": "2020-10-30T00:06:49Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:32:16Z", + "lastUpdatedDateTime": "2021-03-03T19:32:20Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -500,15 +477,15 @@ interactions: 4.4126, 7.5062, 4.4126, 7.5062, 4.6246, 5.3322, 4.6184], "elements": ["#/readResults/2/lines/33/words/0"]}], "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: - apim-request-id: 4bd4f994-25af-469c-9e61-af9b53472020 - content-length: '31970' + apim-request-id: 37229728-f15a-40a6-ad0c-1431d51dd996 + content-length: '32119' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:52 GMT + date: Wed, 03 Mar 2021 19:32:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '52' + x-envoy-upstream-service-time: '78' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/dd44dec4-c72d-483c-a0fe-84c64ea804cd + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/85edbd15-beae-41d1-8101-4f2ba5e69153 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_selection_marks.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_selection_marks.yaml index e556117703eb..359743b4ebe5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_selection_marks.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_selection_marks.yaml @@ -1,72 +1,49 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/selection_mark_form.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '173' + - '226' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 4d024c44-683d-4d7b-902e-2c15298c22ed + apim-request-id: 547b77f0-82f9-4e81-8fc9-6cf8225407dd content-length: '0' - date: Fri, 30 Oct 2020 00:06:43 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4d024c44-683d-4d7b-902e-2c15298c22ed + date: Wed, 03 Mar 2021 19:32:21 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/547b77f0-82f9-4e81-8fc9-6cf8225407dd strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '182' + x-envoy-upstream-service-time: '551' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4d024c44-683d-4d7b-902e-2c15298c22ed + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/547b77f0-82f9-4e81-8fc9-6cf8225407dd response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:43Z", "lastUpdatedDateTime": - "2020-10-30T00:06:43Z"}' - headers: - apim-request-id: c2f20d9e-03ae-42fc-9b39-d23de95deb3e - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:48 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4d024c44-683d-4d7b-902e-2c15298c22ed -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4d024c44-683d-4d7b-902e-2c15298c22ed - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:43Z", - "lastUpdatedDateTime": "2020-10-30T00:06:49Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:32:22Z", + "lastUpdatedDateTime": "2021-03-03T19:32:27Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5301, 0.697, 2.3829, 0.7018, 2.3829, 1.3034, 0.5301, 1.2986], "text": "Contoso", "appearance": {"style": - {"name": "other", "confidence": 0.899}}, "words": [{"boundingBox": [0.5348, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [0.5348, 0.7066, 2.3876, 0.826, 2.3781, 1.1888, 0.5587, 1.3034], "text": "Contoso", - "confidence": 0.952}]}, {"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, + "confidence": 0.991}]}, {"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, 0.8109, 3.2791, 0.8109], "text": "STATE OF CALIFORNIA: CONTOSO", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [3.2791, 0.7373, 3.5799, 0.7373, 3.5799, 0.8109, 3.2791, 0.8109], "text": "STATE", @@ -110,10 +87,10 @@ interactions: 6.0557, 2.2185, 6.0557, 2.3325, 5.256, 2.3325], "text": "PAYMENT", "confidence": 1}]}, {"boundingBox": [3.3522, 3.0269, 5.186, 3.0269, 5.186, 3.2274, 3.3522, 3.2274], "text": "CONTOSO BANK", "appearance": {"style": {"name": "other", - "confidence": 1.0}}, "words": [{"boundingBox": [3.357, 3.0317, 4.5126, 3.0269, - 4.5126, 3.2274, 3.3618, 3.2322], "text": "CONTOSO", "confidence": 0.985}, - {"boundingBox": [4.5556, 3.0269, 5.186, 3.0317, 5.186, 3.2274, 4.5556, 3.2274], - "text": "BANK", "confidence": 0.986}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, + "confidence": 0.878}}, "words": [{"boundingBox": [3.357, 3.0317, 4.4267, 3.0269, + 4.4267, 3.2274, 3.3618, 3.2322], "text": "CONTOSO", "confidence": 0.985}, + {"boundingBox": [4.5365, 3.0269, 5.143, 3.0317, 5.1382, 3.2274, 4.5365, 3.2274], + "text": "BANK", "confidence": 0.994}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, 3.6446, 0.8106, 3.6446], "text": "Fees owed to this Department may be paid by the use of a credit card. If you wish to pay your fee(s)", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": @@ -442,10 +419,10 @@ interactions: 8.1896, 2.2444, 8.1896], "text": "clearly)", "confidence": 1}]}, {"boundingBox": [1.8862, 8.2595, 3.2329, 8.2691, 3.2329, 8.5556, 1.8862, 8.5508], "text": "John Singer", "appearance": {"style": {"name": "handwriting", "confidence": - 0.848}}, "words": [{"boundingBox": [1.9674, 8.2643, 2.5166, 8.2834, 2.5166, - 8.5412, 1.9674, 8.5556], "text": "John", "confidence": 0.979}, {"boundingBox": - [2.5739, 8.2834, 3.2233, 8.3073, 3.2233, 8.5317, 2.5787, 8.5412], "text": - "Singer", "confidence": 0.945}]}, {"boundingBox": [0.8059, 8.3968, 5.2429, + 0.676}}, "words": [{"boundingBox": [1.891, 8.2595, 2.4354, 8.2786, 2.4354, + 8.5412, 1.891, 8.5556], "text": "John", "confidence": 0.87}, {"boundingBox": + [2.4927, 8.2834, 3.2233, 8.3073, 3.2233, 8.5317, 2.4927, 8.5412], "text": + "Singer", "confidence": 0.956}]}, {"boundingBox": [0.8059, 8.3968, 5.2429, 8.3968, 5.2429, 8.5421, 0.8059, 8.5421], "text": "Signature: ___________________________________________", "appearance": {"style": {"name": "other", "confidence": 1}}, "words": [{"boundingBox": [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, 8.5421], "text": @@ -541,15 +518,15 @@ interactions: 5.4481, 3.2448, 5.6108, 3.0846, 5.6108], "confidence": 1, "state": "unselected"}]}], "pageResults": [{"page": 1, "tables": []}]}}' headers: - apim-request-id: ccc26522-d99d-45df-b351-49caf9839533 - content-length: '33902' + apim-request-id: f5a838e0-33cd-4b7f-b366-fd6810f664bd + content-length: '34139' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:52 GMT + date: Wed, 03 Mar 2021 19:32:27 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '27' + x-envoy-upstream-service-time: '25' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/4d024c44-683d-4d7b-902e-2c15298c22ed + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/547b77f0-82f9-4e81-8fc9-6cf8225407dd version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_selection_marks_v2.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_selection_marks_v2.yaml index 9d04e5c98348..2c8f33cf1a82 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_selection_marks_v2.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_selection_marks_v2.yaml @@ -1,68 +1,68 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/selection_mark_form.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '173' + - '226' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyze response: body: string: '' headers: - apim-request-id: d664b0e8-f16d-4ede-b772-c8328eb31fdf + apim-request-id: 68110209-adf5-44fa-9d5c-bc07f90b8961 content-length: '0' - date: Fri, 30 Oct 2020 00:06:52 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/d664b0e8-f16d-4ede-b772-c8328eb31fdf + date: Wed, 03 Mar 2021 19:32:27 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/68110209-adf5-44fa-9d5c-bc07f90b8961 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '111' + x-envoy-upstream-service-time: '173' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.0/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/d664b0e8-f16d-4ede-b772-c8328eb31fdf + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/68110209-adf5-44fa-9d5c-bc07f90b8961 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:53Z", "lastUpdatedDateTime": - "2020-10-30T00:06:53Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:32:28Z", "lastUpdatedDateTime": + "2021-03-03T19:32:28Z"}' headers: - apim-request-id: e2b4fe47-6aa2-426d-b3f8-e67c3483429c + apim-request-id: fb9353e7-edc4-4b69-b958-bd5ddd1f5dd0 content-length: '106' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:57 GMT + date: Wed, 03 Mar 2021 19:32:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/d664b0e8-f16d-4ede-b772-c8328eb31fdf + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/68110209-adf5-44fa-9d5c-bc07f90b8961 - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/d664b0e8-f16d-4ede-b772-c8328eb31fdf + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/68110209-adf5-44fa-9d5c-bc07f90b8961 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:53Z", - "lastUpdatedDateTime": "2020-10-30T00:06:59Z", "analyzeResult": {"version": - "2.0.0", "readResults": [{"page": 1, "language": "en", "angle": 0, "width": - 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [3.2791, 0.7167, + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:32:28Z", + "lastUpdatedDateTime": "2021-03-03T19:32:33Z", "analyzeResult": {"version": + "2.0.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, + "unit": "inch", "language": "en", "lines": [{"boundingBox": [3.2791, 0.7167, 5.0584, 0.7167, 5.0584, 0.8109, 3.2791, 0.8109], "text": "STATE OF CALIFORNIA: CONTOSO", "words": [{"boundingBox": [3.2791, 0.7373, 3.5799, 0.7373, 3.5799, 0.8109, 3.2791, 0.8109], "text": "STATE", "confidence": 1}, {"boundingBox": @@ -72,7 +72,7 @@ interactions: [4.4383, 0.7167, 5.0584, 0.7167, 5.0584, 0.8105, 4.4383, 0.8105], "text": "CONTOSO", "confidence": 1}]}, {"boundingBox": [0.64, 0.82, 2.3533, 0.8067, 2.3567, 1.17, 0.6433, 1.19], "text": "contoso", "words": [{"boundingBox": - [0.653, 0.8347, 2.3567, 0.8172, 2.3567, 1.1694, 0.669, 1.1933], "text": "contoso", + [0.6533, 0.8333, 2.3567, 0.8167, 2.3567, 1.17, 0.67, 1.1933], "text": "contoso", "confidence": 0.358}]}, {"boundingBox": [3.4183, 0.8618, 4.9237, 0.8618, 4.9237, 0.9561, 3.4183, 0.9561], "text": "BUREAU OF INSURANCE", "words": [{"boundingBox": [3.4183, 0.8641, 3.9344, 0.8641, 3.9344, 0.9561, 3.4183, 0.9561], "text": @@ -105,12 +105,12 @@ interactions: "confidence": 1}, {"boundingBox": [5.256, 2.2185, 6.0557, 2.2185, 6.0557, 2.3325, 5.256, 2.3325], "text": "PAYMENT", "confidence": 1}]}, {"boundingBox": [3.3867, 3.03, 5.1767, 3.03, 5.1767, 3.2267, 3.3867, 3.23], "text": "CONTOSO - BANK", "words": [{"boundingBox": [3.4022, 3.0323, 4.4713, 3.0307, 4.4645, - 3.23, 3.3957, 3.2288], "text": "CONTOSO", "confidence": 0.959}, {"boundingBox": - [4.5744, 3.0309, 5.167, 3.0326, 5.1599, 3.2249, 4.5675, 3.23], "text": "BANK", - "confidence": 0.959}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, - 3.6446, 0.8106, 3.6446], "text": "Fees owed to this Department may be paid - by the use of a credit card. If you wish to pay your fee(s)", "words": [{"boundingBox": + BANK", "words": [{"boundingBox": [3.4033, 3.0333, 4.47, 3.03, 4.4633, 3.23, + 3.3967, 3.23], "text": "CONTOSO", "confidence": 0.959}, {"boundingBox": [4.5733, + 3.03, 5.1667, 3.0333, 5.16, 3.2233, 4.5667, 3.23], "text": "BANK", "confidence": + 0.959}]}, {"boundingBox": [0.8106, 3.5128, 7.4009, 3.5128, 7.4009, 3.6446, + 0.8106, 3.6446], "text": "Fees owed to this Department may be paid by the + use of a credit card. If you wish to pay your fee(s)", "words": [{"boundingBox": [0.8106, 3.5151, 1.1118, 3.5151, 1.1118, 3.6168, 0.8106, 3.6168], "text": "Fees", "confidence": 1}, {"boundingBox": [1.16, 3.5151, 1.5019, 3.5151, 1.5019, 3.6168, 1.16, 3.6168], "text": "owed", "confidence": 1}, {"boundingBox": [1.55, @@ -208,8 +208,8 @@ interactions: [3.6667, 4.2094, 3.7576, 4.2094, 3.7576, 4.3016, 3.6667, 4.3016], "text": "is", "confidence": 1}, {"boundingBox": [3.8047, 4.2094, 4.1234, 4.2094, 4.1234, 4.327, 3.8047, 4.327], "text": "being", "confidence": 1}, {"boundingBox": - [4.1727, 4.2083, 4.5281, 4.2083, 4.5281, 4.3259, 4.1727, 4.3259], "text": - "made)", "confidence": 1}, {"boundingBox": [4.5718, 4.2083, 5.0014, 4.2083, + [4.1727, 4.2082, 4.5281, 4.2082, 4.5281, 4.3259, 4.1727, 4.3259], "text": + "made)", "confidence": 1}, {"boundingBox": [4.5718, 4.2082, 5.0014, 4.2082, 5.0014, 4.3259, 4.5718, 4.3259], "text": "(Please", "confidence": 1}, {"boundingBox": [5.0484, 4.2102, 5.4746, 4.2102, 5.4746, 4.3016, 5.0484, 4.3016], "text": "Include", "confidence": 1}, {"boundingBox": [5.5225, 4.2094, 5.975, 4.2094, @@ -248,97 +248,100 @@ interactions: 5.5922], "text": "\u2751x AMEX", "words": [{"boundingBox": [2.2989, 5.4295, 2.4591, 5.4295, 2.4591, 5.5922, 2.2989, 5.5922], "text": "\u2751x", "confidence": 1}, {"boundingBox": [2.4996, 5.4443, 2.8924, 5.4443, 2.8924, 5.5453, 2.4996, - 5.5453], "text": "AMEX", "confidence": 1}]}, {"boundingBox": [3.0846, 5.4481, - 4.0327, 5.4481, 4.0327, 5.6108, 3.0846, 5.6108], "text": "\u2751Master Card", - "words": [{"boundingBox": [3.0846, 5.4481, 3.7051, 5.4481, 3.7051, 5.6108, - 3.0846, 5.6108], "text": "\u2751Master", "confidence": 1}, {"boundingBox": - [3.7487, 5.4569, 4.0327, 5.4569, 4.0327, 5.5611, 3.7487, 5.5611], "text": - "Card", "confidence": 1}]}, {"boundingBox": [0.8954, 5.7074, 2.2511, 5.7074, - 2.2511, 5.8125, 0.8954, 5.8125], "text": "Name of Cardholder:", "words": [{"boundingBox": - [0.8954, 5.7101, 1.2609, 5.7101, 1.2609, 5.8118, 0.8954, 5.8118], "text": - "Name", "confidence": 1}, {"boundingBox": [1.3079, 5.7088, 1.4324, 5.7088, - 1.4324, 5.8118, 1.3079, 5.8118], "text": "of", "confidence": 1}, {"boundingBox": - [1.4782, 5.7074, 2.2511, 5.7074, 2.2511, 5.8125, 1.4782, 5.8125], "text": - "Cardholder:", "confidence": 1}]}, {"boundingBox": [2.502, 5.7604, 3.2429, - 5.7604, 3.2429, 5.8923, 2.502, 5.8923], "text": "John Singer", "words": [{"boundingBox": - [2.502, 5.7621, 2.7903, 5.7621, 2.7903, 5.8648, 2.502, 5.8648], "text": "John", - "confidence": 1}, {"boundingBox": [2.8449, 5.7604, 3.2429, 5.7604, 3.2429, - 5.8923, 2.8449, 5.8923], "text": "Singer", "confidence": 1}]}, {"boundingBox": - [5.2305, 5.6912, 8.0337, 5.6912, 8.0337, 5.8091, 5.2305, 5.8091], "text": - "Contact persons phone #, if questions with this", "words": [{"boundingBox": - [5.2305, 5.6912, 5.6874, 5.6912, 5.6874, 5.7856, 5.2305, 5.7856], "text": - "Contact", "confidence": 1}, {"boundingBox": [5.7333, 5.7151, 6.2073, 5.7151, - 6.2073, 5.8091, 5.7333, 5.8091], "text": "persons", "confidence": 1}, {"boundingBox": - [6.2544, 5.6936, 6.6183, 5.6936, 6.6183, 5.8091, 6.2544, 5.8091], "text": - "phone", "confidence": 1}, {"boundingBox": [6.6587, 5.6961, 6.7524, 5.6961, - 6.7524, 5.8042, 6.6587, 5.8042], "text": "#,", "confidence": 1}, {"boundingBox": - [6.8042, 5.6925, 6.8703, 5.6925, 6.8703, 5.7833, 6.8042, 5.7833], "text": - "if", "confidence": 1}, {"boundingBox": [6.9099, 5.6927, 7.4918, 5.6927, 7.4918, - 5.8091, 6.9099, 5.8091], "text": "questions", "confidence": 1}, {"boundingBox": - [7.5307, 5.6927, 7.7719, 5.6927, 7.7719, 5.784, 7.5307, 5.784], "text": "with", - "confidence": 1}, {"boundingBox": [7.8166, 5.6927, 8.0337, 5.6927, 8.0337, - 5.785, 7.8166, 5.785], "text": "this", "confidence": 1}]}, {"boundingBox": - [5.2262, 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 5.2262, 5.9847], "text": - "form. Telephone #: (", "words": [{"boundingBox": [5.2262, 5.8625, 5.5295, - 5.8625, 5.5295, 5.955, 5.2262, 5.955], "text": "form.", "confidence": 1}, - {"boundingBox": [5.5744, 5.8534, 6.2637, 5.8534, 6.2637, 5.982, 5.5744, 5.982], - "text": "Telephone", "confidence": 1}, {"boundingBox": [6.3085, 5.8562, 6.417, - 5.8562, 6.417, 5.9533, 6.3085, 5.9533], "text": "#:", "confidence": 1}, {"boundingBox": - [6.4787, 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 6.4787, 5.9847], "text": - "(", "confidence": 1}]}, {"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, 6.87, - 5.9672, 6.6237, 5.9672], "text": "425", "words": [{"boundingBox": [6.6237, - 5.8542, 6.87, 5.8542, 6.87, 5.9672, 6.6237, 5.9672], "text": "425", "confidence": - 1}]}, {"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, 6.9056, - 5.9847], "text": ")", "words": [{"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, - 6.9409, 5.9847, 6.9056, 5.9847], "text": ")", "confidence": 1}]}, {"boundingBox": - [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, 7.3783, 5.918], "text": "-", - "words": [{"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, - 7.3783, 5.918], "text": "-", "confidence": 1}]}, {"boundingBox": [7.1288, + 5.5453], "text": "AMEX", "confidence": 1}]}, {"boundingBox": [2.3633, 5.4633, + 2.46, 5.4567, 2.4633, 5.55, 2.3667, 5.5567], "text": "X", "words": [{"boundingBox": + [2.3767, 5.4633, 2.4367, 5.4567, 2.4433, 5.55, 2.3833, 5.5567], "text": "X", + "confidence": 0.884}]}, {"boundingBox": [3.0846, 5.4481, 4.0327, 5.4481, 4.0327, + 5.6108, 3.0846, 5.6108], "text": "\u2751Master Card", "words": [{"boundingBox": + [3.0846, 5.4481, 3.7051, 5.4481, 3.7051, 5.6108, 3.0846, 5.6108], "text": + "\u2751Master", "confidence": 1}, {"boundingBox": [3.7487, 5.4569, 4.0327, + 5.4569, 4.0327, 5.5611, 3.7487, 5.5611], "text": "Card", "confidence": 1}]}, + {"boundingBox": [0.8954, 5.7074, 2.2511, 5.7074, 2.2511, 5.8125, 0.8954, 5.8125], + "text": "Name of Cardholder:", "words": [{"boundingBox": [0.8954, 5.7101, + 1.2609, 5.7101, 1.2609, 5.8118, 0.8954, 5.8118], "text": "Name", "confidence": + 1}, {"boundingBox": [1.3079, 5.7088, 1.4324, 5.7088, 1.4324, 5.8118, 1.3079, + 5.8118], "text": "of", "confidence": 1}, {"boundingBox": [1.4782, 5.7074, + 2.2511, 5.7074, 2.2511, 5.8125, 1.4782, 5.8125], "text": "Cardholder:", "confidence": + 1}]}, {"boundingBox": [2.502, 5.7604, 3.2429, 5.7604, 3.2429, 5.8923, 2.502, + 5.8923], "text": "John Singer", "words": [{"boundingBox": [2.502, 5.7621, + 2.7903, 5.7621, 2.7903, 5.8648, 2.502, 5.8648], "text": "John", "confidence": + 1}, {"boundingBox": [2.8449, 5.7604, 3.2429, 5.7604, 3.2429, 5.8923, 2.8449, + 5.8923], "text": "Singer", "confidence": 1}]}, {"boundingBox": [5.2305, 5.6912, + 8.0337, 5.6912, 8.0337, 5.8091, 5.2305, 5.8091], "text": "Contact persons + phone #, if questions with this", "words": [{"boundingBox": [5.2305, 5.6912, + 5.6874, 5.6912, 5.6874, 5.7856, 5.2305, 5.7856], "text": "Contact", "confidence": + 1}, {"boundingBox": [5.7333, 5.7151, 6.2073, 5.7151, 6.2073, 5.8091, 5.7333, + 5.8091], "text": "persons", "confidence": 1}, {"boundingBox": [6.2544, 5.6936, + 6.6183, 5.6936, 6.6183, 5.8091, 6.2544, 5.8091], "text": "phone", "confidence": + 1}, {"boundingBox": [6.6587, 5.6961, 6.7524, 5.6961, 6.7524, 5.8042, 6.6587, + 5.8042], "text": "#,", "confidence": 1}, {"boundingBox": [6.8042, 5.6925, + 6.8703, 5.6925, 6.8703, 5.7833, 6.8042, 5.7833], "text": "if", "confidence": + 1}, {"boundingBox": [6.9099, 5.6927, 7.4918, 5.6927, 7.4918, 5.8091, 6.9099, + 5.8091], "text": "questions", "confidence": 1}, {"boundingBox": [7.5307, 5.6927, + 7.7719, 5.6927, 7.7719, 5.784, 7.5307, 5.784], "text": "with", "confidence": + 1}, {"boundingBox": [7.8166, 5.6927, 8.0337, 5.6927, 8.0337, 5.785, 7.8166, + 5.785], "text": "this", "confidence": 1}]}, {"boundingBox": [5.2262, 5.8416, + 6.5139, 5.8416, 6.5139, 5.9847, 5.2262, 5.9847], "text": "form. Telephone + #: (", "words": [{"boundingBox": [5.2262, 5.8625, 5.5295, 5.8625, 5.5295, + 5.955, 5.2262, 5.955], "text": "form.", "confidence": 1}, {"boundingBox": + [5.5744, 5.8534, 6.2637, 5.8534, 6.2637, 5.982, 5.5744, 5.982], "text": "Telephone", + "confidence": 1}, {"boundingBox": [6.3085, 5.8562, 6.417, 5.8562, 6.417, 5.9533, + 6.3085, 5.9533], "text": "#:", "confidence": 1}, {"boundingBox": [6.4787, + 5.8416, 6.5139, 5.8416, 6.5139, 5.9847, 6.4787, 5.9847], "text": "(", "confidence": + 1}]}, {"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, 6.87, 5.9672, 6.6237, + 5.9672], "text": "425", "words": [{"boundingBox": [6.6237, 5.8542, 6.87, 5.8542, + 6.87, 5.9672, 6.6237, 5.9672], "text": "425", "confidence": 1}]}, {"boundingBox": + [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, 6.9056, 5.9847], "text": + ")", "words": [{"boundingBox": [6.9056, 5.8416, 6.9409, 5.8416, 6.9409, 5.9847, + 6.9056, 5.9847], "text": ")", "confidence": 1}]}, {"boundingBox": [7.1288, 5.8181, 7.809, 5.8181, 7.809, 5.9672, 7.1288, 5.9672], "text": "779 3479", "words": [{"boundingBox": [7.1288, 5.8542, 7.3693, 5.8542, 7.3693, 5.9672, 7.1288, 5.9672], "text": "779", "confidence": 1}, {"boundingBox": [7.4829, 5.8181, 7.809, 5.8181, 7.809, 5.9313, 7.4829, 5.9313], "text": "3479", "confidence": - 1}]}, {"boundingBox": [0.8964, 6.0366, 1.8846, 6.0366, 1.8846, 6.1393, 0.8964, - 6.1393], "text": "Email Address:", "words": [{"boundingBox": [0.8964, 6.0366, - 1.2473, 6.0366, 1.2473, 6.1393, 0.8964, 6.1393], "text": "Email", "confidence": - 1}, {"boundingBox": [1.298, 6.0376, 1.8846, 6.0376, 1.8846, 6.1393, 1.298, - 6.1393], "text": "Address:", "confidence": 1}]}, {"boundingBox": [1.9261, - 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, 1.9261, 6.1753], "text": "johnsinger@hotmail.com", - "words": [{"boundingBox": [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, - 1.9261, 6.1753], "text": "johnsinger@hotmail.com", "confidence": 1}]}, {"boundingBox": - [0.8954, 6.2792, 1.9961, 6.2792, 1.9961, 6.4101, 0.8954, 6.4101], "text": - "Mailing Address:", "words": [{"boundingBox": [0.8954, 6.2792, 1.357, 6.2792, - 1.357, 6.4101, 0.8954, 6.4101], "text": "Mailing", "confidence": 1}, {"boundingBox": - [1.4062, 6.2801, 1.9961, 6.2801, 1.9961, 6.3819, 1.4062, 6.3819], "text": - "Address:", "confidence": 1}]}, {"boundingBox": [2.1027, 6.3142, 3.0803, 6.3142, - 3.0803, 6.4186, 2.1027, 6.4186], "text": "472 SE 74th ST", "words": [{"boundingBox": - [2.1027, 6.3155, 2.3256, 6.3155, 2.3256, 6.4171, 2.1027, 6.4171], "text": - "472", "confidence": 1}, {"boundingBox": [2.3779, 6.3142, 2.5497, 6.3142, - 2.5497, 6.4186, 2.3779, 6.4186], "text": "SE", "confidence": 1}, {"boundingBox": - [2.6024, 6.3159, 2.8571, 6.3159, 2.8571, 6.4179, 2.6024, 6.4179], "text": - "74th", "confidence": 1}, {"boundingBox": [2.9115, 6.3142, 3.0803, 6.3142, - 3.0803, 6.4186, 2.9115, 6.4186], "text": "ST", "confidence": 1}]}, {"boundingBox": - [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], "text": "City:", - "words": [{"boundingBox": [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, - 0.892, 6.6721], "text": "City:", "confidence": 1}]}, {"boundingBox": [1.3947, - 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", "words": - [{"boundingBox": [1.3947, 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], - "text": "Lakewood", "confidence": 1}]}, {"boundingBox": [4.2363, 6.5399, 4.6048, - 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", "words": [{"boundingBox": - [4.2363, 6.5399, 4.6048, 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", - "confidence": 1}]}, {"boundingBox": [4.7452, 6.5506, 4.9679, 6.5506, 4.9679, - 6.6518, 4.7452, 6.6518], "text": "WA", "words": [{"boundingBox": [4.7452, - 6.5506, 4.9679, 6.5506, 4.9679, 6.6518, 4.7452, 6.6518], "text": "WA", "confidence": - 1}]}, {"boundingBox": [6.4885, 6.5399, 7.1134, 6.5399, 7.1134, 6.6712, 6.4885, - 6.6712], "text": "Zip Code:", "words": [{"boundingBox": [6.4885, 6.5416, 6.6893, - 6.5416, 6.6893, 6.6712, 6.4885, 6.6712], "text": "Zip", "confidence": 1}, - {"boundingBox": [6.7385, 6.5399, 7.1134, 6.5399, 7.1134, 6.645, 6.7385, 6.645], - "text": "Code:", "confidence": 1}]}, {"boundingBox": [7.2536, 6.5442, 7.6275, - 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": "98712", "words": [{"boundingBox": - [7.2536, 6.5442, 7.6275, 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": - "98712", "confidence": 1}]}, {"boundingBox": [0.8033, 6.9573, 7.5868, 6.9573, - 7.5868, 7.1067, 0.8033, 7.1067], "text": "I authorize Contoso Department of - Professional and Financial Regulation, Bureau of Insurance", "words": [{"boundingBox": + 1}]}, {"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, 7.4157, 5.918, 7.3783, + 5.918], "text": "-", "words": [{"boundingBox": [7.3783, 5.9042, 7.4157, 5.9042, + 7.4157, 5.918, 7.3783, 5.918], "text": "-", "confidence": 1}]}, {"boundingBox": + [0.8964, 6.0366, 1.8846, 6.0366, 1.8846, 6.1393, 0.8964, 6.1393], "text": + "Email Address:", "words": [{"boundingBox": [0.8964, 6.0366, 1.2473, 6.0366, + 1.2473, 6.1393, 0.8964, 6.1393], "text": "Email", "confidence": 1}, {"boundingBox": + [1.298, 6.0376, 1.8846, 6.0376, 1.8846, 6.1393, 1.298, 6.1393], "text": "Address:", + "confidence": 1}]}, {"boundingBox": [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, + 6.1753, 1.9261, 6.1753], "text": "johnsinger@hotmail.com", "words": [{"boundingBox": + [1.9261, 6.0432, 3.4556, 6.0432, 3.4556, 6.1753, 1.9261, 6.1753], "text": + "johnsinger@hotmail.com", "confidence": 1}]}, {"boundingBox": [0.8954, 6.2792, + 1.9961, 6.2792, 1.9961, 6.4101, 0.8954, 6.4101], "text": "Mailing Address:", + "words": [{"boundingBox": [0.8954, 6.2792, 1.357, 6.2792, 1.357, 6.4101, 0.8954, + 6.4101], "text": "Mailing", "confidence": 1}, {"boundingBox": [1.4062, 6.2801, + 1.9961, 6.2801, 1.9961, 6.3819, 1.4062, 6.3819], "text": "Address:", "confidence": + 1}]}, {"boundingBox": [2.1027, 6.3142, 3.0803, 6.3142, 3.0803, 6.4186, 2.1027, + 6.4186], "text": "472 SE 74th ST", "words": [{"boundingBox": [2.1027, 6.3155, + 2.3256, 6.3155, 2.3256, 6.4171, 2.1027, 6.4171], "text": "472", "confidence": + 1}, {"boundingBox": [2.3779, 6.3142, 2.5497, 6.3142, 2.5497, 6.4186, 2.3779, + 6.4186], "text": "SE", "confidence": 1}, {"boundingBox": [2.6024, 6.3159, + 2.8571, 6.3159, 2.8571, 6.4179, 2.6024, 6.4179], "text": "74th", "confidence": + 1}, {"boundingBox": [2.9115, 6.3142, 3.0803, 6.3142, 3.0803, 6.4186, 2.9115, + 6.4186], "text": "ST", "confidence": 1}]}, {"boundingBox": [0.892, 6.5399, + 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], "text": "City:", "words": + [{"boundingBox": [0.892, 6.5399, 1.1815, 6.5399, 1.1815, 6.6721, 0.892, 6.6721], + "text": "City:", "confidence": 1}]}, {"boundingBox": [1.3947, 6.5747, 2.01, + 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", "words": [{"boundingBox": + [1.3947, 6.5747, 2.01, 6.5747, 2.01, 6.6774, 1.3947, 6.6774], "text": "Lakewood", + "confidence": 1}]}, {"boundingBox": [4.2363, 6.5399, 4.6048, 6.5399, 4.6048, + 6.645, 4.2363, 6.645], "text": "State:", "words": [{"boundingBox": [4.2363, + 6.5399, 4.6048, 6.5399, 4.6048, 6.645, 4.2363, 6.645], "text": "State:", "confidence": + 1}]}, {"boundingBox": [4.7452, 6.5506, 4.9679, 6.5506, 4.9679, 6.6518, 4.7452, + 6.6518], "text": "WA", "words": [{"boundingBox": [4.7452, 6.5506, 4.9679, + 6.5506, 4.9679, 6.6518, 4.7452, 6.6518], "text": "WA", "confidence": 1}]}, + {"boundingBox": [6.4885, 6.5399, 7.1134, 6.5399, 7.1134, 6.6712, 6.4885, 6.6712], + "text": "Zip Code:", "words": [{"boundingBox": [6.4885, 6.5416, 6.6893, 6.5416, + 6.6893, 6.6712, 6.4885, 6.6712], "text": "Zip", "confidence": 1}, {"boundingBox": + [6.7385, 6.5399, 7.1134, 6.5399, 7.1134, 6.645, 6.7385, 6.645], "text": "Code:", + "confidence": 1}]}, {"boundingBox": [7.2536, 6.5442, 7.6275, 6.5442, 7.6275, + 6.6473, 7.2536, 6.6473], "text": "98712", "words": [{"boundingBox": [7.2536, + 6.5442, 7.6275, 6.5442, 7.6275, 6.6473, 7.2536, 6.6473], "text": "98712", + "confidence": 1}]}, {"boundingBox": [0.8033, 6.9573, 7.5868, 6.9573, 7.5868, + 7.1067, 0.8033, 7.1067], "text": "I authorize Contoso Department of Professional + and Financial Regulation, Bureau of Insurance", "words": [{"boundingBox": [0.8033, 6.9598, 0.8617, 6.9598, 0.8617, 7.0725, 0.8033, 7.0725], "text": "I", "confidence": 1}, {"boundingBox": [0.9107, 6.9573, 1.5801, 6.9573, 1.5801, 7.0747, 0.9107, 7.0747], "text": "authorize", "confidence": 1}, {"boundingBox": @@ -390,9 +393,12 @@ interactions: [6.0082, 7.9046, 6.1702, 7.9046, 6.1702, 8.012, 6.0082, 8.012], "text": "of:", "confidence": 1}, {"boundingBox": [6.2258, 7.8956, 7.6702, 7.8956, 7.6702, 8.0289, 6.2258, 8.0289], "text": "$__________________", "confidence": 1}]}, - {"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, 7.9962, 6.5828, 7.9962], - "text": "263.00", "words": [{"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, - 6.9948, 7.9962, 6.5828, 7.9962], "text": "263.00", "confidence": 1}]}, {"boundingBox": + {"boundingBox": [6.5633, 7.88, 7.0033, 7.8733, 7.0033, 8.0, 6.5667, 8.0067], + "text": "263.00", "words": [{"boundingBox": [6.57, 7.88, 7.0, 7.8733, 7.0033, + 8.0033, 6.57, 8.01], "text": "263.00", "confidence": 0.959}]}, {"boundingBox": + [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, 7.9962, 6.5828, 7.9962], "text": + "263.00", "words": [{"boundingBox": [6.5828, 7.8896, 6.9948, 7.8896, 6.9948, + 7.9962, 6.5828, 7.9962], "text": "263.00", "confidence": 1}]}, {"boundingBox": [0.8, 8.0223, 3.1333, 8.0223, 3.1333, 8.0307, 0.8, 8.0307], "text": "____________________________", "words": [{"boundingBox": [0.8, 8.0223, 3.1333, 8.0223, 3.1333, 8.0307, 0.8, 8.0307], "text": "____________________________", "confidence": 1}]}, {"boundingBox": @@ -408,47 +414,50 @@ interactions: {"boundingBox": [2.2444, 8.0771, 2.6175, 8.0771, 2.6175, 8.1896, 2.2444, 8.1896], "text": "clearly)", "confidence": 1}]}, {"boundingBox": [1.8933, 8.2467, 3.2367, 8.27, 3.2333, 8.54, 1.89, 8.5333], "text": "John Singer", "words": [{"boundingBox": - [1.96, 8.2516, 2.4931, 8.2729, 2.4885, 8.54, 1.9584, 8.54], "text": "John", - "confidence": 0.57}, {"boundingBox": [2.5692, 8.2763, 3.2257, 8.3087, 3.2171, - 8.5249, 2.5642, 8.54], "text": "Singer", "confidence": 0.868}]}, {"boundingBox": - [0.8059, 8.3968, 6.1697, 8.3968, 6.1697, 8.5421, 0.8059, 8.5421], "text": - "Signature: ___________________________________________ Date: ______", "words": - [{"boundingBox": [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, - 8.5421], "text": "Signature:", "confidence": 1}, {"boundingBox": [1.5893, - 8.5205, 5.2429, 8.5205, 5.2429, 8.5281, 1.5893, 8.5281], "text": "___________________________________________", + [1.96, 8.25, 2.4933, 8.2733, 2.49, 8.54, 1.96, 8.54], "text": "John", "confidence": + 0.57}, {"boundingBox": [2.57, 8.2767, 3.2267, 8.31, 3.2167, 8.5233, 2.5633, + 8.54], "text": "Singer", "confidence": 0.868}]}, {"boundingBox": [0.8059, + 8.3968, 6.1697, 8.3968, 6.1697, 8.5421, 0.8059, 8.5421], "text": "Signature: + ___________________________________________ Date: ______", "words": [{"boundingBox": + [0.8059, 8.3968, 1.5333, 8.3968, 1.5333, 8.5421, 0.8059, 8.5421], "text": + "Signature:", "confidence": 1}, {"boundingBox": [1.5893, 8.5205, 5.2429, 8.5205, + 5.2429, 8.5281, 1.5893, 8.5281], "text": "___________________________________________", "confidence": 1}, {"boundingBox": [5.2557, 8.3997, 5.6041, 8.3997, 5.6041, 8.5111, 5.2557, 8.5111], "text": "Date:", "confidence": 1}, {"boundingBox": [5.66, 8.5205, 6.1697, 8.5205, 6.1697, 8.5281, 5.66, 8.5281], "text": "______", - "confidence": 1}]}, {"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, - 8.4835, 5.8155, 8.4835], "text": "08", "words": [{"boundingBox": [5.8155, - 8.3705, 5.9721, 8.3705, 5.9721, 8.4835, 5.8155, 8.4835], "text": "08", "confidence": - 1}]}, {"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, 6.1674, - 8.5119], "text": "/", "words": [{"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, - 6.2149, 8.5119, 6.1674, 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": - [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, 8.4716], "text": - "23", "words": [{"boundingBox": [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, - 6.5359, 8.4716], "text": "23", "confidence": 1}]}, {"boundingBox": [6.7199, - 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": "/", "words": - [{"boundingBox": [6.7199, 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, - 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": [7.0358, 8.3585, - 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, 8.4715], "text": "2018", "words": - [{"boundingBox": [7.0358, 8.3585, 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, - 8.4715], "text": "2018", "confidence": 1}]}, {"boundingBox": [6.2125, 8.5205, - 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, 8.5281], "text": "______", "words": - [{"boundingBox": [6.2125, 8.5205, 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, - 8.5281], "text": "______", "confidence": 1}]}, {"boundingBox": [6.7649, 8.5205, - 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, 8.5281], "text": "________", "words": - [{"boundingBox": [6.7649, 8.5205, 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, - 8.5281], "text": "________", "confidence": 1}]}, {"boundingBox": [1.7087, - 8.6229, 4.1257, 8.6229, 4.1257, 8.7284, 1.7087, 8.7284], "text": "(must be - signed by authorized person to validate)", "words": [{"boundingBox": [1.7087, - 8.6229, 1.9762, 8.6229, 1.9762, 8.727, 1.7087, 8.727], "text": "(must", "confidence": - 1}, {"boundingBox": [2.0158, 8.6246, 2.1283, 8.6246, 2.1283, 8.7057, 2.0158, - 8.7057], "text": "be", "confidence": 1}, {"boundingBox": [2.168, 8.6246, 2.485, - 8.6246, 2.485, 8.7284, 2.168, 8.7284], "text": "signed", "confidence": 1}, - {"boundingBox": [2.5286, 8.6246, 2.6389, 8.6246, 2.6389, 8.7278, 2.5286, 8.7278], - "text": "by", "confidence": 1}, {"boundingBox": [2.6737, 8.6246, 3.1831, 8.6246, - 3.1831, 8.7057, 2.6737, 8.7057], "text": "authorized", "confidence": 1}, {"boundingBox": + "confidence": 1}]}, {"boundingBox": [5.8033, 8.37, 5.9867, 8.37, 5.9833, 8.49, + 5.8, 8.4933], "text": "08", "words": [{"boundingBox": [5.81, 8.37, 5.9767, + 8.37, 5.9767, 8.4933, 5.8133, 8.4933], "text": "08", "confidence": 0.949}]}, + {"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, 8.4835, 5.8155, 8.4835], + "text": "08", "words": [{"boundingBox": [5.8155, 8.3705, 5.9721, 8.3705, 5.9721, + 8.4835, 5.8155, 8.4835], "text": "08", "confidence": 1}]}, {"boundingBox": + [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, 6.1674, 8.5119], "text": + "/", "words": [{"boundingBox": [6.1674, 8.3968, 6.2149, 8.3968, 6.2149, 8.5119, + 6.1674, 8.5119], "text": "/", "confidence": 1}]}, {"boundingBox": [6.5359, + 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, 8.4716], "text": "23", "words": + [{"boundingBox": [6.5359, 8.3585, 6.6943, 8.3585, 6.6943, 8.4716, 6.5359, + 8.4716], "text": "23", "confidence": 1}]}, {"boundingBox": [6.7199, 8.3968, + 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": "/", "words": [{"boundingBox": + [6.7199, 8.3968, 6.7673, 8.3968, 6.7673, 8.5119, 6.7199, 8.5119], "text": + "/", "confidence": 1}]}, {"boundingBox": [7.0358, 8.3585, 7.3644, 8.3585, + 7.3644, 8.4715, 7.0358, 8.4715], "text": "2018", "words": [{"boundingBox": + [7.0358, 8.3585, 7.3644, 8.3585, 7.3644, 8.4715, 7.0358, 8.4715], "text": + "2018", "confidence": 1}]}, {"boundingBox": [6.2125, 8.5205, 6.7221, 8.5205, + 6.7221, 8.5281, 6.2125, 8.5281], "text": "______", "words": [{"boundingBox": + [6.2125, 8.5205, 6.7221, 8.5205, 6.7221, 8.5281, 6.2125, 8.5281], "text": + "______", "confidence": 1}]}, {"boundingBox": [6.7649, 8.5205, 7.4445, 8.5205, + 7.4445, 8.5281, 6.7649, 8.5281], "text": "________", "words": [{"boundingBox": + [6.7649, 8.5205, 7.4445, 8.5205, 7.4445, 8.5281, 6.7649, 8.5281], "text": + "________", "confidence": 1}]}, {"boundingBox": [1.7087, 8.6229, 4.1257, 8.6229, + 4.1257, 8.7284, 1.7087, 8.7284], "text": "(must be signed by authorized person + to validate)", "words": [{"boundingBox": [1.7087, 8.6229, 1.9762, 8.6229, + 1.9762, 8.727, 1.7087, 8.727], "text": "(must", "confidence": 1}, {"boundingBox": + [2.0158, 8.6246, 2.1283, 8.6246, 2.1283, 8.7057, 2.0158, 8.7057], "text": + "be", "confidence": 1}, {"boundingBox": [2.168, 8.6246, 2.485, 8.6246, 2.485, + 8.7284, 2.168, 8.7284], "text": "signed", "confidence": 1}, {"boundingBox": + [2.5286, 8.6246, 2.6389, 8.6246, 2.6389, 8.7278, 2.5286, 8.7278], "text": + "by", "confidence": 1}, {"boundingBox": [2.6737, 8.6246, 3.1831, 8.6246, 3.1831, + 8.7057, 2.6737, 8.7057], "text": "authorized", "confidence": 1}, {"boundingBox": [3.2268, 8.6445, 3.5523, 8.6445, 3.5523, 8.727, 3.2268, 8.727], "text": "person", "confidence": 1}, {"boundingBox": [3.592, 8.63, 3.6791, 8.63, 3.6791, 8.7056, 3.592, 8.7056], "text": "to", "confidence": 1}, {"boundingBox": [3.7147, 8.6229, @@ -508,44 +517,44 @@ interactions: "pageResults": [{"page": 1, "tables": [{"rows": 4, "columns": 4, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Name of Cardholder: John Singer", "boundingBox": [0.8104, 5.6546, 4.1554, 5.6546, 4.1554, 5.9962, 0.8104, 5.9962], - "elements": ["#/readResults/0/lines/17/words/0", "#/readResults/0/lines/17/words/1", - "#/readResults/0/lines/17/words/2", "#/readResults/0/lines/18/words/0", "#/readResults/0/lines/18/words/1"]}, + "elements": ["#/readResults/0/lines/18/words/0", "#/readResults/0/lines/18/words/1", + "#/readResults/0/lines/18/words/2", "#/readResults/0/lines/19/words/0", "#/readResults/0/lines/19/words/1"]}, {"rowIndex": 0, "columnIndex": 2, "columnSpan": 2, "text": "Contact persons - phone #, if questions with this form. Telephone #: ( ) - 425 779 3479", "boundingBox": + phone #, if questions with this form. Telephone #: ( 425 ) 779 3479 -", "boundingBox": [5.1496, 5.6546, 8.2604, 5.6546, 8.2604, 5.9962, 5.1496, 5.9962], "elements": - ["#/readResults/0/lines/19/words/0", "#/readResults/0/lines/19/words/1", "#/readResults/0/lines/19/words/2", - "#/readResults/0/lines/19/words/3", "#/readResults/0/lines/19/words/4", "#/readResults/0/lines/19/words/5", - "#/readResults/0/lines/19/words/6", "#/readResults/0/lines/19/words/7", "#/readResults/0/lines/20/words/0", - "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2", "#/readResults/0/lines/20/words/3", - "#/readResults/0/lines/22/words/0", "#/readResults/0/lines/23/words/0", "#/readResults/0/lines/21/words/0", - "#/readResults/0/lines/24/words/0", "#/readResults/0/lines/24/words/1"]}, + ["#/readResults/0/lines/20/words/0", "#/readResults/0/lines/20/words/1", "#/readResults/0/lines/20/words/2", + "#/readResults/0/lines/20/words/3", "#/readResults/0/lines/20/words/4", "#/readResults/0/lines/20/words/5", + "#/readResults/0/lines/20/words/6", "#/readResults/0/lines/20/words/7", "#/readResults/0/lines/21/words/0", + "#/readResults/0/lines/21/words/1", "#/readResults/0/lines/21/words/2", "#/readResults/0/lines/21/words/3", + "#/readResults/0/lines/22/words/0", "#/readResults/0/lines/23/words/0", "#/readResults/0/lines/24/words/0", + "#/readResults/0/lines/24/words/1", "#/readResults/0/lines/25/words/0"]}, {"rowIndex": 1, "columnIndex": 0, "text": "Email Address: johnsinger@hotmail.com", "boundingBox": [0.8104, 5.9962, 4.1554, 5.9962, 4.1554, 6.2262, 0.8104, 6.2262], - "elements": ["#/readResults/0/lines/25/words/0", "#/readResults/0/lines/25/words/1", - "#/readResults/0/lines/26/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "text": + "elements": ["#/readResults/0/lines/26/words/0", "#/readResults/0/lines/26/words/1", + "#/readResults/0/lines/27/words/0"]}, {"rowIndex": 2, "columnIndex": 0, "text": "Mailing Address: 472 SE 74th ST", "boundingBox": [0.8104, 6.2262, 4.1554, - 6.2262, 4.1554, 6.5021, 0.8104, 6.5021], "elements": ["#/readResults/0/lines/27/words/0", - "#/readResults/0/lines/27/words/1", "#/readResults/0/lines/28/words/0", "#/readResults/0/lines/28/words/1", - "#/readResults/0/lines/28/words/2", "#/readResults/0/lines/28/words/3"]}, + 6.2262, 4.1554, 6.5021, 0.8104, 6.5021], "elements": ["#/readResults/0/lines/28/words/0", + "#/readResults/0/lines/28/words/1", "#/readResults/0/lines/29/words/0", "#/readResults/0/lines/29/words/1", + "#/readResults/0/lines/29/words/2", "#/readResults/0/lines/29/words/3"]}, {"rowIndex": 3, "columnIndex": 0, "text": "City: Lakewood", "boundingBox": [0.8104, 6.5021, 4.1554, 6.5021, 4.1554, 6.7146, 0.8104, 6.7146], "elements": - ["#/readResults/0/lines/29/words/0", "#/readResults/0/lines/30/words/0"]}, + ["#/readResults/0/lines/30/words/0", "#/readResults/0/lines/31/words/0"]}, {"rowIndex": 3, "columnIndex": 1, "text": "State: WA", "boundingBox": [4.1554, - 6.5021, 5.1496, 6.5021, 5.1496, 6.7146, 4.1554, 6.7146], "elements": ["#/readResults/0/lines/31/words/0", - "#/readResults/0/lines/32/words/0"]}, {"rowIndex": 3, "columnIndex": 3, "text": + 6.5021, 5.1496, 6.5021, 5.1496, 6.7146, 4.1554, 6.7146], "elements": ["#/readResults/0/lines/32/words/0", + "#/readResults/0/lines/33/words/0"]}, {"rowIndex": 3, "columnIndex": 3, "text": "Zip Code: 98712", "boundingBox": [6.4104, 6.5021, 8.2604, 6.5021, 8.2604, - 6.7146, 6.4104, 6.7146], "elements": ["#/readResults/0/lines/33/words/0", - "#/readResults/0/lines/33/words/1", "#/readResults/0/lines/34/words/0"]}]}]}]}}' + 6.7146, 6.4104, 6.7146], "elements": ["#/readResults/0/lines/34/words/0", + "#/readResults/0/lines/34/words/1", "#/readResults/0/lines/35/words/0"]}]}]}]}}' headers: - apim-request-id: 5255ddda-d6ae-48eb-bc5a-010d3644e86c - content-length: '33933' + apim-request-id: 78ddb37b-76cc-4465-8723-d88b0708fc38 + content-length: '34566' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:03 GMT + date: Wed, 03 Mar 2021 19:32:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '41' + x-envoy-upstream-service-time: '21' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/d664b0e8-f16d-4ede-b772-c8328eb31fdf + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.0/layout/analyzeResults/68110209-adf5-44fa-9d5c-bc07f90b8961 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_specify_pages.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_specify_pages.yaml index 08321a6d057c..5ca145ab227f 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_specify_pages.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_specify_pages.yaml @@ -1,66 +1,43 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1&readingOrder=basic response: body: string: '' headers: - apim-request-id: 3281579e-6167-4911-a70e-aeae1320c514 + apim-request-id: a94ea362-d975-4e29-ba30-2cbe472cc034 content-length: '0' - date: Fri, 30 Oct 2020 00:06:54 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/3281579e-6167-4911-a70e-aeae1320c514 + date: Wed, 03 Mar 2021 19:32:37 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/a94ea362-d975-4e29-ba30-2cbe472cc034 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '61' + x-envoy-upstream-service-time: '158' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?Pages=1 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/3281579e-6167-4911-a70e-aeae1320c514 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/a94ea362-d975-4e29-ba30-2cbe472cc034 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:06:54Z", "lastUpdatedDateTime": - "2020-10-30T00:06:54Z"}' - headers: - apim-request-id: 69d8bf8d-8bf3-4902-afa7-7260374be8e9 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:06:58 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/3281579e-6167-4911-a70e-aeae1320c514 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/3281579e-6167-4911-a70e-aeae1320c514 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:54Z", - "lastUpdatedDateTime": "2020-10-30T00:06:59Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:32:38Z", + "lastUpdatedDateTime": "2021-03-03T19:32:43Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -280,79 +257,56 @@ interactions: 4.4126, 7.5062, 4.4126, 7.5062, 4.6246, 5.3322, 4.6184], "elements": ["#/readResults/0/lines/33/words/0"]}], "boundingBox": [0.9957, 2.9322, 7.4976, 2.9326, 7.4974, 4.6222, 0.9944, 4.6216]}]}]}}' headers: - apim-request-id: f8810d06-c325-4929-b9cc-f199cc07a6e6 - content-length: '15990' + apim-request-id: 22455d06-db36-48b2-9d01-84ea5cdde2e5 + content-length: '16076' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:04 GMT + date: Wed, 03 Mar 2021 19:32:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '53' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/3281579e-6167-4911-a70e-aeae1320c514 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/a94ea362-d975-4e29-ba30-2cbe472cc034 - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1,3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1,3&readingOrder=basic response: body: string: '' headers: - apim-request-id: 5a1e7b88-2483-427a-8310-0d42b92e241d + apim-request-id: 7ee80596-2856-4cc4-bd2b-f7baba4d5ffb content-length: '0' - date: Fri, 30 Oct 2020 00:07:04 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/5a1e7b88-2483-427a-8310-0d42b92e241d + date: Wed, 03 Mar 2021 19:32:44 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/7ee80596-2856-4cc4-bd2b-f7baba4d5ffb strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '55' + x-envoy-upstream-service-time: '680' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?Pages=1,3 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/5a1e7b88-2483-427a-8310-0d42b92e241d - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:07:04Z", "lastUpdatedDateTime": - "2020-10-30T00:07:09Z"}' - headers: - apim-request-id: c76d491f-afe2-4907-b18c-95f2067b623e - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:09 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/5a1e7b88-2483-427a-8310-0d42b92e241d + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1,3&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/5a1e7b88-2483-427a-8310-0d42b92e241d + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/7ee80596-2856-4cc4-bd2b-f7baba4d5ffb response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:07:04Z", - "lastUpdatedDateTime": "2020-10-30T00:07:10Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:32:44Z", + "lastUpdatedDateTime": "2021-03-03T19:32:49Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -790,79 +744,56 @@ interactions: 4.4126, 7.5062, 4.4126, 7.5062, 4.6246, 5.3322, 4.6184], "elements": ["#/readResults/1/lines/33/words/0"]}], "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: - apim-request-id: b6f00047-08e9-4a10-9cf7-35446df1d611 - content-length: '31877' + apim-request-id: 1750a120-7688-4fed-8763-1fb78dd19de5 + content-length: '32026' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:14 GMT + date: Wed, 03 Mar 2021 19:32:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '35' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/5a1e7b88-2483-427a-8310-0d42b92e241d + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/7ee80596-2856-4cc4-bd2b-f7baba4d5ffb - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2&readingOrder=basic response: body: string: '' headers: - apim-request-id: f5fb2640-0240-4e35-aa18-27a605fe8bdb + apim-request-id: 3109b373-1f5c-43b8-af47-d09539534f34 content-length: '0' - date: Fri, 30 Oct 2020 00:07:15 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f5fb2640-0240-4e35-aa18-27a605fe8bdb + date: Wed, 03 Mar 2021 19:32:49 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/3109b373-1f5c-43b8-af47-d09539534f34 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '57' + x-envoy-upstream-service-time: '131' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f5fb2640-0240-4e35-aa18-27a605fe8bdb + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/3109b373-1f5c-43b8-af47-d09539534f34 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:07:15Z", "lastUpdatedDateTime": - "2020-10-30T00:07:19Z"}' - headers: - apim-request-id: 9e015000-a070-49d4-8382-8f8485cf4061 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:20 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f5fb2640-0240-4e35-aa18-27a605fe8bdb -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f5fb2640-0240-4e35-aa18-27a605fe8bdb - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:07:15Z", - "lastUpdatedDateTime": "2020-10-30T00:07:21Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:32:50Z", + "lastUpdatedDateTime": "2021-03-03T19:32:54Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -1084,79 +1015,56 @@ interactions: "boundingBox": [0.9957, 2.9322, 7.4976, 2.9326, 7.4974, 4.6222, 0.9944, 4.6216]}]}, {"page": 2, "tables": []}]}}' headers: - apim-request-id: d194acfc-6581-4c8b-90a3-371c08c0494a - content-length: '16083' + apim-request-id: 2aec3aa1-1677-4136-a1fc-d2b787ecf728 + content-length: '16169' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:25 GMT + date: Wed, 03 Mar 2021 19:32:55 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '32' + x-envoy-upstream-service-time: '66' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/f5fb2640-0240-4e35-aa18-27a605fe8bdb + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/3109b373-1f5c-43b8-af47-d09539534f34 - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/multipage_invoice1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '172' + - '225' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2,3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2,3&readingOrder=basic response: body: string: '' headers: - apim-request-id: c8ebf1ef-d051-4718-9e03-ad455e3576ec + apim-request-id: 108cff10-356d-4a09-acfe-cbe88ff21fbf content-length: '0' - date: Fri, 30 Oct 2020 00:07:25 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c8ebf1ef-d051-4718-9e03-ad455e3576ec + date: Wed, 03 Mar 2021 19:32:55 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/108cff10-356d-4a09-acfe-cbe88ff21fbf strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '62' + x-envoy-upstream-service-time: '172' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze?Pages=1-2,3 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c8ebf1ef-d051-4718-9e03-ad455e3576ec - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:07:25Z", "lastUpdatedDateTime": - "2020-10-30T00:07:30Z"}' - headers: - apim-request-id: 4a60ca5a-7688-4517-b8dc-88563141611f - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:30 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c8ebf1ef-d051-4718-9e03-ad455e3576ec + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?pages=1-2,3&readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c8ebf1ef-d051-4718-9e03-ad455e3576ec + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/108cff10-356d-4a09-acfe-cbe88ff21fbf response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:07:25Z", - "lastUpdatedDateTime": "2020-10-30T00:07:31Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:32:55Z", + "lastUpdatedDateTime": "2021-03-03T19:32:59Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "text": "Company A Invoice", "appearance": @@ -1596,15 +1504,15 @@ interactions: 4.4126, 7.5062, 4.4126, 7.5062, 4.6246, 5.3322, 4.6184], "elements": ["#/readResults/2/lines/33/words/0"]}], "boundingBox": [0.996, 2.9328, 7.4972, 2.9334, 7.4967, 4.6223, 0.9946, 4.6216]}]}]}}' headers: - apim-request-id: 6d59d7d5-66a3-4e30-9778-2d62d7a4aa55 - content-length: '31970' + apim-request-id: 936bfcc4-5bd0-44d5-9db4-9e478e9b9324 + content-length: '32119' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:35 GMT + date: Wed, 03 Mar 2021 19:33:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '46' + x-envoy-upstream-service-time: '51' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/c8ebf1ef-d051-4718-9e03-ad455e3576ec + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/108cff10-356d-4a09-acfe-cbe88ff21fbf version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_auth_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_auth_bad_key.yaml index 83b16d5d3079..8bd2b723a68e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_auth_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_auth_bad_key.yaml @@ -1,17 +1,17 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Invoice_1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '163' + - '216' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -19,9 +19,9 @@ interactions: an active subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Fri, 30 Oct 2020 00:06:54 GMT + date: Wed, 03 Mar 2021 19:33:00 GMT status: code: 401 message: PermissionDenied - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_auth_successful_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_auth_successful_key.yaml index c386ae56392d..95063843eb79 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_auth_successful_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_auth_successful_key.yaml @@ -1,66 +1,43 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Invoice_1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '163' + - '216' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 66d55ba2-f257-403c-b375-331680b35ca1 + apim-request-id: 3d35fe14-3fa1-4b33-978a-13ca476a39c0 content-length: '0' - date: Fri, 30 Oct 2020 00:07:03 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/66d55ba2-f257-403c-b375-331680b35ca1 + date: Wed, 03 Mar 2021 19:33:00 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/3d35fe14-3fa1-4b33-978a-13ca476a39c0 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '268' + x-envoy-upstream-service-time: '332' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/66d55ba2-f257-403c-b375-331680b35ca1 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/3d35fe14-3fa1-4b33-978a-13ca476a39c0 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:07:04Z", "lastUpdatedDateTime": - "2020-10-30T00:07:04Z"}' - headers: - apim-request-id: 72517284-f340-44dd-a51a-ecdf873901a0 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:08 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/66d55ba2-f257-403c-b375-331680b35ca1 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/66d55ba2-f257-403c-b375-331680b35ca1 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:07:04Z", - "lastUpdatedDateTime": "2020-10-30T00:07:11Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:33:01Z", + "lastUpdatedDateTime": "2021-03-03T19:33:05Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -184,15 +161,15 @@ interactions: 7.4922, 3.8534, 6.1079, 3.8534], "elements": []}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: - apim-request-id: deccc041-add2-4ff4-859f-bbf35b36f920 - content-length: '8802' + apim-request-id: a1fbafb9-db06-48b1-818c-1ab43bfbc3f3 + content-length: '8901' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:14 GMT + date: Wed, 03 Mar 2021 19:33:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/66d55ba2-f257-403c-b375-331680b35ca1 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/3d35fe14-3fa1-4b33-978a-13ca476a39c0 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_jpg.yaml index 7ea05850ed63..48e99b09fac9 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_jpg.yaml @@ -1,336 +1,337 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Form_1.jpg"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '160' + - '213' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 7b6c151d-77bd-4c46-a58b-9f7e66dc09ca + apim-request-id: 1acdc63a-3467-4629-ade3-1aa15d3cbb54 content-length: '0' - date: Fri, 30 Oct 2020 00:06:55 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/7b6c151d-77bd-4c46-a58b-9f7e66dc09ca + date: Wed, 03 Mar 2021 19:33:07 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1acdc63a-3467-4629-ade3-1aa15d3cbb54 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '71' + x-envoy-upstream-service-time: '408' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/7b6c151d-77bd-4c46-a58b-9f7e66dc09ca + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1acdc63a-3467-4629-ade3-1aa15d3cbb54 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:06:56Z", - "lastUpdatedDateTime": "2020-10-30T00:07:00Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:33:07Z", + "lastUpdatedDateTime": "2021-03-03T19:33:11Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, 264, 139, - 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, 259, + 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [863, 1179, 892, 1179, 891, 1204, 863, - 1204], "text": "20", "confidence": 0.986}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [489, 1671, 609, 1671, 609, 1706, 489, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [616, 1671, - 764, 1670, 765, 1708, 616, 1706], "text": "Sanders", "confidence": 0.979}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 595, 1671, 595, 1706, 484, 1706], "text": "Bernie", "confidence": 0.993}, + {"boundingBox": [602, 1671, 761, 1670, 762, 1708, 602, 1706], "text": "Sanders", + "confidence": 0.99}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -390,15 +391,15 @@ interactions: 1663, 1543, 1663, 1543, 1708, 1308, 1707], "elements": ["#/readResults/0/lines/47/words/0"]}], "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: - apim-request-id: 8f02a26c-ba83-47b1-a0bc-929b51dc0f85 - content-length: '24387' + apim-request-id: b1d86dd3-4af6-4985-a3b3-5350833b9d51 + content-length: '24433' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:00 GMT + date: Wed, 03 Mar 2021 19:33:12 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '25' + x-envoy-upstream-service-time: '28' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/7b6c151d-77bd-4c46-a58b-9f7e66dc09ca + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/1acdc63a-3467-4629-ade3-1aa15d3cbb54 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_pass_stream.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_pass_stream.yaml index 8090ee276d85..c75d1c00ecaa 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_pass_stream.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_pass_stream.yaml @@ -9,23 +9,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '{"error": {"code": "FailedToDownloadImage", "message": "Failed to download image from input URL."}}' headers: - apim-request-id: 01413987-d2f3-4a09-9e93-23605475a0ec + apim-request-id: 0f5e1ccf-3b45-4b10-8b41-47381c37ce97 content-length: '95' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:01 GMT + date: Wed, 03 Mar 2021 19:33:13 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '6' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_pdf.yaml index 4495fb989377..c277883eea17 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_pdf.yaml @@ -1,89 +1,43 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Invoice_1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '163' + - '216' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: b5060d40-2971-4f3e-8f16-cb3820b8493b + apim-request-id: d451eaa4-6f50-4abf-a061-d8cd3d7f53c0 content-length: '0' - date: Fri, 30 Oct 2020 00:07:02 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b5060d40-2971-4f3e-8f16-cb3820b8493b + date: Wed, 03 Mar 2021 19:33:12 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/d451eaa4-6f50-4abf-a061-d8cd3d7f53c0 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '66' + x-envoy-upstream-service-time: '121' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b5060d40-2971-4f3e-8f16-cb3820b8493b + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/d451eaa4-6f50-4abf-a061-d8cd3d7f53c0 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:07:02Z", "lastUpdatedDateTime": - "2020-10-30T00:07:02Z"}' - headers: - apim-request-id: 9692ac21-204c-475d-84a9-ed5174a74898 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:06 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b5060d40-2971-4f3e-8f16-cb3820b8493b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b5060d40-2971-4f3e-8f16-cb3820b8493b - response: - body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:07:02Z", "lastUpdatedDateTime": - "2020-10-30T00:07:08Z"}' - headers: - apim-request-id: fd393d84-d08c-464b-96ab-810f1d6df369 - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:12 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b5060d40-2971-4f3e-8f16-cb3820b8493b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b5060d40-2971-4f3e-8f16-cb3820b8493b - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:07:02Z", - "lastUpdatedDateTime": "2020-10-30T00:07:08Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:33:13Z", + "lastUpdatedDateTime": "2021-03-03T19:33:18Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -207,15 +161,15 @@ interactions: 7.4922, 3.8534, 6.1079, 3.8534], "elements": []}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: - apim-request-id: f16e5d9b-1ad5-4031-b9b0-c08fe8ce7a72 - content-length: '8802' + apim-request-id: bc232e53-28ff-4140-893d-0697c65e39df + content-length: '8901' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:17 GMT + date: Wed, 03 Mar 2021 19:33:17 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '19' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/b5060d40-2971-4f3e-8f16-cb3820b8493b + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/d451eaa4-6f50-4abf-a061-d8cd3d7f53c0 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_transform_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_transform_jpg.yaml index f850442a69fe..7046dbf05526 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_transform_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_transform_jpg.yaml @@ -1,336 +1,337 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Form_1.jpg"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '160' + - '213' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: d6b64ba7-ccd3-47d6-93fd-ad9f69b2366a + apim-request-id: 8616c8a1-294f-4638-a6d1-d65092d07524 content-length: '0' - date: Fri, 30 Oct 2020 00:07:17 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/d6b64ba7-ccd3-47d6-93fd-ad9f69b2366a + date: Wed, 03 Mar 2021 19:33:19 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/8616c8a1-294f-4638-a6d1-d65092d07524 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '92' + x-envoy-upstream-service-time: '573' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/d6b64ba7-ccd3-47d6-93fd-ad9f69b2366a + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/8616c8a1-294f-4638-a6d1-d65092d07524 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:07:18Z", - "lastUpdatedDateTime": "2020-10-30T00:07:22Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:33:19Z", + "lastUpdatedDateTime": "2021-03-03T19:33:22Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "lines": [{"boundingBox": [136, 139, 351, 138, 351, 166, 136, 166], "text": "Purchase Order", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [137, 140, 264, 139, - 263, 167, 137, 167], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [269, 139, 351, 139, 351, 167, 269, 167], "text": "Order", "confidence": 0.986}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [137, 140, 259, + 139, 259, 167, 137, 167], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [265, 139, 350, 139, 350, 167, 265, 167], "text": "Order", "confidence": 0.996}]}, {"boundingBox": [620, 205, 1074, 204, 1075, 265, 620, 266], "text": "Hero - Limited", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [621, 208, 794, 205, 793, 266, 620, 266], "text": "Hero", - "confidence": 0.987}, {"boundingBox": [806, 205, 1075, 205, 1074, 266, 805, - 266], "text": "Limited", "confidence": 0.985}]}, {"boundingBox": [1112, 321, - 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [1113, 322, 1381, 321, 1380, 370, 1113, 368], "text": "Purchase", "confidence": - 0.983}, {"boundingBox": [1390, 321, 1554, 321, 1553, 370, 1389, 370], "text": - "Order", "confidence": 0.983}]}, {"boundingBox": [163, 352, 528, 350, 528, + Limited", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [621, 208, 773, 206, 772, 266, 620, 266], "text": + "Hero", "confidence": 0.994}, {"boundingBox": [797, 205, 1062, 205, 1061, + 266, 796, 266], "text": "Limited", "confidence": 0.996}]}, {"boundingBox": + [1112, 321, 1554, 321, 1554, 369, 1112, 369], "text": "Purchase Order", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1113, 322, 1367, 321, 1367, 370, 1113, 368], "text": "Purchase", "confidence": + 0.995}, {"boundingBox": [1386, 321, 1550, 321, 1549, 370, 1386, 370], "text": + "Order", "confidence": 0.996}]}, {"boundingBox": [163, 352, 528, 350, 528, 376, 163, 379], "text": "Company Phone: 555-348-6512", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [163, 353, - 274, 351, 275, 379, 164, 378], "text": "Company", "confidence": 0.985}, {"boundingBox": - [279, 351, 359, 351, 360, 378, 280, 378], "text": "Phone:", "confidence": - 0.984}, {"boundingBox": [364, 351, 528, 351, 528, 374, 364, 378], "text": - "555-348-6512", "confidence": 0.975}]}, {"boundingBox": [166, 393, 533, 393, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [163, 353, + 272, 351, 273, 379, 164, 378], "text": "Company", "confidence": 0.996}, {"boundingBox": + [277, 351, 360, 351, 361, 378, 278, 379], "text": "Phone:", "confidence": + 0.992}, {"boundingBox": [365, 351, 525, 351, 525, 374, 366, 378], "text": + "555-348-6512", "confidence": 0.994}]}, {"boundingBox": [166, 393, 533, 393, 533, 418, 166, 418], "text": "Website: www.herolimited.com", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [167, 394, 269, 393, 269, 418, 167, 417], "text": "Website:", "confidence": - 0.981}, {"boundingBox": [273, 393, 531, 393, 530, 418, 273, 418], "text": - "www.herolimited.com", "confidence": 0.945}]}, {"boundingBox": [165, 435, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [167, 394, 268, 393, 268, 418, 167, 417], "text": "Website:", "confidence": + 0.995}, {"boundingBox": [273, 393, 524, 393, 524, 418, 273, 418], "text": + "www.herolimited.com", "confidence": 0.982}]}, {"boundingBox": [165, 435, 237, 435, 237, 460, 165, 460], "text": "Email:", "appearance": {"style": {"name": - "other", "confidence": 0.99}}, "words": [{"boundingBox": [165, 435, 237, 435, - 237, 460, 165, 460], "text": "Email:", "confidence": 0.985}]}, {"boundingBox": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [165, 435, 237, + 435, 237, 460, 165, 460], "text": "Email:", "confidence": 0.994}]}, {"boundingBox": [1024, 419, 1317, 420, 1317, 448, 1024, 448], "text": "Dated As: 12/20/2020", - "appearance": {"style": {"name": "other", "confidence": 0.998}}, "words": - [{"boundingBox": [1025, 421, 1108, 420, 1108, 448, 1025, 448], "text": "Dated", - "confidence": 0.986}, {"boundingBox": [1114, 420, 1160, 420, 1160, 448, 1114, - 448], "text": "As:", "confidence": 0.987}, {"boundingBox": [1165, 420, 1317, - 421, 1316, 449, 1165, 448], "text": "12/20/2020", "confidence": 0.982}]}, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [1025, 421, 1104, 420, 1104, 448, 1025, 448], "text": "Dated", + "confidence": 0.994}, {"boundingBox": [1112, 420, 1158, 420, 1158, 448, 1112, + 448], "text": "As:", "confidence": 0.998}, {"boundingBox": [1163, 420, 1310, + 421, 1310, 449, 1163, 448], "text": "12/20/2020", "confidence": 0.986}]}, {"boundingBox": [164, 479, 482, 478, 483, 502, 164, 503], "text": "accounts@herolimited.com", - "appearance": {"style": {"name": "other", "confidence": 0.999}}, "words": - [{"boundingBox": [164, 481, 478, 479, 478, 503, 165, 503], "text": "accounts@herolimited.com", - "confidence": 0.952}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [164, 481, 471, 479, 470, 503, 165, 503], "text": "accounts@herolimited.com", + "confidence": 0.965}]}, {"boundingBox": [1023, 461, 1376, 461, 1376, 489, 1023, 488], "text": "Purchase Order #: 948284", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [1023, 461, 1152, - 461, 1152, 489, 1023, 488], "text": "Purchase", "confidence": 0.984}, {"boundingBox": - [1157, 461, 1238, 461, 1239, 489, 1157, 489], "text": "Order", "confidence": - 0.986}, {"boundingBox": [1244, 461, 1272, 461, 1272, 489, 1244, 489], "text": - "#:", "confidence": 0.987}, {"boundingBox": [1277, 461, 1376, 462, 1376, 489, - 1277, 489], "text": "948284", "confidence": 0.983}]}, {"boundingBox": [167, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1023, 461, 1149, + 461, 1150, 489, 1023, 488], "text": "Purchase", "confidence": 0.995}, {"boundingBox": + [1155, 461, 1238, 461, 1238, 489, 1155, 489], "text": "Order", "confidence": + 0.996}, {"boundingBox": [1243, 461, 1273, 461, 1273, 489, 1243, 489], "text": + "#:", "confidence": 0.964}, {"boundingBox": [1278, 461, 1371, 462, 1372, 489, + 1279, 489], "text": "948284", "confidence": 0.996}]}, {"boundingBox": [167, 547, 397, 546, 397, 591, 167, 592], "text": "Shipped To", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [167, 547, - 333, 547, 332, 592, 168, 592], "text": "Shipped", "confidence": 0.985}, {"boundingBox": - [341, 547, 397, 547, 396, 591, 341, 592], "text": "To", "confidence": 0.988}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 547, + 328, 547, 328, 592, 168, 592], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [341, 547, 392, 547, 391, 591, 340, 592], "text": "To", "confidence": 0.994}]}, {"boundingBox": [159, 609, 520, 609, 520, 638, 159, 638], "text": "Vendor Name: Hillary Swank", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [160, 611, 254, 610, 254, 638, 160, 637], - "text": "Vendor", "confidence": 0.982}, {"boundingBox": [259, 610, 344, 609, - 344, 639, 259, 638], "text": "Name:", "confidence": 0.986}, {"boundingBox": - [350, 609, 430, 609, 430, 639, 349, 639], "text": "Hillary", "confidence": - 0.985}, {"boundingBox": [435, 609, 521, 610, 520, 639, 435, 639], "text": - "Swank", "confidence": 0.986}]}, {"boundingBox": [159, 647, 629, 646, 629, + 0.878}}, "words": [{"boundingBox": [160, 611, 252, 610, 251, 638, 160, 637], + "text": "Vendor", "confidence": 0.996}, {"boundingBox": [257, 610, 344, 609, + 344, 639, 257, 638], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [349, 609, 431, 609, 431, 639, 349, 639], "text": "Hillary", "confidence": + 0.996}, {"boundingBox": [436, 609, 520, 610, 519, 639, 436, 639], "text": + "Swank", "confidence": 0.996}]}, {"boundingBox": [159, 647, 629, 646, 629, 677, 160, 679], "text": "Company Name: Higgly Wiggly Books", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [160, 649, 278, 647, 279, 678, 161, 676], "text": "Company", "confidence": - 0.985}, {"boundingBox": [284, 647, 370, 647, 370, 679, 284, 678], "text": - "Name:", "confidence": 0.983}, {"boundingBox": [375, 647, 453, 646, 453, 679, - 375, 679], "text": "Higgly", "confidence": 0.986}, {"boundingBox": [459, 646, - 545, 646, 544, 678, 459, 679], "text": "Wiggly", "confidence": 0.986}, {"boundingBox": - [550, 646, 629, 646, 628, 676, 550, 678], "text": "Books", "confidence": 0.986}]}, + 0.996}, {"boundingBox": [283, 647, 369, 647, 369, 679, 284, 678], "text": + "Name:", "confidence": 0.996}, {"boundingBox": [375, 647, 453, 646, 453, 679, + 375, 679], "text": "Higgly", "confidence": 0.996}, {"boundingBox": [459, 646, + 544, 646, 544, 678, 458, 679], "text": "Wiggly", "confidence": 0.996}, {"boundingBox": + [550, 646, 629, 646, 628, 676, 549, 678], "text": "Books", "confidence": 0.996}]}, {"boundingBox": [160, 684, 526, 684, 526, 712, 160, 711], "text": "Address: 938 NE Burner Road", "appearance": {"style": {"name": "other", "confidence": - 0.999}}, "words": [{"boundingBox": [161, 685, 269, 685, 268, 712, 160, 711], - "text": "Address:", "confidence": 0.981}, {"boundingBox": [274, 685, 324, - 685, 323, 713, 273, 712], "text": "938", "confidence": 0.987}, {"boundingBox": - [329, 685, 365, 685, 364, 713, 328, 713], "text": "NE", "confidence": 0.988}, - {"boundingBox": [370, 685, 455, 685, 455, 713, 369, 713], "text": "Burner", - "confidence": 0.985}, {"boundingBox": [460, 685, 527, 685, 527, 713, 460, - 713], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [279, 722, 566, + 0.878}}, "words": [{"boundingBox": [161, 685, 270, 685, 269, 712, 160, 711], + "text": "Address:", "confidence": 0.994}, {"boundingBox": [275, 685, 321, + 685, 320, 713, 275, 712], "text": "938", "confidence": 0.998}, {"boundingBox": + [327, 685, 363, 685, 362, 713, 326, 713], "text": "NE", "confidence": 0.996}, + {"boundingBox": [368, 685, 455, 685, 454, 713, 367, 713], "text": "Burner", + "confidence": 0.996}, {"boundingBox": [460, 685, 523, 685, 522, 713, 459, + 713], "text": "Road", "confidence": 0.994}]}, {"boundingBox": [279, 722, 566, 721, 566, 750, 279, 751], "text": "Boulder City, CO 92848", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [279, 722, 371, 722, 372, 751, 280, 750], "text": "Boulder", "confidence": - 0.985}, {"boundingBox": [377, 722, 433, 722, 434, 751, 378, 751], "text": - "City,", "confidence": 0.986}, {"boundingBox": [439, 722, 477, 722, 477, 751, - 439, 751], "text": "CO", "confidence": 0.988}, {"boundingBox": [482, 722, - 565, 722, 565, 749, 482, 751], "text": "92848", "confidence": 0.976}]}, {"boundingBox": + 0.996}, {"boundingBox": [376, 722, 433, 722, 433, 751, 377, 751], "text": + "City,", "confidence": 0.996}, {"boundingBox": [438, 722, 474, 722, 474, 751, + 438, 751], "text": "CO", "confidence": 0.997}, {"boundingBox": [483, 722, + 561, 722, 560, 749, 483, 751], "text": "92848", "confidence": 0.996}]}, {"boundingBox": [612, 721, 885, 721, 885, 747, 612, 748], "text": "Phone: 938-294-2949", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [613, 722, 702, 722, 702, 749, 613, 749], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [708, 722, 885, 722, 884, 748, 708, 749], "text": - "938-294-2949", "confidence": 0.976}]}, {"boundingBox": [167, 784, 453, 784, + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [613, 722, 704, 722, 704, 749, 613, 749], "text": "Phone:", "confidence": + 0.994}, {"boundingBox": [709, 722, 882, 722, 882, 748, 709, 749], "text": + "938-294-2949", "confidence": 0.994}]}, {"boundingBox": [167, 784, 453, 784, 453, 829, 167, 830], "text": "Shipped From", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [167, 784, 330, - 785, 330, 830, 169, 830], "text": "Shipped", "confidence": 0.982}, {"boundingBox": - [339, 785, 448, 785, 448, 826, 339, 830], "text": "From", "confidence": 0.987}]}, + "other", "confidence": 0.878}}, "words": [{"boundingBox": [167, 784, 328, + 785, 329, 830, 169, 830], "text": "Shipped", "confidence": 0.996}, {"boundingBox": + [338, 785, 435, 785, 434, 827, 338, 830], "text": "From", "confidence": 0.994}]}, {"boundingBox": [165, 852, 445, 851, 445, 878, 165, 879], "text": "Name: Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [166, 853, 250, 853, 250, 879, 166, 879], "text": "Name:", - "confidence": 0.983}, {"boundingBox": [255, 852, 338, 852, 337, 880, 255, - 879], "text": "Bernie", "confidence": 0.985}, {"boundingBox": [343, 852, 446, - 852, 445, 879, 343, 880], "text": "Sanders", "confidence": 0.983}]}, {"boundingBox": - [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company Name: Jupiter Book - Supply", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], "text": "Company", - "confidence": 0.984}, {"boundingBox": [288, 890, 374, 889, 375, 919, 289, - 919], "text": "Name:", "confidence": 0.985}, {"boundingBox": [380, 889, 466, - 889, 466, 919, 380, 919], "text": "Jupiter", "confidence": 0.983}, {"boundingBox": - [471, 889, 536, 889, 536, 920, 472, 919], "text": "Book", "confidence": 0.983}, - {"boundingBox": [542, 889, 630, 890, 629, 920, 542, 920], "text": "Supply", - "confidence": 0.986}]}, {"boundingBox": [165, 925, 521, 926, 521, 953, 165, - 952], "text": "Address: 383 N Kinnick Road", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [166, 926, 273, - 925, 273, 953, 166, 953], "text": "Address:", "confidence": 0.982}, {"boundingBox": - [279, 925, 327, 925, 327, 953, 278, 953], "text": "383", "confidence": 0.987}, - {"boundingBox": [332, 926, 353, 926, 353, 953, 332, 953], "text": "N", "confidence": - 0.983}, {"boundingBox": [358, 926, 448, 926, 448, 954, 358, 953], "text": - "Kinnick", "confidence": 0.984}, {"boundingBox": [453, 926, 521, 927, 520, - 954, 453, 954], "text": "Road", "confidence": 0.987}]}, {"boundingBox": [280, - 963, 514, 962, 514, 990, 281, 991], "text": "Seattle, WA 38383", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [281, 965, 377, 964, 378, 991, 283, 991], "text": "Seattle,", "confidence": - 0.981}, {"boundingBox": [382, 964, 429, 964, 430, 991, 383, 991], "text": - "WA", "confidence": 0.988}, {"boundingBox": [434, 964, 514, 962, 514, 990, - 435, 991], "text": "38383", "confidence": 0.975}]}, {"boundingBox": [760, - 963, 1032, 963, 1032, 989, 760, 990], "text": "Phone: 932-299-0292", "appearance": - {"style": {"name": "other", "confidence": 0.997}}, "words": [{"boundingBox": - [760, 964, 849, 964, 849, 990, 760, 990], "text": "Phone:", "confidence": - 0.983}, {"boundingBox": [855, 964, 1033, 963, 1032, 990, 854, 990], "text": - "932-299-0292", "confidence": 0.978}]}, {"boundingBox": [446, 1047, 558, 1047, - 558, 1077, 446, 1077], "text": "Details", "appearance": {"style": {"name": - "other", "confidence": 0.999}}, "words": [{"boundingBox": [447, 1048, 558, - 1048, 558, 1077, 446, 1078], "text": "Details", "confidence": 0.985}]}, {"boundingBox": - [885, 1047, 1034, 1047, 1034, 1083, 886, 1083], "text": "Quantity", "appearance": - {"style": {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": - [886, 1048, 1034, 1047, 1034, 1084, 886, 1084], "text": "Quantity", "confidence": - 0.981}]}, {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], - "text": "Unit Price", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [1112, 1047, 1181, 1047, 1180, 1078, 1111, - 1078], "text": "Unit", "confidence": 0.987}, {"boundingBox": [1187, 1047, - 1270, 1049, 1269, 1078, 1186, 1078], "text": "Price", "confidence": 0.986}]}, - {"boundingBox": [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": - "Total", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], - "text": "Total", "confidence": 0.986}]}, {"boundingBox": [172, 1093, 279, - 1095, 279, 1123, 172, 1121], "text": "Bindings", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [172, 1094, 278, 1097, - 278, 1123, 173, 1122], "text": "Bindings", "confidence": 0.984}]}, {"boundingBox": - [859, 1094, 893, 1094, 893, 1119, 859, 1119], "text": "20", "appearance": - {"style": {"name": "other", "confidence": 0.959}}, "words": [{"boundingBox": - [861, 1094, 892, 1094, 892, 1119, 861, 1119], "text": "20", "confidence": - 0.988}]}, {"boundingBox": [1240, 1096, 1295, 1094, 1294, 1118, 1241, 1118], - "text": "1.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, - "words": [{"boundingBox": [1241, 1095, 1293, 1094, 1294, 1117, 1242, 1118], - "text": "1.00", "confidence": 0.986}]}, {"boundingBox": [1458, 1095, 1530, - 1095, 1530, 1119, 1458, 1119], "text": "20.00", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1458, 1096, 1531, - 1095, 1530, 1120, 1459, 1119], "text": "20.00", "confidence": 0.983}]}, {"boundingBox": - [169, 1135, 332, 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": - {"style": {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": - [170, 1136, 254, 1136, 253, 1161, 170, 1161], "text": "Covers", "confidence": - 0.985}, {"boundingBox": [259, 1136, 333, 1135, 332, 1161, 258, 1161], "text": - "Small", "confidence": 0.982}]}, {"boundingBox": [859, 1135, 894, 1135, 891, - 1160, 860, 1160], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.952}}, "words": [{"boundingBox": [861, 1135, 894, 1135, 894, - 1160, 861, 1160], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1135, 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [1240, - 1135, 1294, 1135, 1294, 1159, 1241, 1160], "text": "1.00", "confidence": 0.986}]}, + Sanders", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [166, 853, 248, 853, 248, 879, 166, 879], "text": + "Name:", "confidence": 0.986}, {"boundingBox": [253, 853, 337, 852, 337, 880, + 253, 879], "text": "Bernie", "confidence": 0.996}, {"boundingBox": [342, 852, + 445, 852, 445, 879, 342, 880], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [164, 889, 629, 889, 629, 919, 164, 919], "text": "Company + Name: Jupiter Book Supply", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [164, 890, 282, 890, 283, 919, 165, 919], + "text": "Company", "confidence": 0.996}, {"boundingBox": [288, 890, 373, 889, + 374, 919, 289, 919], "text": "Name:", "confidence": 0.996}, {"boundingBox": + [379, 889, 467, 889, 467, 919, 380, 919], "text": "Jupiter", "confidence": + 0.996}, {"boundingBox": [473, 889, 538, 889, 538, 920, 473, 919], "text": + "Book", "confidence": 0.994}, {"boundingBox": [543, 889, 630, 890, 629, 920, + 543, 920], "text": "Supply", "confidence": 0.996}]}, {"boundingBox": [165, + 925, 521, 926, 521, 953, 165, 952], "text": "Address: 383 N Kinnick Road", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [166, 926, 275, 925, 274, 953, 166, 953], "text": "Address:", + "confidence": 0.994}, {"boundingBox": [280, 925, 325, 925, 324, 953, 280, + 953], "text": "383", "confidence": 0.998}, {"boundingBox": [330, 925, 345, + 926, 345, 953, 330, 953], "text": "N", "confidence": 0.995}, {"boundingBox": + [358, 926, 448, 926, 447, 954, 357, 953], "text": "Kinnick", "confidence": + 0.995}, {"boundingBox": [453, 926, 516, 927, 516, 954, 452, 954], "text": + "Road", "confidence": 0.994}]}, {"boundingBox": [280, 963, 514, 962, 514, + 990, 281, 991], "text": "Seattle, WA 38383", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [282, 965, 376, + 964, 377, 991, 284, 991], "text": "Seattle,", "confidence": 0.994}, {"boundingBox": + [382, 964, 425, 964, 425, 991, 383, 991], "text": "WA", "confidence": 0.998}, + {"boundingBox": [435, 964, 513, 962, 514, 990, 436, 991], "text": "38383", + "confidence": 0.996}]}, {"boundingBox": [760, 963, 1032, 963, 1032, 989, 760, + 990], "text": "Phone: 932-299-0292", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [760, 964, 849, 964, 848, + 990, 760, 990], "text": "Phone:", "confidence": 0.996}, {"boundingBox": [854, + 964, 1028, 963, 1027, 990, 854, 990], "text": "932-299-0292", "confidence": + 0.994}]}, {"boundingBox": [446, 1047, 558, 1047, 558, 1077, 446, 1077], "text": + "Details", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [447, 1048, 557, 1048, 557, 1077, 446, 1078], "text": + "Details", "confidence": 0.994}]}, {"boundingBox": [885, 1047, 1034, 1047, + 1034, 1083, 886, 1083], "text": "Quantity", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [886, 1048, 1030, + 1047, 1030, 1084, 886, 1084], "text": "Quantity", "confidence": 0.994}]}, + {"boundingBox": [1111, 1047, 1270, 1047, 1269, 1078, 1111, 1077], "text": + "Unit Price", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1112, 1047, 1179, 1047, 1178, 1078, 1111, 1078], + "text": "Unit", "confidence": 0.994}, {"boundingBox": [1185, 1047, 1267, 1048, + 1266, 1078, 1184, 1078], "text": "Price", "confidence": 0.996}]}, {"boundingBox": + [1382, 1047, 1468, 1047, 1467, 1077, 1382, 1077], "text": "Total", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1384, 1047, 1468, 1047, 1468, 1077, 1384, 1077], "text": "Total", "confidence": + 0.996}]}, {"boundingBox": [172, 1093, 279, 1095, 279, 1123, 172, 1121], "text": + "Bindings", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [172, 1094, 278, 1097, 278, 1123, 173, 1122], "text": + "Bindings", "confidence": 0.995}]}, {"boundingBox": [859, 1094, 893, 1094, + 893, 1119, 859, 1119], "text": "20", "appearance": {"style": {"name": "other", + "confidence": 0.878}}, "words": [{"boundingBox": [860, 1094, 888, 1094, 888, + 1119, 860, 1119], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1240, + 1096, 1295, 1094, 1294, 1118, 1241, 1118], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1095, 1291, 1094, 1291, 1117, 1240, 1118], "text": "1.00", "confidence": 0.994}]}, + {"boundingBox": [1458, 1095, 1530, 1095, 1530, 1119, 1458, 1119], "text": + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1096, 1527, 1095, 1526, 1120, 1460, 1119], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [169, 1135, 332, + 1134, 333, 1160, 169, 1161], "text": "Covers Small", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [170, 1136, + 255, 1136, 254, 1161, 170, 1161], "text": "Covers", "confidence": 0.994}, + {"boundingBox": [260, 1136, 333, 1135, 332, 1161, 259, 1161], "text": "Small", + "confidence": 0.996}]}, {"boundingBox": [859, 1135, 894, 1135, 891, 1160, + 860, 1160], "text": "20", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [860, 1135, 888, 1135, 888, 1160, 860, + 1160], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1135, + 1295, 1135, 1294, 1159, 1239, 1160], "text": "1.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1135, 1291, 1135, 1291, 1160, 1240, 1160], "text": "1.00", "confidence": 0.993}]}, {"boundingBox": [1458, 1135, 1530, 1135, 1530, 1159, 1459, 1160], "text": - "20.00", "appearance": {"style": {"name": "other", "confidence": 0.999}}, - "words": [{"boundingBox": [1458, 1135, 1529, 1135, 1530, 1159, 1458, 1160], - "text": "20.00", "confidence": 0.985}]}, {"boundingBox": [173, 1178, 403, + "20.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1459, 1135, 1527, 1135, 1527, 1160, 1459, 1160], + "text": "20.00", "confidence": 0.996}]}, {"boundingBox": [173, 1178, 403, 1177, 403, 1205, 173, 1206], "text": "Feather Bookmark", "appearance": {"style": - {"name": "other", "confidence": 1.0}}, "words": [{"boundingBox": [173, 1180, - 266, 1179, 267, 1206, 174, 1206], "text": "Feather", "confidence": 0.983}, - {"boundingBox": [271, 1179, 402, 1178, 403, 1206, 272, 1206], "text": "Bookmark", - "confidence": 0.984}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1180, + 266, 1179, 266, 1206, 174, 1206], "text": "Feather", "confidence": 0.996}, + {"boundingBox": [271, 1179, 399, 1178, 400, 1206, 271, 1206], "text": "Bookmark", + "confidence": 0.995}]}, {"boundingBox": [860, 1179, 892, 1179, 891, 1204, 860, 1203], "text": "20", "appearance": {"style": {"name": "other", "confidence": - 0.842}}, "words": [{"boundingBox": [863, 1179, 892, 1179, 891, 1204, 863, - 1204], "text": "20", "confidence": 0.986}]}, {"boundingBox": [1239, 1179, + 0.878}}, "words": [{"boundingBox": [861, 1179, 889, 1179, 889, 1204, 861, + 1203], "text": "20", "confidence": 0.999}]}, {"boundingBox": [1239, 1179, 1295, 1178, 1295, 1203, 1239, 1204], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": [1239, - 1179, 1294, 1178, 1294, 1203, 1239, 1204], "text": "5.00", "confidence": 0.986}]}, + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1240, + 1179, 1291, 1178, 1291, 1203, 1240, 1204], "text": "5.00", "confidence": 0.993}]}, {"boundingBox": [1442, 1180, 1530, 1180, 1530, 1203, 1443, 1204], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1443, 1181, 1529, 1180, 1529, 1204, 1443, 1205], "text": - "100.00", "confidence": 0.984}]}, {"boundingBox": [169, 1223, 429, 1222, 430, - 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [170, 1223, 259, 1222, - 259, 1252, 170, 1253], "text": "Copper", "confidence": 0.985}, {"boundingBox": - [265, 1222, 328, 1222, 328, 1251, 265, 1252], "text": "Swirl", "confidence": - 0.986}, {"boundingBox": [334, 1222, 429, 1223, 428, 1248, 334, 1251], "text": - "Marker", "confidence": 0.983}]}, {"boundingBox": [860, 1223, 893, 1223, 893, - 1247, 860, 1247], "text": "20", "appearance": {"style": {"name": "other", - "confidence": 0.985}}, "words": [{"boundingBox": [860, 1223, 892, 1223, 892, - 1247, 860, 1247], "text": "20", "confidence": 0.988}]}, {"boundingBox": [1239, - 1221, 1294, 1222, 1294, 1246, 1239, 1247], "text": "5.00", "appearance": {"style": - {"name": "other", "confidence": 0.996}}, "words": [{"boundingBox": [1239, - 1221, 1293, 1221, 1293, 1247, 1239, 1247], "text": "5.00", "confidence": 0.983}]}, - {"boundingBox": [1443, 1223, 1530, 1222, 1530, 1246, 1444, 1247], "text": - "100.00", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1444, 1224, 1530, 1223, 1529, 1247, 1444, 1248], "text": - "100.00", "confidence": 0.982}]}, {"boundingBox": [1146, 1573, 1296, 1573, - 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [1147, 1575, 1295, - 1575, 1294, 1600, 1147, 1600], "text": "SUBTOTAL", "confidence": 0.984}]}, - {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], "text": - "$140.00", "appearance": {"style": {"name": "other", "confidence": 0.997}}, - "words": [{"boundingBox": [1426, 1572, 1531, 1572, 1531, 1597, 1427, 1599], - "text": "$140.00", "confidence": 0.982}]}, {"boundingBox": [1236, 1618, 1296, - 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": {"name": - "other", "confidence": 1.0}}, "words": [{"boundingBox": [1238, 1618, 1296, - 1618, 1296, 1643, 1238, 1643], "text": "TAX", "confidence": 0.987}]}, {"boundingBox": - [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": "$4.00", "appearance": - {"style": {"name": "other", "confidence": 0.998}}, "words": [{"boundingBox": - [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], "text": "$4.00", "confidence": - 0.983}]}, {"boundingBox": [484, 1670, 764, 1670, 764, 1707, 484, 1706], "text": - "Bernie Sanders", "appearance": {"style": {"name": "handwriting", "confidence": - 0.793}}, "words": [{"boundingBox": [489, 1671, 609, 1671, 609, 1706, 489, - 1706], "text": "Bernie", "confidence": 0.979}, {"boundingBox": [616, 1671, - 764, 1670, 765, 1708, 616, 1706], "text": "Sanders", "confidence": 0.979}]}, - {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, 1204, 1699], "text": - "TOTAL", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [1204, 1674, 1297, 1673, 1297, 1699, 1205, 1699], "text": - "TOTAL", "confidence": 0.983}]}, {"boundingBox": [1427, 1670, 1529, 1669, - 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": {"name": - "other", "confidence": 0.995}}, "words": [{"boundingBox": [1427, 1671, 1529, - 1669, 1529, 1697, 1429, 1698], "text": "$144.00", "confidence": 0.984}]}, - {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": "Bernie - Sanders", "appearance": {"style": {"name": "other", "confidence": 1.0}}, "words": - [{"boundingBox": [542, 1719, 617, 1719, 618, 1742, 544, 1742], "text": "Bernie", - "confidence": 0.985}, {"boundingBox": [621, 1719, 717, 1719, 717, 1743, 622, - 1742], "text": "Sanders", "confidence": 0.985}]}, {"boundingBox": [577, 1753, - 681, 1755, 681, 1778, 577, 1776], "text": "Manager", "appearance": {"style": - {"name": "other", "confidence": 0.999}}, "words": [{"boundingBox": [577, 1754, - 681, 1756, 680, 1778, 578, 1776], "text": "Manager", "confidence": 0.985}]}, - {"boundingBox": [172, 1796, 478, 1796, 478, 1832, 172, 1831], "text": "Additional - Notes:", "appearance": {"style": {"name": "other", "confidence": 0.998}}, - "words": [{"boundingBox": [173, 1796, 355, 1796, 354, 1832, 173, 1831], "text": - "Additional", "confidence": 0.98}, {"boundingBox": [361, 1796, 479, 1797, - 478, 1833, 361, 1832], "text": "Notes:", "confidence": 0.985}]}, {"boundingBox": - [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": "Do not Jostle Box. - Unpack carefully. Enjoy.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [175, 1881, 205, 1881, 205, 1907, 175, 1907], - "text": "Do", "confidence": 0.988}, {"boundingBox": [210, 1881, 256, 1880, - 257, 1908, 210, 1907], "text": "not", "confidence": 0.987}, {"boundingBox": - [261, 1880, 335, 1880, 335, 1909, 262, 1908], "text": "Jostle", "confidence": - 0.982}, {"boundingBox": [340, 1880, 401, 1880, 402, 1909, 340, 1909], "text": - "Box.", "confidence": 0.986}, {"boundingBox": [406, 1880, 500, 1880, 500, - 1910, 407, 1909], "text": "Unpack", "confidence": 0.985}, {"boundingBox": - [505, 1880, 623, 1880, 623, 1911, 505, 1910], "text": "carefully.", "confidence": - 0.975}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, 1911], "text": - "Enjoy.", "confidence": 0.984}]}, {"boundingBox": [168, 1923, 1510, 1923, - 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund you 50% per - book if returned within 60 days of reading and", "appearance": {"style": {"name": - "other", "confidence": 0.998}}, "words": [{"boundingBox": [169, 1924, 270, - 1924, 270, 1959, 169, 1959], "text": "Jupiter", "confidence": 0.984}, {"boundingBox": - [277, 1924, 355, 1924, 355, 1958, 277, 1959], "text": "Book", "confidence": - 0.986}, {"boundingBox": [361, 1924, 465, 1924, 465, 1958, 361, 1958], "text": - "Supply", "confidence": 0.983}, {"boundingBox": [472, 1924, 517, 1924, 517, - 1958, 471, 1958], "text": "will", "confidence": 0.986}, {"boundingBox": [524, - 1924, 623, 1924, 623, 1958, 524, 1958], "text": "refund", "confidence": 0.984}, - {"boundingBox": [630, 1924, 687, 1924, 687, 1958, 629, 1958], "text": "you", - "confidence": 0.987}, {"boundingBox": [694, 1924, 763, 1924, 762, 1958, 694, - 1958], "text": "50%", "confidence": 0.983}, {"boundingBox": [770, 1924, 820, - 1924, 819, 1958, 769, 1958], "text": "per", "confidence": 0.987}, {"boundingBox": - [827, 1924, 900, 1924, 900, 1958, 826, 1958], "text": "book", "confidence": - 0.987}, {"boundingBox": [907, 1924, 926, 1924, 925, 1958, 907, 1958], "text": - "if", "confidence": 0.985}, {"boundingBox": [932, 1924, 1061, 1924, 1060, - 1958, 932, 1958], "text": "returned", "confidence": 0.981}, {"boundingBox": - [1068, 1924, 1157, 1924, 1156, 1958, 1067, 1958], "text": "within", "confidence": - 0.981}, {"boundingBox": [1164, 1924, 1201, 1924, 1200, 1958, 1163, 1958], - "text": "60", "confidence": 0.987}, {"boundingBox": [1208, 1924, 1283, 1924, - 1282, 1958, 1206, 1958], "text": "days", "confidence": 0.985}, {"boundingBox": - [1290, 1924, 1318, 1924, 1316, 1958, 1289, 1958], "text": "of", "confidence": - 0.988}, {"boundingBox": [1325, 1924, 1439, 1924, 1438, 1958, 1323, 1958], - "text": "reading", "confidence": 0.983}, {"boundingBox": [1446, 1924, 1510, - 1924, 1509, 1958, 1445, 1958], "text": "and", "confidence": 0.987}]}, {"boundingBox": - [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": "offer you 25% off you - next total purchase.", "appearance": {"style": {"name": "other", "confidence": - 1.0}}, "words": [{"boundingBox": [169, 1958, 235, 1958, 236, 1991, 169, 1991], - "text": "offer", "confidence": 0.985}, {"boundingBox": [242, 1958, 299, 1958, - 300, 1992, 242, 1991], "text": "you", "confidence": 0.987}, {"boundingBox": - [306, 1958, 374, 1958, 374, 1992, 306, 1992], "text": "25%", "confidence": - 0.983}, {"boundingBox": [380, 1958, 421, 1958, 421, 1992, 381, 1992], "text": - "off", "confidence": 0.987}, {"boundingBox": [427, 1958, 483, 1958, 483, 1992, - 428, 1992], "text": "you", "confidence": 0.987}, {"boundingBox": [489, 1958, - 555, 1959, 556, 1992, 490, 1992], "text": "next", "confidence": 0.986}, {"boundingBox": - [562, 1959, 628, 1959, 628, 1991, 562, 1992], "text": "total", "confidence": - 0.986}, {"boundingBox": [634, 1959, 786, 1961, 786, 1990, 635, 1991], "text": - "purchase.", "confidence": 0.967}]}]}], "pageResults": [{"page": 1, "tables": - [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, "columnIndex": 0, "columnSpan": - 2, "text": "Details", "boundingBox": [157, 1038, 847, 1037, 847, 1086, 157, - 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, {"rowIndex": 0, - "columnIndex": 2, "text": "Quantity", "boundingBox": [847, 1037, 1071, 1037, - 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, + "100.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1443, 1181, 1525, 1180, 1525, 1204, 1443, 1205], + "text": "100.00", "confidence": 0.994}]}, {"boundingBox": [169, 1223, 429, + 1222, 430, 1249, 169, 1253], "text": "Copper Swirl Marker", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [170, 1223, 259, 1222, 258, 1253, 170, 1253], "text": "Copper", "confidence": + 0.996}, {"boundingBox": [265, 1222, 328, 1222, 327, 1251, 264, 1252], "text": + "Swirl", "confidence": 0.996}, {"boundingBox": [334, 1222, 429, 1223, 428, + 1248, 333, 1251], "text": "Marker", "confidence": 0.996}]}, {"boundingBox": + [860, 1223, 893, 1223, 893, 1247, 860, 1247], "text": "20", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [861, 1223, 888, 1223, 888, 1247, 861, 1247], "text": "20", "confidence": + 0.999}]}, {"boundingBox": [1239, 1221, 1294, 1222, 1294, 1246, 1239, 1247], + "text": "5.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1240, 1221, 1292, 1221, 1292, 1247, 1240, 1247], + "text": "5.00", "confidence": 0.986}]}, {"boundingBox": [1443, 1223, 1530, + 1222, 1530, 1246, 1444, 1247], "text": "100.00", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [1444, 1224, 1526, + 1223, 1525, 1247, 1444, 1248], "text": "100.00", "confidence": 0.062}]}, {"boundingBox": + [1146, 1573, 1296, 1573, 1296, 1600, 1146, 1600], "text": "SUBTOTAL", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [1148, 1575, 1294, 1575, 1293, 1600, 1148, 1600], "text": "SUBTOTAL", "confidence": + 0.995}]}, {"boundingBox": [1426, 1571, 1530, 1571, 1530, 1597, 1426, 1598], + "text": "$140.00", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1428, 1572, 1528, 1572, 1528, 1597, 1428, + 1599], "text": "$140.00", "confidence": 0.995}]}, {"boundingBox": [1236, 1618, + 1296, 1618, 1295, 1643, 1236, 1643], "text": "TAX", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1237, + 1618, 1290, 1618, 1290, 1643, 1237, 1643], "text": "TAX", "confidence": 0.997}]}, + {"boundingBox": [1458, 1615, 1529, 1615, 1528, 1641, 1458, 1643], "text": + "$4.00", "appearance": {"style": {"name": "other", "confidence": 0.878}}, + "words": [{"boundingBox": [1458, 1615, 1529, 1615, 1529, 1642, 1458, 1643], + "text": "$4.00", "confidence": 0.992}]}, {"boundingBox": [484, 1670, 764, + 1670, 764, 1707, 484, 1706], "text": "Bernie Sanders", "appearance": {"style": + {"name": "handwriting", "confidence": 0.785}}, "words": [{"boundingBox": [484, + 1671, 595, 1671, 595, 1706, 484, 1706], "text": "Bernie", "confidence": 0.993}, + {"boundingBox": [602, 1671, 761, 1670, 762, 1708, 602, 1706], "text": "Sanders", + "confidence": 0.99}]}, {"boundingBox": [1203, 1673, 1297, 1673, 1297, 1698, + 1204, 1699], "text": "TOTAL", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [1204, 1674, 1295, 1673, 1295, 1699, 1205, + 1699], "text": "TOTAL", "confidence": 0.994}]}, {"boundingBox": [1427, 1670, + 1529, 1669, 1530, 1696, 1427, 1697], "text": "$144.00", "appearance": {"style": + {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": [1427, + 1671, 1526, 1669, 1527, 1697, 1429, 1698], "text": "$144.00", "confidence": + 0.983}]}, {"boundingBox": [542, 1718, 718, 1719, 718, 1742, 542, 1741], "text": + "Bernie Sanders", "appearance": {"style": {"name": "other", "confidence": + 0.878}}, "words": [{"boundingBox": [542, 1719, 616, 1719, 617, 1742, 544, + 1742], "text": "Bernie", "confidence": 0.994}, {"boundingBox": [621, 1719, + 716, 1719, 716, 1743, 622, 1742], "text": "Sanders", "confidence": 0.996}]}, + {"boundingBox": [577, 1753, 681, 1755, 681, 1778, 577, 1776], "text": "Manager", + "appearance": {"style": {"name": "other", "confidence": 0.878}}, "words": + [{"boundingBox": [577, 1754, 681, 1756, 680, 1778, 578, 1776], "text": "Manager", + "confidence": 0.994}]}, {"boundingBox": [172, 1796, 478, 1796, 478, 1832, + 172, 1831], "text": "Additional Notes:", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [173, 1796, 354, + 1796, 353, 1832, 173, 1831], "text": "Additional", "confidence": 0.993}, {"boundingBox": + [361, 1796, 479, 1797, 478, 1833, 360, 1832], "text": "Notes:", "confidence": + 0.996}]}, {"boundingBox": [174, 1879, 707, 1880, 707, 1911, 174, 1908], "text": + "Do not Jostle Box. Unpack carefully. Enjoy.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [175, 1881, 204, + 1881, 204, 1907, 175, 1907], "text": "Do", "confidence": 0.994}, {"boundingBox": + [209, 1881, 254, 1880, 254, 1908, 209, 1907], "text": "not", "confidence": + 0.997}, {"boundingBox": [259, 1880, 332, 1880, 332, 1909, 259, 1908], "text": + "Jostle", "confidence": 0.996}, {"boundingBox": [338, 1880, 399, 1880, 399, + 1909, 338, 1909], "text": "Box.", "confidence": 0.994}, {"boundingBox": [404, + 1880, 499, 1880, 499, 1910, 404, 1909], "text": "Unpack", "confidence": 0.996}, + {"boundingBox": [504, 1880, 623, 1880, 623, 1911, 504, 1910], "text": "carefully.", + "confidence": 0.994}, {"boundingBox": [628, 1880, 707, 1881, 707, 1912, 628, + 1911], "text": "Enjoy.", "confidence": 0.996}]}, {"boundingBox": [168, 1923, + 1510, 1923, 1510, 1957, 168, 1958], "text": "Jupiter Book Supply will refund + you 50% per book if returned within 60 days of reading and", "appearance": + {"style": {"name": "other", "confidence": 0.878}}, "words": [{"boundingBox": + [169, 1924, 269, 1924, 269, 1959, 169, 1959], "text": "Jupiter", "confidence": + 0.994}, {"boundingBox": [276, 1924, 354, 1924, 354, 1958, 276, 1959], "text": + "Book", "confidence": 0.994}, {"boundingBox": [361, 1924, 464, 1924, 464, + 1958, 361, 1958], "text": "Supply", "confidence": 0.994}, {"boundingBox": + [471, 1924, 519, 1924, 519, 1958, 471, 1958], "text": "will", "confidence": + 0.992}, {"boundingBox": [526, 1924, 625, 1924, 624, 1958, 526, 1958], "text": + "refund", "confidence": 0.996}, {"boundingBox": [631, 1924, 688, 1924, 688, + 1958, 631, 1958], "text": "you", "confidence": 0.997}, {"boundingBox": [696, + 1924, 762, 1924, 762, 1958, 695, 1958], "text": "50%", "confidence": 0.991}, + {"boundingBox": [769, 1924, 822, 1924, 821, 1958, 769, 1958], "text": "per", + "confidence": 0.998}, {"boundingBox": [829, 1924, 902, 1924, 901, 1958, 828, + 1958], "text": "book", "confidence": 0.994}, {"boundingBox": [909, 1924, 927, + 1924, 927, 1958, 908, 1958], "text": "if", "confidence": 0.996}, {"boundingBox": + [934, 1924, 1063, 1924, 1062, 1958, 933, 1958], "text": "returned", "confidence": + 0.991}, {"boundingBox": [1069, 1924, 1157, 1924, 1156, 1958, 1069, 1958], + "text": "within", "confidence": 0.996}, {"boundingBox": [1164, 1924, 1203, + 1924, 1201, 1958, 1162, 1958], "text": "60", "confidence": 0.997}, {"boundingBox": + [1209, 1924, 1283, 1924, 1281, 1958, 1208, 1958], "text": "days", "confidence": + 0.994}, {"boundingBox": [1290, 1924, 1319, 1924, 1318, 1958, 1288, 1958], + "text": "of", "confidence": 0.999}, {"boundingBox": [1326, 1924, 1441, 1924, + 1440, 1958, 1325, 1958], "text": "reading", "confidence": 0.996}, {"boundingBox": + [1448, 1924, 1507, 1924, 1505, 1958, 1446, 1958], "text": "and", "confidence": + 0.997}]}, {"boundingBox": [168, 1957, 786, 1958, 786, 1991, 168, 1991], "text": + "offer you 25% off you next total purchase.", "appearance": {"style": {"name": + "other", "confidence": 0.878}}, "words": [{"boundingBox": [169, 1958, 235, + 1958, 235, 1991, 169, 1991], "text": "offer", "confidence": 0.991}, {"boundingBox": + [241, 1958, 296, 1958, 296, 1992, 241, 1991], "text": "you", "confidence": + 0.994}, {"boundingBox": [307, 1958, 373, 1958, 374, 1992, 308, 1992], "text": + "25%", "confidence": 0.997}, {"boundingBox": [380, 1958, 420, 1958, 421, 1992, + 380, 1992], "text": "off", "confidence": 0.997}, {"boundingBox": [427, 1958, + 482, 1958, 482, 1992, 427, 1992], "text": "you", "confidence": 0.997}, {"boundingBox": + [489, 1958, 557, 1959, 557, 1992, 489, 1992], "text": "next", "confidence": + 0.994}, {"boundingBox": [563, 1959, 630, 1959, 630, 1991, 564, 1992], "text": + "total", "confidence": 0.996}, {"boundingBox": [636, 1959, 786, 1961, 786, + 1990, 636, 1991], "text": "purchase.", "confidence": 0.994}]}]}], "pageResults": + [{"page": 1, "tables": [{"rows": 5, "columns": 5, "cells": [{"rowIndex": 0, + "columnIndex": 0, "columnSpan": 2, "text": "Details", "boundingBox": [157, + 1038, 847, 1037, 847, 1086, 157, 1086], "elements": ["#/readResults/0/lines/21/words/0"]}, + {"rowIndex": 0, "columnIndex": 2, "text": "Quantity", "boundingBox": [847, + 1037, 1071, 1037, 1071, 1086, 847, 1086], "elements": ["#/readResults/0/lines/22/words/0"]}, {"rowIndex": 0, "columnIndex": 3, "text": "Unit Price", "boundingBox": [1071, 1037, 1310, 1038, 1310, 1086, 1071, 1086], "elements": ["#/readResults/0/lines/23/words/0", "#/readResults/0/lines/23/words/1"]}, {"rowIndex": 0, "columnIndex": 4, "text": @@ -390,15 +391,15 @@ interactions: 1663, 1543, 1663, 1543, 1708, 1308, 1707], "elements": ["#/readResults/0/lines/47/words/0"]}], "boundingBox": [1058, 1563, 1555, 1563, 1555, 1707, 1058, 1707]}]}]}}' headers: - apim-request-id: 0757553c-4922-4680-b20d-e952626f2099 - content-length: '24387' + apim-request-id: d292263d-54f9-418c-8193-462110679b74 + content-length: '24433' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:22 GMT + date: Wed, 03 Mar 2021 19:33:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '26' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/d6b64ba7-ccd3-47d6-93fd-ad9f69b2366a + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/8616c8a1-294f-4638-a6d1-d65092d07524 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_transform_pdf.yaml index af1c6ad862f1..759d1ce52f24 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_transform_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_content_from_url_async.test_content_url_transform_pdf.yaml @@ -1,66 +1,43 @@ interactions: - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/forms/Invoice_1.pdf"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '163' + - '216' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyze + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic response: body: string: '' headers: - apim-request-id: 22a5eba2-7145-4dc4-b74f-eacc96ff8c97 + apim-request-id: 6d8861b8-dcb6-4366-9339-ace27fad76db content-length: '0' - date: Fri, 30 Oct 2020 00:07:14 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/22a5eba2-7145-4dc4-b74f-eacc96ff8c97 + date: Wed, 03 Mar 2021 19:33:24 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6d8861b8-dcb6-4366-9339-ace27fad76db strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '62' + x-envoy-upstream-service-time: '152' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/layout/analyze + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyze?readingOrder=basic - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/22a5eba2-7145-4dc4-b74f-eacc96ff8c97 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6d8861b8-dcb6-4366-9339-ace27fad76db response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T00:07:14Z", "lastUpdatedDateTime": - "2020-10-30T00:07:14Z"}' - headers: - apim-request-id: ac061084-c3a8-4c13-8fd0-bb753379f3ff - content-length: '106' - content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:19 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' - status: - code: 200 - message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/22a5eba2-7145-4dc4-b74f-eacc96ff8c97 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/22a5eba2-7145-4dc4-b74f-eacc96ff8c97 - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T00:07:14Z", - "lastUpdatedDateTime": "2020-10-30T00:07:20Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:33:25Z", + "lastUpdatedDateTime": "2021-03-03T19:33:29Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "text": "Contoso", "appearance": {"style": @@ -184,15 +161,15 @@ interactions: 7.4922, 3.8534, 6.1079, 3.8534], "elements": []}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}]}}' headers: - apim-request-id: bb50be48-b0ab-4746-a2f0-22a5a4dd6c3e - content-length: '8802' + apim-request-id: 4a244e4d-88ea-4a76-98e3-477689b573b9 + content-length: '8901' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 00:07:24 GMT + date: Wed, 03 Mar 2021 19:33:29 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/layout/analyzeResults/22a5eba2-7145-4dc4-b74f-eacc96ff8c97 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/layout/analyzeResults/6d8861b8-dcb6-4366-9339-ace27fad76db version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_authentication_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_authentication_bad_key.yaml index 56bc9d66ca5e..aabce53e46a8 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_authentication_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_authentication_bad_key.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -25,7 +25,7 @@ interactions: content-length: - '224' date: - - Fri, 30 Oct 2020 01:11:30 GMT + - Mon, 01 Mar 2021 18:57:00 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_authentication_successful_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_authentication_successful_key.yaml index ae41ab734e75..a6ec41509071 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_authentication_successful_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_authentication_successful_key.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - f48e3e3b-bfdc-45ef-bc81-bc71d757de8c + - cef18f1d-2910-4fb4-ba2a-a13965b6f640 content-length: - '0' date: - - Fri, 30 Oct 2020 01:11:31 GMT + - Mon, 01 Mar 2021 18:57:00 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f48e3e3b-bfdc-45ef-bc81-bc71d757de8c + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/cef18f1d-2910-4fb4-ba2a-a13965b6f640 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '204' + - '243' status: code: 202 message: Accepted @@ -48,28 +48,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f48e3e3b-bfdc-45ef-bc81-bc71d757de8c + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/cef18f1d-2910-4fb4-ba2a-a13965b6f640 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:32Z", "lastUpdatedDateTime": - "2020-10-30T01:11:32Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:57:01Z", "lastUpdatedDateTime": + "2021-03-01T18:57:01Z"}' headers: apim-request-id: - - 13e0b1d8-140a-4bc3-bdfc-a6e847e57fc7 + - 5e452d1b-e2dc-4685-acc3-7f5888390f16 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:37 GMT + - Mon, 01 Mar 2021 18:57:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '24' status: code: 200 message: OK @@ -83,13 +83,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f48e3e3b-bfdc-45ef-bc81-bc71d757de8c + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/cef18f1d-2910-4fb4-ba2a-a13965b6f640 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:32Z", - "lastUpdatedDateTime": "2020-10-30T01:11:41Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:57:01Z", + "lastUpdatedDateTime": "2021-03-01T18:57:09Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 3, "columns": 6, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Invoice Number", "boundingBox": @@ -111,48 +111,48 @@ interactions: 3.311, 6.1079, 3.311, 6.1079, 3.8534, 4.7165, 3.8534]}, {"rowIndex": 1, "columnIndex": 5, "text": "PT", "boundingBox": [6.1079, 3.311, 7.4922, 3.311, 7.4922, 3.6393, 6.1079, 3.6393]}, {"rowIndex": 2, "columnIndex": 5, "boundingBox": [6.1079, - 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534]}], "boundingBox": + 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534], "text": ""}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": - [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"VendorName": - {"type": "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": - [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "page": - 1, "confidence": 0.948}, "CustomerAddressRecipient": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}, - "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 - Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", - "boundingBox": [0.8019, 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], - "page": 1, "confidence": 0.908}, "CustomerAddress": {"type": "string", "valueString": - "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise Way Sunnayvale, - CA 87659", "boundingBox": [5.196, 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, - 2.0359], "page": 1, "confidence": 0.991}, "InvoiceId": {"type": "string", - "valueString": "34278587", "text": "34278587", "boundingBox": [0.5397, 3.411, - 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], "page": 1, "confidence": 0.879}, - "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", - "boundingBox": [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], - "page": 1, "confidence": 0.929}, "DueDate": {"type": "date", "valueDate": - "2017-06-24", "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, - 3.9514, 3.5144, 3.346, 3.5144], "page": 1, "confidence": 0.992}, "InvoiceTotal": - {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": - [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], "page": - 1, "confidence": 0.895}, "CustomerName": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}}}]}}' + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [5.196, + 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, 2.0359], "page": 1, "confidence": + 0.992}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", + "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, + 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.989}, "CustomerName": + {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": + 1, "confidence": 0.989}, "DueDate": {"type": "date", "valueDate": "2017-06-24", + "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, 3.9514, 3.5144, + 3.346, 3.5144], "page": 1, "confidence": 0.989}, "InvoiceDate": {"type": "date", + "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [1.9455, 3.41, + 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], "page": 1, "confidence": 0.936}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], + "page": 1, "confidence": 0.842}, "InvoiceTotal": {"type": "number", "valueNumber": + 56651.49, "text": "$56,651.49", "boundingBox": [5.3871, 3.4047, 6.0702, 3.4047, + 6.0702, 3.5321, 5.3871, 3.5321], "page": 1, "confidence": 0.576}, "VendorAddress": + {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [0.8019, + 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], "page": 1, "confidence": + 0.953}, "VendorName": {"type": "string", "valueString": "Contoso", "text": + "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, + 0.5384, 1.3534], "page": 1, "confidence": 0.979}}}]}}' headers: apim-request-id: - - 8f2eceec-0210-4a1e-a064-26ea79a106c4 + - b1368064-3c67-4df1-b6ef-e53eaac23244 content-length: - - '3516' + - '3526' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:42 GMT + - Mon, 01 Mar 2021 18:57:11 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '57' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_blank_page.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_blank_page.yaml index 4344c218f701..e3694360f9a2 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_blank_page.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_blank_page.yaml @@ -464,27 +464,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - 77bb187d-5cb1-43db-945e-33b228fd3701 + - f9192d47-77a3-4984-b27e-380053399802 content-length: - '0' date: - - Fri, 30 Oct 2020 01:11:30 GMT + - Mon, 01 Mar 2021 18:57:12 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/77bb187d-5cb1-43db-945e-33b228fd3701 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/f9192d47-77a3-4984-b27e-380053399802 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '39' + - '75' status: code: 202 message: Accepted @@ -498,28 +498,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/77bb187d-5cb1-43db-945e-33b228fd3701 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/f9192d47-77a3-4984-b27e-380053399802 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:31Z", "lastUpdatedDateTime": - "2020-10-30T01:11:31Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:57:12Z", "lastUpdatedDateTime": + "2021-03-01T18:57:12Z"}' headers: apim-request-id: - - 3d307788-b782-476b-a12c-d479f3fd39a8 + - 8b8f3cd4-1278-42e0-9e5b-d4e60b949f36 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:36 GMT + - Mon, 01 Mar 2021 18:57:16 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '20' status: code: 200 message: OK @@ -533,31 +533,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/77bb187d-5cb1-43db-945e-33b228fd3701 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/f9192d47-77a3-4984-b27e-380053399802 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:31Z", - "lastUpdatedDateTime": "2020-10-30T01:11:37Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:57:12Z", + "lastUpdatedDateTime": "2021-03-01T18:57:18Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "pageResults": [{"page": 1}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {}}]}}' headers: apim-request-id: - - cbbb2c97-e626-4ebc-a3fc-4dd059e56347 + - 78c6b25a-b449-4f2d-b725-22a1bf5e3b4f content-length: - '327' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:41 GMT + - Mon, 01 Mar 2021 18:57:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '33' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_damaged_file_passed_as_bytes.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_damaged_file_passed_as_bytes.yaml index 152c0f7d2b86..8c9a67e94a7a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_damaged_file_passed_as_bytes.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_damaged_file_passed_as_bytes.yaml @@ -13,22 +13,22 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: - string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "8313bda1-657e-406a-8a6b-7281fce65a07"}, + string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "2853a4dc-a6b5-458a-b09c-436d1b841c1f"}, "message": "Bad or unrecognizable request JSON or binary file."}}' headers: apim-request-id: - - 8313bda1-657e-406a-8a6b-7281fce65a07 + - 2853a4dc-a6b5-458a-b09c-436d1b841c1f content-length: - '161' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:42 GMT + - Mon, 01 Mar 2021 18:57:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_damaged_file_passed_as_bytes_io.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_damaged_file_passed_as_bytes_io.yaml index 750fab8d833c..c4b004bf1d71 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_damaged_file_passed_as_bytes_io.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_damaged_file_passed_as_bytes_io.yaml @@ -18,28 +18,28 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: - string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "dc1f4111-a514-42e5-895d-4494dd47a908"}, + string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "92c47a18-14e8-44fc-878c-250d72c123c3"}, "message": "Bad or unrecognizable request JSON or binary file."}}' headers: apim-request-id: - - dc1f4111-a514-42e5-895d-4494dd47a908 + - 92c47a18-14e8-44fc-878c-250d72c123c3 content-length: - '161' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:31 GMT + - Mon, 01 Mar 2021 18:57:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '2' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_locale_error.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_locale_error.yaml index b7184c74deab..b41b777b4102 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_locale_error.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_locale_error.yaml @@ -14,29 +14,29 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false&locale=not%20a%20locale + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false&locale=not%20a%20locale response: body: string: '{"error": {"code": "UnsupportedLocale", "innerError": {"requestId": - "5151ed65-8e01-4aa1-b651-231a656256dc"}, "message": "Locale unsupported. Supported + "9b54495f-04e8-44b6-a0ed-a09244bda4fc"}, "message": "Locale unsupported. Supported locale includes en-US."}}' headers: apim-request-id: - - 5151ed65-8e01-4aa1-b651-231a656256dc + - 9b54495f-04e8-44b6-a0ed-a09244bda4fc content-length: - '169' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:31 GMT + - Mon, 01 Mar 2021 18:57:35 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '145' + - '168' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_locale_specified.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_locale_specified.yaml index bde30171c437..1de83ccb84f8 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_locale_specified.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_locale_specified.yaml @@ -1360,27 +1360,27 @@ interactions: Content-Type: - image/tiff User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false&locale=en-US + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false&locale=en-US response: body: string: '' headers: apim-request-id: - - 831b6b4e-e967-4ae4-a3dc-4683b301fc18 + - b5b2a7ec-5d30-4c0f-966c-3ef3c14ac505 content-length: - '0' date: - - Fri, 30 Oct 2020 01:11:43 GMT + - Mon, 01 Mar 2021 18:57:36 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/831b6b4e-e967-4ae4-a3dc-4683b301fc18 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/b5b2a7ec-5d30-4c0f-966c-3ef3c14ac505 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '99' + - '71' status: code: 202 message: Accepted @@ -1394,28 +1394,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/831b6b4e-e967-4ae4-a3dc-4683b301fc18 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/b5b2a7ec-5d30-4c0f-966c-3ef3c14ac505 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:43Z", "lastUpdatedDateTime": - "2020-10-30T01:11:43Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:57:36Z", "lastUpdatedDateTime": + "2021-03-01T18:57:36Z"}' headers: apim-request-id: - - 1e031cfd-1656-4642-89b1-6fa1a8acd0e2 + - d0afaa59-30d9-4cd5-949c-4dab8d62ff1c content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:48 GMT + - Mon, 01 Mar 2021 18:57:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '34' status: code: 200 message: OK @@ -1429,13 +1429,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/831b6b4e-e967-4ae4-a3dc-4683b301fc18 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/b5b2a7ec-5d30-4c0f-966c-3ef3c14ac505 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:43Z", - "lastUpdatedDateTime": "2020-10-30T01:11:51Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:57:36Z", + "lastUpdatedDateTime": "2021-03-01T18:57:43Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel"}], "pageResults": [{"page": 1, "tables": [{"rows": 3, "columns": 6, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Invoice @@ -1456,43 +1456,43 @@ interactions: 5, "rowSpan": 2, "text": "PT", "boundingBox": [1220, 662, 1500, 661, 1500, 769, 1220, 771]}], "boundingBox": [100, 556, 1499, 556, 1498, 771, 99, 771]}]}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": - {"VendorName": {"type": "string", "valueString": "Contoso", "text": "Contoso", - "boundingBox": [106, 232, 288, 234, 288, 274, 105, 274], "page": 1, "confidence": - 0.921}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", - "text": "Microsoft", "boundingBox": [1035, 299, 1164, 300, 1165, 326, 1036, - 327], "page": 1, "confidence": 0.993}, "VendorAddress": {"type": "string", - "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": "1 Redmond - way Suite 6000 Redmond, WA 99243", "boundingBox": [158, 337, 433, 337, 433, - 441, 158, 441], "page": 1, "confidence": 0.907}, "CustomerAddress": {"type": - "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", "text": - "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [1036.1, 337.1, - 1333.2, 338.1, 1333, 408.4, 1035.9, 407.5], "page": 1, "confidence": 0.995}, - "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", - "boundingBox": [105, 680, 229, 680, 230, 705, 106, 705], "page": 1, "confidence": - 0.768}, "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": + {"CustomerAddress": {"type": "string", "valueString": "1020 Enterprise Way + Sunnayvale, CA 87659", "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [1036.1, 337.1, 1333.2, 338.1, 1333, 408.4, 1035.9, 407.5], + "page": 1, "confidence": 0.992}, "CustomerAddressRecipient": {"type": "string", + "valueString": "Microsoft", "text": "Microsoft", "boundingBox": [1035, 299, + 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99}, "CustomerName": + {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99}, + "DueDate": {"type": "date", "valueDate": "2017-06-24", "text": "6/24/2017", + "boundingBox": [668, 679, 792, 679, 792, 705, 667, 705], "page": 1, "confidence": + 0.989}, "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [387, 680, 510, 680, 510, 705, 387, 705], "page": - 1, "confidence": 0.89}, "DueDate": {"type": "date", "valueDate": "2017-06-24", - "text": "6/24/2017", "boundingBox": [668, 679, 792, 679, 792, 705, 667, 705], - "page": 1, "confidence": 0.988}, "InvoiceTotal": {"type": "number", "valueNumber": + 1, "confidence": 0.926}, "InvoiceId": {"type": "string", "valueString": "34278587", + "text": "34278587", "boundingBox": [105, 680, 229, 680, 230, 705, 106, 705], + "page": 1, "confidence": 0.795}, "InvoiceTotal": {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": [1075, 680, 1224, 680, 1225, - 705, 1075, 707], "page": 1, "confidence": 0.847}, "CustomerName": {"type": - "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": - [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.993}}}]}}' + 705, 1075, 707], "page": 1, "confidence": 0.505}, "VendorAddress": {"type": + "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": + "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [158, 337, 433, + 337, 433, 441, 158, 441], "page": 1, "confidence": 0.946}, "VendorName": {"type": + "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": [106, + 232, 288, 234, 288, 274, 105, 274], "page": 1, "confidence": 0.87}}}]}}' headers: apim-request-id: - - 500ae541-c407-492f-b924-3d3b8ea56190 + - 7c5315af-6c58-4824-9cf5-171ebf9bf4d1 content-length: - - '3042' + - '3040' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:53 GMT + - Mon, 01 Mar 2021 18:57:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '38' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_multipage_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_multipage_pdf.yaml index 2aef6301762a..42747ff8598a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_multipage_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_multipage_pdf.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - 492a7493-0ef2-4e15-a49e-8d7ceb76470f + - af70a8d1-1b5c-4a8a-aa9a-c6c9e2cf2673 content-length: - '0' date: - - Wed, 04 Nov 2020 20:46:27 GMT + - Mon, 01 Mar 2021 18:57:47 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/492a7493-0ef2-4e15-a49e-8d7ceb76470f + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/af70a8d1-1b5c-4a8a-aa9a-c6c9e2cf2673 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '405' + - '268' status: code: 202 message: Accepted @@ -48,28 +48,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/492a7493-0ef2-4e15-a49e-8d7ceb76470f + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/af70a8d1-1b5c-4a8a-aa9a-c6c9e2cf2673 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-04T20:46:27Z", "lastUpdatedDateTime": - "2020-11-04T20:46:28Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:57:47Z", "lastUpdatedDateTime": + "2021-03-01T18:57:47Z"}' headers: apim-request-id: - - 874759ef-3a9c-4e77-adf6-bd31bffb680c + - 13cc4f8c-a1c2-4887-8938-650f3d515e3b content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Nov 2020 20:46:32 GMT + - Mon, 01 Mar 2021 18:57:52 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '20' status: code: 200 message: OK @@ -83,178 +83,102 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/492a7493-0ef2-4e15-a49e-8d7ceb76470f + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/af70a8d1-1b5c-4a8a-aa9a-c6c9e2cf2673 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-04T20:46:27Z", "lastUpdatedDateTime": - "2020-11-04T20:46:28Z"}' - headers: - apim-request-id: - - 3c5793a1-76bb-467c-b775-4bf3f196cf1b - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 04 Nov 2020 20:46:37 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '9' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/492a7493-0ef2-4e15-a49e-8d7ceb76470f - response: - body: - string: '{"status": "running", "createdDateTime": "2020-11-04T20:46:27Z", "lastUpdatedDateTime": - "2020-11-04T20:46:28Z"}' - headers: - apim-request-id: - - 16baf2d2-dbec-4c4b-9004-7a2a0b9ec6f8 - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 04 Nov 2020 20:46:43 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '10' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/492a7493-0ef2-4e15-a49e-8d7ceb76470f - response: - body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-04T20:46:27Z", - "lastUpdatedDateTime": "2020-11-04T20:46:44Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:57:47Z", + "lastUpdatedDateTime": "2021-03-01T18:57:55Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}, {"page": 2, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 13, "columns": 4, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Package", "boundingBox": - [0.9975, 4.6436, 2.6168, 4.6436, 2.6168, 4.8578, 0.9975, 4.8578], "elements": - []}, {"rowIndex": 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", - "boundingBox": [2.6168, 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578], - "elements": []}, {"rowIndex": 0, "columnIndex": 3, "text": "Price", "boundingBox": - [5.7422, 4.6436, 7.4882, 4.6436, 7.4882, 4.8513, 5.7422, 4.8578], "elements": - []}, {"rowIndex": 1, "columnIndex": 0, "text": "Gold Sponsor", "boundingBox": - [0.9975, 4.8578, 2.6168, 4.8578, 2.6168, 5.0849, 0.9975, 5.0914], "elements": - []}, {"rowIndex": 1, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, - 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, 5.0849], "elements": []}, {"rowIndex": - 1, "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, 4.8578, 5.7422, - 4.8578, 5.7422, 5.0849, 3.15, 5.0849], "elements": []}, {"rowIndex": 1, "columnIndex": + [0.9975, 4.6436, 2.6168, 4.6436, 2.6168, 4.8578, 0.9975, 4.8578]}, {"rowIndex": + 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", "boundingBox": [2.6168, + 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578]}, {"rowIndex": 0, + "columnIndex": 3, "text": "Price", "boundingBox": [5.7422, 4.6436, 7.4882, + 4.6436, 7.4882, 4.8513, 5.7422, 4.8578]}, {"rowIndex": 1, "columnIndex": 0, + "text": "Gold Sponsor", "boundingBox": [0.9975, 4.8578, 2.6168, 4.8578, 2.6168, + 5.0849, 0.9975, 5.0914]}, {"rowIndex": 1, "columnIndex": 1, "text": "\uf0b7", + "boundingBox": [2.6168, 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, 5.0849]}, + {"rowIndex": 1, "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, + 4.8578, 5.7422, 4.8578, 5.7422, 5.0849, 3.15, 5.0849]}, {"rowIndex": 1, "columnIndex": 3, "text": "$1,500", "boundingBox": [5.7422, 4.8578, 7.4882, 4.8513, 7.4882, - 5.0849, 5.7422, 5.0849], "elements": []}, {"rowIndex": 2, "columnIndex": 0, - "rowSpan": 3, "boundingBox": [0.9975, 5.0914, 2.6168, 5.0849, 2.6168, 5.9222, - 0.9975, 5.9222], "text": "", "elements": []}, {"rowIndex": 2, "columnIndex": - 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 5.0849, 3.15, 5.0849, - 3.15, 5.5198, 2.6168, 5.5198], "elements": []}, {"rowIndex": 2, "columnIndex": - 2, "text": "Pre-keynote thank you Logo on poster", "boundingBox": [3.15, 5.0849, - 5.7422, 5.0849, 5.7489, 5.5133, 3.15, 5.5198], "elements": []}, {"rowIndex": + 5.0849, 5.7422, 5.0849]}, {"rowIndex": 2, "columnIndex": 0, "rowSpan": 3, + "boundingBox": [0.9975, 5.0914, 2.6168, 5.0849, 2.6168, 5.9222, 0.9975, 5.9222], + "text": ""}, {"rowIndex": 2, "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": + [2.6168, 5.0849, 3.15, 5.0849, 3.15, 5.5198, 2.6168, 5.5198]}, {"rowIndex": + 2, "columnIndex": 2, "text": "Pre-keynote thank you Logo on poster", "boundingBox": + [3.15, 5.0849, 5.7422, 5.0849, 5.7489, 5.5133, 3.15, 5.5198]}, {"rowIndex": 2, "columnIndex": 3, "boundingBox": [5.7422, 5.0849, 7.4882, 5.0849, 7.4882, - 5.5198, 5.7489, 5.5133], "text": "", "elements": []}, {"rowIndex": 3, "columnIndex": - 1, "columnSpan": 2, "text": "\uf0b7 Full page ad in program guide", "boundingBox": - [2.6168, 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, 5.7534], "elements": - []}, {"rowIndex": 3, "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, - 5.5198, 7.4882, 5.7469, 5.7489, 5.7404], "text": "", "elements": []}, {"rowIndex": - 4, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7", "boundingBox": [2.6168, - 5.7534, 5.7489, 5.7404, 5.7489, 5.9222, 2.6168, 5.9222], "elements": []}, - {"rowIndex": 4, "columnIndex": 3, "boundingBox": [5.7489, 5.7404, 7.4882, - 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": "", "elements": []}, {"rowIndex": - 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", "boundingBox": - [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788], "elements": - []}, {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 - \uf0b7 \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, - 2.6168, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 2, "rowSpan": - 2, "text": "Full booth Post-keynote thank you Logo on poster Half page ad - in program guide", "boundingBox": [3.15, 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, - 3.15, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 3, "rowSpan": - 2, "text": "$1,200", "boundingBox": [5.7489, 5.9222, 7.4948, 5.9222, 7.4948, - 6.7788, 5.7489, 6.7853], "elements": []}, {"rowIndex": 7, "columnIndex": 0, - "rowSpan": 2, "text": "Bronze Sponsor", "boundingBox": [0.9975, 6.7788, 2.6168, - 6.7853, 2.6168, 7.6355, 0.9975, 7.629], "elements": []}, {"rowIndex": 7, "columnIndex": + 5.5198, 5.7489, 5.5133], "text": ""}, {"rowIndex": 3, "columnIndex": 1, "columnSpan": + 2, "text": "\uf0b7 Full page ad in program guide", "boundingBox": [2.6168, + 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, 5.7534]}, {"rowIndex": 3, + "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, 5.5198, 7.4882, + 5.7469, 5.7489, 5.7404], "text": ""}, {"rowIndex": 4, "columnIndex": 1, "columnSpan": + 2, "text": "\uf0b7", "boundingBox": [2.6168, 5.7534, 5.7489, 5.7404, 5.7489, + 5.9222, 2.6168, 5.9222]}, {"rowIndex": 4, "columnIndex": 3, "boundingBox": + [5.7489, 5.7404, 7.4882, 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": + ""}, {"rowIndex": 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", + "boundingBox": [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788]}, + {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 \uf0b7 + \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, 2.6168, + 6.7853]}, {"rowIndex": 5, "columnIndex": 2, "rowSpan": 2, "text": "Full booth + Post-keynote thank you Logo on poster Half page ad in program guide", "boundingBox": + [3.15, 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, 3.15, 6.7853]}, {"rowIndex": + 5, "columnIndex": 3, "rowSpan": 2, "text": "$1,200", "boundingBox": [5.7489, + 5.9222, 7.4948, 5.9222, 7.4948, 6.7788, 5.7489, 6.7853]}, {"rowIndex": 7, + "columnIndex": 0, "rowSpan": 2, "text": "Bronze Sponsor", "boundingBox": [0.9975, + 6.7788, 2.6168, 6.7853, 2.6168, 7.6355, 0.9975, 7.629]}, {"rowIndex": 7, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, 6.7853, 3.15, 6.7853, 3.15, 7.019, - 2.6168, 7.019], "elements": []}, {"rowIndex": 7, "columnIndex": 2, "rowSpan": - 2, "text": "Full booth Logo on poster 50% discount on program guide advertisements", - "boundingBox": [3.15, 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355], - "elements": []}, {"rowIndex": 7, "columnIndex": 3, "rowSpan": 2, "text": "$1,000", - "boundingBox": [5.7489, 6.7853, 7.4948, 6.7788, 7.4948, 7.6355, 5.7489, 7.6355], - "elements": []}, {"rowIndex": 8, "columnIndex": 1, "text": "\uf0b7 \uf0b7", - "boundingBox": [2.6168, 7.019, 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355], - "elements": []}, {"rowIndex": 9, "columnIndex": 0, "rowSpan": 2, "text": "Full - Booth", "boundingBox": [0.9975, 7.629, 2.6168, 7.6355, 2.6102, 8.2651, 0.9975, - 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 1, "rowSpan": 2, - "columnSpan": 2, "text": "\uf0b7 Full booth \uf0b7 50% discount on program - guide advertisements", "boundingBox": [2.6168, 7.6355, 5.7489, 7.6355, 5.7489, - 8.2651, 2.6102, 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 3, + 2.6168, 7.019]}, {"rowIndex": 7, "columnIndex": 2, "rowSpan": 2, "text": "Full + booth Logo on poster 50% discount on program guide advertisements", "boundingBox": + [3.15, 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355]}, {"rowIndex": + 7, "columnIndex": 3, "rowSpan": 2, "text": "$1,000", "boundingBox": [5.7489, + 6.7853, 7.4948, 6.7788, 7.4948, 7.6355, 5.7489, 7.6355]}, {"rowIndex": 8, + "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 7.019, + 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355]}, {"rowIndex": 9, "columnIndex": + 0, "rowSpan": 2, "text": "Full Booth", "boundingBox": [0.9975, 7.629, 2.6168, + 7.6355, 2.6102, 8.2651, 0.9975, 8.2651]}, {"rowIndex": 9, "columnIndex": 1, + "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 Full booth \uf0b7 50% discount + on program guide advertisements", "boundingBox": [2.6168, 7.6355, 5.7489, + 7.6355, 5.7489, 8.2651, 2.6102, 8.2651]}, {"rowIndex": 9, "columnIndex": 3, "rowSpan": 2, "text": "$600", "boundingBox": [5.7489, 7.6355, 7.4948, 7.6355, - 7.4948, 8.2651, 5.7489, 8.2651], "elements": []}, {"rowIndex": 11, "columnIndex": - 0, "rowSpan": 2, "text": "Half Booth", "boundingBox": [0.9975, 8.2651, 2.6102, - 8.2651, 2.6102, 8.9011, 0.9975, 8.9011], "elements": []}, {"rowIndex": 11, - "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 Full booth - \uf0b7 25% discount on program guide advertisements", "boundingBox": [2.6102, - 8.2651, 5.7489, 8.2651, 5.7489, 8.9011, 2.6102, 8.9011], "elements": []}, - {"rowIndex": 11, "columnIndex": 3, "rowSpan": 2, "text": "$350", "boundingBox": - [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, 8.9011, 5.7489, 8.9011], "elements": - []}], "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, - 8.9066]}]}, {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", - "pageRange": [1, 2], "fields": {"VendorName": {"type": "string", "valueString": - "Southridge Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, - 3.3477, 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": - 0.969}, "RemittanceAddressRecipient": {"type": "string", "valueString": "Contoso - Ltd.", "text": "Contoso Ltd.", "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, - 1.843, 3.6897, 1.0078, 3.6897], "page": 1, "confidence": 0.954}, "RemittanceAddress": - {"type": "string", "valueString": "2345 Dogwood Lane Birch, Kansas 98123", - "text": "2345 Dogwood Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, - 2.3768, 3.7939, 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": - 0.952}}}]}}' + 7.4948, 8.2651, 5.7489, 8.2651]}, {"rowIndex": 11, "columnIndex": 0, "rowSpan": + 2, "text": "Half Booth", "boundingBox": [0.9975, 8.2651, 2.6102, 8.2651, 2.6102, + 8.9011, 0.9975, 8.9011]}, {"rowIndex": 11, "columnIndex": 1, "rowSpan": 2, + "columnSpan": 2, "text": "\uf0b7 Full booth \uf0b7 25% discount on program + guide advertisements", "boundingBox": [2.6102, 8.2651, 5.7489, 8.2651, 5.7489, + 8.9011, 2.6102, 8.9011]}, {"rowIndex": 11, "columnIndex": 3, "rowSpan": 2, + "text": "$350", "boundingBox": [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, 8.9011, + 5.7489, 8.9011]}], "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, + 8.9061, 0.9936, 8.9066]}]}, {"page": 2}], "documentResults": [{"docType": + "prebuilt:invoice", "pageRange": [1, 2], "fields": {"RemittanceAddress": {"type": + "string", "valueString": "2345 Dogwood Lane Birch, Kansas 98123", "text": + "2345 Dogwood Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, 2.3768, + 3.7939, 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": 0.892}, + "RemittanceAddressRecipient": {"type": "string", "valueString": "Contoso Ltd.", + "text": "Contoso Ltd.", "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, 1.843, + 3.6897, 1.0078, 3.6897], "page": 1, "confidence": 0.915}, "VendorName": {"type": + "string", "valueString": "Southridge Video", "text": "Southridge Video", "boundingBox": + [2.1925, 2.7686, 3.3477, 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": + 2, "confidence": 0.962}}}]}}' headers: apim-request-id: - - 4c6bfbd3-8b4f-43f7-a66e-f1dcbf7c5b13 + - 00423bff-da74-4457-88d3-b8e8456a08de content-length: - - '5652' + - '5232' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Nov 2020 20:46:47 GMT + - Mon, 01 Mar 2021 18:57:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '41' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_pdf.yaml index a51059bedbd3..b3a106305950 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_pdf.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - 5ce55a9d-86c6-458e-91e1-3a3529b4778c + - 090b4057-4fd0-44af-a070-f23e02c142f2 content-length: - '0' date: - - Fri, 30 Oct 2020 01:11:31 GMT + - Mon, 01 Mar 2021 18:57:58 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5ce55a9d-86c6-458e-91e1-3a3529b4778c + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/090b4057-4fd0-44af-a070-f23e02c142f2 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '168' + - '209' status: code: 202 message: Accepted @@ -48,28 +48,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5ce55a9d-86c6-458e-91e1-3a3529b4778c + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/090b4057-4fd0-44af-a070-f23e02c142f2 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:32Z", "lastUpdatedDateTime": - "2020-10-30T01:11:33Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:57:58Z", "lastUpdatedDateTime": + "2021-03-01T18:57:59Z"}' headers: apim-request-id: - - d7ccaf72-7487-48b5-90a0-6f3de40a7d34 + - c61bf586-139a-400d-9926-2a831cd13117 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:36 GMT + - Mon, 01 Mar 2021 18:58:03 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '19' status: code: 200 message: OK @@ -83,13 +83,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5ce55a9d-86c6-458e-91e1-3a3529b4778c + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/090b4057-4fd0-44af-a070-f23e02c142f2 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:32Z", - "lastUpdatedDateTime": "2020-10-30T01:11:41Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:57:58Z", + "lastUpdatedDateTime": "2021-03-01T18:58:06Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 3, "columns": 6, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Invoice Number", "boundingBox": @@ -111,48 +111,48 @@ interactions: 3.311, 6.1079, 3.311, 6.1079, 3.8534, 4.7165, 3.8534]}, {"rowIndex": 1, "columnIndex": 5, "text": "PT", "boundingBox": [6.1079, 3.311, 7.4922, 3.311, 7.4922, 3.6393, 6.1079, 3.6393]}, {"rowIndex": 2, "columnIndex": 5, "boundingBox": [6.1079, - 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534]}], "boundingBox": + 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534], "text": ""}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": - [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"VendorName": - {"type": "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": - [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "page": - 1, "confidence": 0.948}, "CustomerAddressRecipient": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}, - "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 - Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", - "boundingBox": [0.8019, 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], - "page": 1, "confidence": 0.908}, "CustomerAddress": {"type": "string", "valueString": - "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise Way Sunnayvale, - CA 87659", "boundingBox": [5.196, 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, - 2.0359], "page": 1, "confidence": 0.991}, "InvoiceId": {"type": "string", - "valueString": "34278587", "text": "34278587", "boundingBox": [0.5397, 3.411, - 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], "page": 1, "confidence": 0.879}, - "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", - "boundingBox": [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], - "page": 1, "confidence": 0.929}, "DueDate": {"type": "date", "valueDate": - "2017-06-24", "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, - 3.9514, 3.5144, 3.346, 3.5144], "page": 1, "confidence": 0.992}, "InvoiceTotal": - {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": - [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], "page": - 1, "confidence": 0.895}, "CustomerName": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}}}]}}' + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [5.196, + 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, 2.0359], "page": 1, "confidence": + 0.992}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", + "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, + 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.989}, "CustomerName": + {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": + 1, "confidence": 0.989}, "DueDate": {"type": "date", "valueDate": "2017-06-24", + "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, 3.9514, 3.5144, + 3.346, 3.5144], "page": 1, "confidence": 0.989}, "InvoiceDate": {"type": "date", + "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [1.9455, 3.41, + 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], "page": 1, "confidence": 0.936}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], + "page": 1, "confidence": 0.842}, "InvoiceTotal": {"type": "number", "valueNumber": + 56651.49, "text": "$56,651.49", "boundingBox": [5.3871, 3.4047, 6.0702, 3.4047, + 6.0702, 3.5321, 5.3871, 3.5321], "page": 1, "confidence": 0.576}, "VendorAddress": + {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [0.8019, + 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], "page": 1, "confidence": + 0.953}, "VendorName": {"type": "string", "valueString": "Contoso", "text": + "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, + 0.5384, 1.3534], "page": 1, "confidence": 0.979}}}]}}' headers: apim-request-id: - - 8b42a660-1a01-4319-afef-7adc82bcea21 + - 3894ae2d-4d3e-4fe1-aa0d-e175561d303d content-length: - - '3516' + - '3526' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:42 GMT + - Mon, 01 Mar 2021 18:58:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '34' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_pdf_include_field_elements.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_pdf_include_field_elements.yaml index 5754ca545286..16972c9828e6 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_pdf_include_field_elements.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_pdf_include_field_elements.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true response: body: string: '' headers: apim-request-id: - - f374261a-d19a-410e-bdba-db8b2357d52f + - 15af914d-7af5-46be-b016-54008db33dd2 content-length: - '0' date: - - Tue, 03 Nov 2020 17:15:11 GMT + - Mon, 01 Mar 2021 18:58:09 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f374261a-d19a-410e-bdba-db8b2357d52f + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/15af914d-7af5-46be-b016-54008db33dd2 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '279' + - '221' status: code: 202 message: Accepted @@ -48,28 +48,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f374261a-d19a-410e-bdba-db8b2357d52f + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/15af914d-7af5-46be-b016-54008db33dd2 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-03T17:15:11Z", "lastUpdatedDateTime": - "2020-11-03T17:15:11Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:58:09Z", "lastUpdatedDateTime": + "2021-03-01T18:58:10Z"}' headers: apim-request-id: - - e4277d3f-6374-4fe6-9ad6-c68a9c56ac96 + - c663fed5-130d-46d1-ac51-af28f7bd21ed content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Nov 2020 17:15:16 GMT + - Mon, 01 Mar 2021 18:58:14 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '38' status: code: 200 message: OK @@ -83,13 +83,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/f374261a-d19a-410e-bdba-db8b2357d52f + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/15af914d-7af5-46be-b016-54008db33dd2 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-03T17:15:11Z", - "lastUpdatedDateTime": "2020-11-03T17:15:21Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:58:09Z", + "lastUpdatedDateTime": "2021-03-01T18:58:19Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"text": "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "words": [{"text": "Contoso", @@ -213,55 +213,56 @@ interactions: 2, "columnIndex": 5, "boundingBox": [6.1079, 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534], "text": "", "elements": []}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": - [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"VendorName": - {"type": "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": - [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "page": - 1, "confidence": 0.948, "elements": ["#/readResults/0/lines/0/words/0"]}, - "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", - "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, - 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986, "elements": ["#/readResults/0/lines/2/words/2"]}, + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [5.196, + 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, 2.0359], "page": 1, "confidence": + 0.992, "elements": ["#/readResults/0/lines/4/words/0", "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2"]}, "CustomerAddressRecipient": {"type": + "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": + 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/2/words/2"]}, + "CustomerName": {"type": "string", "valueString": "Microsoft", "text": "Microsoft", + "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], + "page": 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/2/words/2"]}, + "DueDate": {"type": "date", "valueDate": "2017-06-24", "text": "6/24/2017", + "boundingBox": [3.346, 3.41, 3.9514, 3.41, 3.9514, 3.5144, 3.346, 3.5144], + "page": 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/15/words/0"]}, + "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", + "boundingBox": [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], + "page": 1, "confidence": 0.936, "elements": ["#/readResults/0/lines/14/words/0"]}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], + "page": 1, "confidence": 0.842, "elements": ["#/readResults/0/lines/13/words/0"]}, + "InvoiceTotal": {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", + "boundingBox": [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], + "page": 1, "confidence": 0.576, "elements": ["#/readResults/0/lines/16/words/0"]}, "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [0.8019, 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], - "page": 1, "confidence": 0.908, "elements": ["#/readResults/0/lines/3/words/0", + "page": 1, "confidence": 0.953, "elements": ["#/readResults/0/lines/3/words/0", "#/readResults/0/lines/3/words/1", "#/readResults/0/lines/3/words/2", "#/readResults/0/lines/3/words/3", "#/readResults/0/lines/5/words/0", "#/readResults/0/lines/5/words/1", "#/readResults/0/lines/5/words/2", - "#/readResults/0/lines/7/words/0"]}, "CustomerAddress": {"type": "string", - "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise - Way Sunnayvale, CA 87659", "boundingBox": [5.196, 1.716, 6.6526, 1.716, 6.6526, - 2.0359, 5.196, 2.0359], "page": 1, "confidence": 0.991, "elements": ["#/readResults/0/lines/4/words/0", - "#/readResults/0/lines/4/words/1", "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", - "#/readResults/0/lines/6/words/1", "#/readResults/0/lines/6/words/2"]}, "InvoiceId": - {"type": "string", "valueString": "34278587", "text": "34278587", "boundingBox": - [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], "page": 1, - "confidence": 0.879, "elements": ["#/readResults/0/lines/13/words/0"]}, "InvoiceDate": - {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": - [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], "page": 1, "confidence": - 0.929, "elements": ["#/readResults/0/lines/14/words/0"]}, "DueDate": {"type": - "date", "valueDate": "2017-06-24", "text": "6/24/2017", "boundingBox": [3.346, - 3.41, 3.9514, 3.41, 3.9514, 3.5144, 3.346, 3.5144], "page": 1, "confidence": - 0.992, "elements": ["#/readResults/0/lines/15/words/0"]}, "InvoiceTotal": - {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": - [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], "page": - 1, "confidence": 0.895, "elements": ["#/readResults/0/lines/16/words/0"]}, - "CustomerName": {"type": "string", "valueString": "Microsoft", "text": "Microsoft", - "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], - "page": 1, "confidence": 0.986, "elements": ["#/readResults/0/lines/2/words/2"]}}}]}}' + "#/readResults/0/lines/7/words/0"]}, "VendorName": {"type": "string", "valueString": + "Contoso", "text": "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, + 1.4466, 1.3534, 0.5384, 1.3534], "page": 1, "confidence": 0.979, "elements": + ["#/readResults/0/lines/0/words/0"]}}}]}}' headers: apim-request-id: - - 14b3b2d8-568e-4320-b33a-a31d036e8c6d + - 9f50f268-57c4-4840-b832-06477fea9f7c content-length: - '11420' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Nov 2020 17:15:21 GMT + - Mon, 01 Mar 2021 18:58:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '18' + - '38' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_multipage_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_multipage_transform_pdf.yaml index da557ccc8274..783bcfb344e0 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_multipage_transform_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_multipage_transform_pdf.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true response: body: string: '' headers: apim-request-id: - - 7d787c12-eb1a-443f-a92d-53792d503d21 + - 594416ab-ca6c-4467-bc38-4706f0dc21cd content-length: - '0' date: - - Wed, 04 Nov 2020 20:40:12 GMT + - Mon, 01 Mar 2021 18:58:20 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7d787c12-eb1a-443f-a92d-53792d503d21 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/594416ab-ca6c-4467-bc38-4706f0dc21cd strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '648' + - '233' status: code: 202 message: Accepted @@ -48,28 +48,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7d787c12-eb1a-443f-a92d-53792d503d21 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/594416ab-ca6c-4467-bc38-4706f0dc21cd response: body: - string: '{"status": "running", "createdDateTime": "2020-11-04T20:40:12Z", "lastUpdatedDateTime": - "2020-11-04T20:40:12Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:58:20Z", "lastUpdatedDateTime": + "2021-03-01T18:58:21Z"}' headers: apim-request-id: - - ce070961-1289-4bc0-9fcc-5d727d3843b0 + - c5332a0d-2e53-4e5d-9f2f-6c7cd06a24d2 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Nov 2020 20:40:17 GMT + - Mon, 01 Mar 2021 18:58:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '82' + - '28' status: code: 200 message: OK @@ -83,13 +83,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/7d787c12-eb1a-443f-a92d-53792d503d21 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/594416ab-ca6c-4467-bc38-4706f0dc21cd response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-04T20:40:12Z", - "lastUpdatedDateTime": "2020-11-04T20:40:21Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:58:20Z", + "lastUpdatedDateTime": "2021-03-01T18:58:29Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"text": "Vendor #:121", "boundingBox": [6.1276, 1.0667, 7.4833, 1.0667, 7.4833, 1.2403, 6.1276, 1.2403], "words": [{"text": @@ -595,34 +595,34 @@ interactions: 8.9011, 5.7489, 8.9011], "elements": ["#/readResults/0/lines/53/words/0"]}], "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, 8.9066]}]}, {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": - [1, 2], "fields": {"VendorName": {"type": "string", "valueString": "Southridge - Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, 3.3477, - 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": 0.969, "elements": - ["#/readResults/1/lines/2/words/2", "#/readResults/1/lines/2/words/3"]}, "RemittanceAddressRecipient": + [1, 2], "fields": {"RemittanceAddress": {"type": "string", "valueString": + "2345 Dogwood Lane Birch, Kansas 98123", "text": "2345 Dogwood Lane Birch, + Kansas 98123", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, 2.3768, 4.1518, + 1.0093, 4.1518], "page": 1, "confidence": 0.892, "elements": ["#/readResults/0/lines/7/words/0", + "#/readResults/0/lines/7/words/1", "#/readResults/0/lines/7/words/2", "#/readResults/0/lines/8/words/0", + "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2"]}, "RemittanceAddressRecipient": {"type": "string", "valueString": "Contoso Ltd.", "text": "Contoso Ltd.", "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.0078, 3.6897], - "page": 1, "confidence": 0.954, "elements": ["#/readResults/0/lines/6/words/0", - "#/readResults/0/lines/6/words/1"]}, "RemittanceAddress": {"type": "string", - "valueString": "2345 Dogwood Lane Birch, Kansas 98123", "text": "2345 Dogwood - Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, - 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": 0.952, "elements": - ["#/readResults/0/lines/7/words/0", "#/readResults/0/lines/7/words/1", "#/readResults/0/lines/7/words/2", - "#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2"]}}}]}}' + "page": 1, "confidence": 0.915, "elements": ["#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1"]}, "VendorName": {"type": "string", "valueString": + "Southridge Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, + 3.3477, 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": + 0.962, "elements": ["#/readResults/1/lines/2/words/2", "#/readResults/1/lines/2/words/3"]}}}]}}' headers: apim-request-id: - - 04c7f109-402b-457f-9569-3bc07e397d4d + - a7f86519-33da-4847-b397-d2e6a88186c8 content-length: - '37206' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Nov 2020 20:40:22 GMT + - Mon, 01 Mar 2021 18:58:30 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '87' + - '47' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_transform_pdf.yaml index 54e334a0da68..8d86a3078d5f 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_transform_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_transform_pdf.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true response: body: string: '' headers: apim-request-id: - - 564b7aa1-8d71-4762-a4a9-29355a7ecaa4 + - 1d97e744-51c2-4b71-995e-e53dbfaf35a0 content-length: - '0' date: - - Fri, 30 Oct 2020 01:11:44 GMT + - Mon, 01 Mar 2021 18:58:31 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/564b7aa1-8d71-4762-a4a9-29355a7ecaa4 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/1d97e744-51c2-4b71-995e-e53dbfaf35a0 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '175' + - '225' status: code: 202 message: Accepted @@ -48,28 +48,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/564b7aa1-8d71-4762-a4a9-29355a7ecaa4 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/1d97e744-51c2-4b71-995e-e53dbfaf35a0 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:44Z", "lastUpdatedDateTime": - "2020-10-30T01:11:44Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:58:31Z", "lastUpdatedDateTime": + "2021-03-01T18:58:32Z"}' headers: apim-request-id: - - 49cd14b5-0d88-439c-b367-d73fc33175ca + - 0b0ac66e-e7e0-4032-8258-f12d1156c278 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:49 GMT + - Mon, 01 Mar 2021 18:58:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '29' status: code: 200 message: OK @@ -83,13 +83,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/564b7aa1-8d71-4762-a4a9-29355a7ecaa4 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/1d97e744-51c2-4b71-995e-e53dbfaf35a0 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:44Z", - "lastUpdatedDateTime": "2020-10-30T01:11:53Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:58:31Z", + "lastUpdatedDateTime": "2021-03-01T18:58:37Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"text": "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "words": [{"text": "Contoso", @@ -211,57 +211,58 @@ interactions: 5, "text": "PT", "boundingBox": [6.1079, 3.311, 7.4922, 3.311, 7.4922, 3.6393, 6.1079, 3.6393], "elements": ["#/readResults/0/lines/17/words/0"]}, {"rowIndex": 2, "columnIndex": 5, "boundingBox": [6.1079, 3.6393, 7.4922, 3.6393, 7.4922, - 3.8534, 6.1079, 3.8534]}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, - 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": [{"docType": "prebuilt:invoice", - "pageRange": [1, 1], "fields": {"VendorName": {"type": "string", "valueString": - "Contoso", "text": "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, - 1.4466, 1.3534, 0.5384, 1.3534], "page": 1, "confidence": 0.948, "elements": - ["#/readResults/0/lines/0/words/0"]}, "CustomerAddressRecipient": {"type": + 3.8534, 6.1079, 3.8534], "text": "", "elements": []}], "boundingBox": [0.4985, + 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [5.196, + 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, 2.0359], "page": 1, "confidence": + 0.992, "elements": ["#/readResults/0/lines/4/words/0", "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2"]}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": - 1, "confidence": 0.986, "elements": ["#/readResults/0/lines/2/words/2"]}, + 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/2/words/2"]}, + "CustomerName": {"type": "string", "valueString": "Microsoft", "text": "Microsoft", + "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], + "page": 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/2/words/2"]}, + "DueDate": {"type": "date", "valueDate": "2017-06-24", "text": "6/24/2017", + "boundingBox": [3.346, 3.41, 3.9514, 3.41, 3.9514, 3.5144, 3.346, 3.5144], + "page": 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/15/words/0"]}, + "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", + "boundingBox": [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], + "page": 1, "confidence": 0.936, "elements": ["#/readResults/0/lines/14/words/0"]}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], + "page": 1, "confidence": 0.842, "elements": ["#/readResults/0/lines/13/words/0"]}, + "InvoiceTotal": {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", + "boundingBox": [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], + "page": 1, "confidence": 0.576, "elements": ["#/readResults/0/lines/16/words/0"]}, "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [0.8019, 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], - "page": 1, "confidence": 0.908, "elements": ["#/readResults/0/lines/3/words/0", + "page": 1, "confidence": 0.953, "elements": ["#/readResults/0/lines/3/words/0", "#/readResults/0/lines/3/words/1", "#/readResults/0/lines/3/words/2", "#/readResults/0/lines/3/words/3", "#/readResults/0/lines/5/words/0", "#/readResults/0/lines/5/words/1", "#/readResults/0/lines/5/words/2", - "#/readResults/0/lines/7/words/0"]}, "CustomerAddress": {"type": "string", - "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise - Way Sunnayvale, CA 87659", "boundingBox": [5.196, 1.716, 6.6526, 1.716, 6.6526, - 2.0359, 5.196, 2.0359], "page": 1, "confidence": 0.991, "elements": ["#/readResults/0/lines/4/words/0", - "#/readResults/0/lines/4/words/1", "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", - "#/readResults/0/lines/6/words/1", "#/readResults/0/lines/6/words/2"]}, "InvoiceId": - {"type": "string", "valueString": "34278587", "text": "34278587", "boundingBox": - [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], "page": 1, - "confidence": 0.879, "elements": ["#/readResults/0/lines/13/words/0"]}, "InvoiceDate": - {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": - [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], "page": 1, "confidence": - 0.929, "elements": ["#/readResults/0/lines/14/words/0"]}, "DueDate": {"type": - "date", "valueDate": "2017-06-24", "text": "6/24/2017", "boundingBox": [3.346, - 3.41, 3.9514, 3.41, 3.9514, 3.5144, 3.346, 3.5144], "page": 1, "confidence": - 0.992, "elements": ["#/readResults/0/lines/15/words/0"]}, "InvoiceTotal": - {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": - [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], "page": - 1, "confidence": 0.895, "elements": ["#/readResults/0/lines/16/words/0"]}, - "CustomerName": {"type": "string", "valueString": "Microsoft", "text": "Microsoft", - "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], - "page": 1, "confidence": 0.986, "elements": ["#/readResults/0/lines/2/words/2"]}}}]}}' + "#/readResults/0/lines/7/words/0"]}, "VendorName": {"type": "string", "valueString": + "Contoso", "text": "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, + 1.4466, 1.3534, 0.5384, 1.3534], "page": 1, "confidence": 0.979, "elements": + ["#/readResults/0/lines/0/words/0"]}}}]}}' headers: apim-request-id: - - 6e6b3e85-0f1c-433d-8536-b4d05b4345cf + - 9cc21364-aa9f-4727-81c9-55362d135e4e content-length: - - '11396' + - '11420' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:54 GMT + - Mon, 01 Mar 2021 18:58:41 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '46' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_transform_tiff.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_transform_tiff.yaml index c1bac5a8c434..0ee4e2370ce5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_transform_tiff.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_stream_transform_tiff.yaml @@ -1360,27 +1360,27 @@ interactions: Content-Type: - image/tiff User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true response: body: string: '' headers: apim-request-id: - - e2f42ce8-fc9c-4ed3-9bca-4f688f61d534 + - b9e95d99-d2b6-4d63-8891-2d5c44ef1c39 content-length: - '0' date: - - Fri, 30 Oct 2020 01:11:31 GMT + - Mon, 01 Mar 2021 18:58:42 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/e2f42ce8-fc9c-4ed3-9bca-4f688f61d534 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/b9e95d99-d2b6-4d63-8891-2d5c44ef1c39 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '115' + - '67' status: code: 202 message: Accepted @@ -1394,28 +1394,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/e2f42ce8-fc9c-4ed3-9bca-4f688f61d534 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/b9e95d99-d2b6-4d63-8891-2d5c44ef1c39 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:32Z", "lastUpdatedDateTime": - "2020-10-30T01:11:33Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:58:42Z", "lastUpdatedDateTime": + "2021-03-01T18:58:42Z"}' headers: apim-request-id: - - 24e847d8-2880-4ac9-90e3-6ce1699198b5 + - 75cb2a2b-7b45-46e1-a7e6-037980b66260 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:37 GMT + - Mon, 01 Mar 2021 18:58:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '19' status: code: 200 message: OK @@ -1429,13 +1429,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/e2f42ce8-fc9c-4ed3-9bca-4f688f61d534 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/b9e95d99-d2b6-4d63-8891-2d5c44ef1c39 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:32Z", - "lastUpdatedDateTime": "2020-10-30T01:11:42Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:58:42Z", + "lastUpdatedDateTime": "2021-03-01T18:58:50Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "lines": [{"text": "Contoso", "boundingBox": [105, 231, 289, 232, 289, 274, 105, 273], "words": [{"text": "Contoso", "boundingBox": @@ -1539,53 +1539,53 @@ interactions: {"rowIndex": 1, "columnIndex": 5, "rowSpan": 2, "text": "PT", "boundingBox": [1220, 662, 1500, 661, 1500, 769, 1220, 771], "elements": ["#/readResults/0/lines/16/words/1"]}], "boundingBox": [100, 556, 1499, 556, 1498, 771, 99, 771]}]}], "documentResults": - [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"VendorName": - {"type": "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": - [106, 232, 288, 234, 288, 274, 105, 274], "page": 1, "confidence": 0.921, - "elements": ["#/readResults/0/lines/0/words/0"]}, "CustomerAddressRecipient": - {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": - [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.993, - "elements": ["#/readResults/0/lines/2/words/2"]}, "VendorAddress": {"type": + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [1036.1, + 337.1, 1333.2, 338.1, 1333, 408.4, 1035.9, 407.5], "page": 1, "confidence": + 0.992, "elements": ["#/readResults/0/lines/4/words/0", "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2"]}, "CustomerAddressRecipient": {"type": + "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99, + "elements": ["#/readResults/0/lines/2/words/2"]}, "CustomerName": {"type": + "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99, + "elements": ["#/readResults/0/lines/2/words/2"]}, "DueDate": {"type": "date", + "valueDate": "2017-06-24", "text": "6/24/2017", "boundingBox": [668, 679, + 792, 679, 792, 705, 667, 705], "page": 1, "confidence": 0.989, "elements": + ["#/readResults/0/lines/15/words/0"]}, "InvoiceDate": {"type": "date", "valueDate": + "2017-06-18", "text": "6/18/2017", "boundingBox": [387, 680, 510, 680, 510, + 705, 387, 705], "page": 1, "confidence": 0.926, "elements": ["#/readResults/0/lines/14/words/0"]}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [105, 680, 229, 680, 230, 705, 106, 705], "page": 1, "confidence": + 0.795, "elements": ["#/readResults/0/lines/13/words/0"]}, "InvoiceTotal": + {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": + [1075, 680, 1224, 680, 1225, 705, 1075, 707], "page": 1, "confidence": 0.505, + "elements": ["#/readResults/0/lines/16/words/0"]}, "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [158, 337, 433, - 337, 433, 441, 158, 441], "page": 1, "confidence": 0.907, "elements": ["#/readResults/0/lines/3/words/0", + 337, 433, 441, 158, 441], "page": 1, "confidence": 0.946, "elements": ["#/readResults/0/lines/3/words/0", "#/readResults/0/lines/3/words/1", "#/readResults/0/lines/3/words/2", "#/readResults/0/lines/3/words/3", "#/readResults/0/lines/5/words/0", "#/readResults/0/lines/5/words/1", "#/readResults/0/lines/5/words/2", - "#/readResults/0/lines/7/words/0"]}, "CustomerAddress": {"type": "string", - "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise - Way Sunnayvale, CA 87659", "boundingBox": [1036.1, 337.1, 1333.2, 338.1, 1333, - 408.4, 1035.9, 407.5], "page": 1, "confidence": 0.995, "elements": ["#/readResults/0/lines/4/words/0", - "#/readResults/0/lines/4/words/1", "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", - "#/readResults/0/lines/6/words/1", "#/readResults/0/lines/6/words/2"]}, "InvoiceId": - {"type": "string", "valueString": "34278587", "text": "34278587", "boundingBox": - [105, 680, 229, 680, 230, 705, 106, 705], "page": 1, "confidence": 0.768, - "elements": ["#/readResults/0/lines/13/words/0"]}, "InvoiceDate": {"type": - "date", "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [387, - 680, 510, 680, 510, 705, 387, 705], "page": 1, "confidence": 0.89, "elements": - ["#/readResults/0/lines/14/words/0"]}, "DueDate": {"type": "date", "valueDate": - "2017-06-24", "text": "6/24/2017", "boundingBox": [668, 679, 792, 679, 792, - 705, 667, 705], "page": 1, "confidence": 0.988, "elements": ["#/readResults/0/lines/15/words/0"]}, - "InvoiceTotal": {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", - "boundingBox": [1075, 680, 1224, 680, 1225, 705, 1075, 707], "page": 1, "confidence": - 0.847, "elements": ["#/readResults/0/lines/16/words/0"]}, "CustomerName": - {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": - [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.993, - "elements": ["#/readResults/0/lines/2/words/2"]}}}]}}' + "#/readResults/0/lines/7/words/0"]}, "VendorName": {"type": "string", "valueString": + "Contoso", "text": "Contoso", "boundingBox": [106, 232, 288, 234, 288, 274, + 105, 274], "page": 1, "confidence": 0.87, "elements": ["#/readResults/0/lines/0/words/0"]}}}]}}' headers: apim-request-id: - - 7a092119-1065-4cb5-8a0b-e987647ccf6f + - 8a2664d3-170e-4190-ad9a-f9dcba0b64ce content-length: - - '9869' + - '9867' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:42 GMT + - Mon, 01 Mar 2021 18:58:52 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '53' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_tiff.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_tiff.yaml index ae276c8afad3..db8f70ec3f64 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_tiff.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_invoice_tiff.yaml @@ -1364,27 +1364,27 @@ interactions: Content-Type: - image/tiff User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - ac7927e7-4754-4c28-b8ef-456d477029df + - 62fa0d16-0017-4e02-aace-d88d649f244c content-length: - '0' date: - - Fri, 30 Oct 2020 01:11:54 GMT + - Mon, 01 Mar 2021 18:58:53 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ac7927e7-4754-4c28-b8ef-456d477029df + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/62fa0d16-0017-4e02-aace-d88d649f244c strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '88' + - '79' status: code: 202 message: Accepted @@ -1398,28 +1398,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ac7927e7-4754-4c28-b8ef-456d477029df + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/62fa0d16-0017-4e02-aace-d88d649f244c response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:54Z", "lastUpdatedDateTime": - "2020-10-30T01:11:55Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:58:53Z", "lastUpdatedDateTime": + "2021-03-01T18:58:53Z"}' headers: apim-request-id: - - 7e344b95-ba3c-466a-b6c2-22cf7d424eb2 + - 80640251-1578-4f0b-a82f-1c282e28d371 content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:59 GMT + - Mon, 01 Mar 2021 18:58:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '33' status: code: 200 message: OK @@ -1433,13 +1433,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/ac7927e7-4754-4c28-b8ef-456d477029df + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/62fa0d16-0017-4e02-aace-d88d649f244c response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:54Z", - "lastUpdatedDateTime": "2020-10-30T01:12:03Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:58:53Z", + "lastUpdatedDateTime": "2021-03-01T18:59:00Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel"}], "pageResults": [{"page": 1, "tables": [{"rows": 3, "columns": 6, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Invoice @@ -1460,43 +1460,43 @@ interactions: 5, "rowSpan": 2, "text": "PT", "boundingBox": [1220, 662, 1500, 661, 1500, 769, 1220, 771]}], "boundingBox": [100, 556, 1499, 556, 1498, 771, 99, 771]}]}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": - {"VendorName": {"type": "string", "valueString": "Contoso", "text": "Contoso", - "boundingBox": [106, 232, 288, 234, 288, 274, 105, 274], "page": 1, "confidence": - 0.921}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", - "text": "Microsoft", "boundingBox": [1035, 299, 1164, 300, 1165, 326, 1036, - 327], "page": 1, "confidence": 0.993}, "VendorAddress": {"type": "string", - "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": "1 Redmond - way Suite 6000 Redmond, WA 99243", "boundingBox": [158, 337, 433, 337, 433, - 441, 158, 441], "page": 1, "confidence": 0.907}, "CustomerAddress": {"type": - "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", "text": - "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [1036.1, 337.1, - 1333.2, 338.1, 1333, 408.4, 1035.9, 407.5], "page": 1, "confidence": 0.995}, - "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", - "boundingBox": [105, 680, 229, 680, 230, 705, 106, 705], "page": 1, "confidence": - 0.768}, "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": + {"CustomerAddress": {"type": "string", "valueString": "1020 Enterprise Way + Sunnayvale, CA 87659", "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [1036.1, 337.1, 1333.2, 338.1, 1333, 408.4, 1035.9, 407.5], + "page": 1, "confidence": 0.992}, "CustomerAddressRecipient": {"type": "string", + "valueString": "Microsoft", "text": "Microsoft", "boundingBox": [1035, 299, + 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99}, "CustomerName": + {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99}, + "DueDate": {"type": "date", "valueDate": "2017-06-24", "text": "6/24/2017", + "boundingBox": [668, 679, 792, 679, 792, 705, 667, 705], "page": 1, "confidence": + 0.989}, "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [387, 680, 510, 680, 510, 705, 387, 705], "page": - 1, "confidence": 0.89}, "DueDate": {"type": "date", "valueDate": "2017-06-24", - "text": "6/24/2017", "boundingBox": [668, 679, 792, 679, 792, 705, 667, 705], - "page": 1, "confidence": 0.988}, "InvoiceTotal": {"type": "number", "valueNumber": + 1, "confidence": 0.926}, "InvoiceId": {"type": "string", "valueString": "34278587", + "text": "34278587", "boundingBox": [105, 680, 229, 680, 230, 705, 106, 705], + "page": 1, "confidence": 0.795}, "InvoiceTotal": {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": [1075, 680, 1224, 680, 1225, - 705, 1075, 707], "page": 1, "confidence": 0.847}, "CustomerName": {"type": - "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": - [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.993}}}]}}' + 705, 1075, 707], "page": 1, "confidence": 0.505}, "VendorAddress": {"type": + "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": + "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [158, 337, 433, + 337, 433, 441, 158, 441], "page": 1, "confidence": 0.946}, "VendorName": {"type": + "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": [106, + 232, 288, 234, 288, 274, 105, 274], "page": 1, "confidence": 0.87}}}]}}' headers: apim-request-id: - - ce17819d-1eb7-4a3d-bac8-cfdf6b8e2a87 + - 90ded829-6439-438b-8184-a6f280e1802e content-length: - - '3042' + - '3040' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:12:04 GMT + - Mon, 01 Mar 2021 18:59:02 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '14' + - '39' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_passing_enum_content_type.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_passing_enum_content_type.yaml index 29e736ff2259..d7865589bfe0 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_passing_enum_content_type.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice.test_passing_enum_content_type.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - fb54e9df-6491-4709-9e91-a100b66d51a2 + - 2bc42b51-ee7e-4b6d-af57-bb8892d03d2c content-length: - '0' date: - - Fri, 30 Oct 2020 01:11:43 GMT + - Mon, 01 Mar 2021 18:59:04 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fb54e9df-6491-4709-9e91-a100b66d51a2 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/2bc42b51-ee7e-4b6d-af57-bb8892d03d2c strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '188' + - '233' status: code: 202 message: Accepted @@ -48,28 +48,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fb54e9df-6491-4709-9e91-a100b66d51a2 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/2bc42b51-ee7e-4b6d-af57-bb8892d03d2c response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:44Z", "lastUpdatedDateTime": - "2020-10-30T01:11:44Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-01T18:59:04Z", "lastUpdatedDateTime": + "2021-03-01T18:59:04Z"}' headers: apim-request-id: - - 9045b32b-66f7-4e25-ae96-9e31921a962b + - b76e3956-0da1-4054-a757-a6f5fd9079ad content-length: - '106' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:49 GMT + - Mon, 01 Mar 2021 18:59:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '24' status: code: 200 message: OK @@ -83,13 +83,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/fb54e9df-6491-4709-9e91-a100b66d51a2 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/2bc42b51-ee7e-4b6d-af57-bb8892d03d2c response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:44Z", - "lastUpdatedDateTime": "2020-10-30T01:11:52Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T18:59:04Z", + "lastUpdatedDateTime": "2021-03-01T18:59:11Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 3, "columns": 6, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Invoice Number", "boundingBox": @@ -111,48 +111,48 @@ interactions: 3.311, 6.1079, 3.311, 6.1079, 3.8534, 4.7165, 3.8534]}, {"rowIndex": 1, "columnIndex": 5, "text": "PT", "boundingBox": [6.1079, 3.311, 7.4922, 3.311, 7.4922, 3.6393, 6.1079, 3.6393]}, {"rowIndex": 2, "columnIndex": 5, "boundingBox": [6.1079, - 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534]}], "boundingBox": + 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534], "text": ""}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": - [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"VendorName": - {"type": "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": - [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "page": - 1, "confidence": 0.948}, "CustomerAddressRecipient": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}, - "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 - Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", - "boundingBox": [0.8019, 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], - "page": 1, "confidence": 0.908}, "CustomerAddress": {"type": "string", "valueString": - "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise Way Sunnayvale, - CA 87659", "boundingBox": [5.196, 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, - 2.0359], "page": 1, "confidence": 0.991}, "InvoiceId": {"type": "string", - "valueString": "34278587", "text": "34278587", "boundingBox": [0.5397, 3.411, - 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], "page": 1, "confidence": 0.879}, - "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", - "boundingBox": [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], - "page": 1, "confidence": 0.929}, "DueDate": {"type": "date", "valueDate": - "2017-06-24", "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, - 3.9514, 3.5144, 3.346, 3.5144], "page": 1, "confidence": 0.992}, "InvoiceTotal": - {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": - [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], "page": - 1, "confidence": 0.895}, "CustomerName": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}}}]}}' + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [5.196, + 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, 2.0359], "page": 1, "confidence": + 0.992}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", + "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, + 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.989}, "CustomerName": + {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": + 1, "confidence": 0.989}, "DueDate": {"type": "date", "valueDate": "2017-06-24", + "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, 3.9514, 3.5144, + 3.346, 3.5144], "page": 1, "confidence": 0.989}, "InvoiceDate": {"type": "date", + "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [1.9455, 3.41, + 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], "page": 1, "confidence": 0.936}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], + "page": 1, "confidence": 0.842}, "InvoiceTotal": {"type": "number", "valueNumber": + 56651.49, "text": "$56,651.49", "boundingBox": [5.3871, 3.4047, 6.0702, 3.4047, + 6.0702, 3.5321, 5.3871, 3.5321], "page": 1, "confidence": 0.576}, "VendorAddress": + {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [0.8019, + 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], "page": 1, "confidence": + 0.953}, "VendorName": {"type": "string", "valueString": "Contoso", "text": + "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, + 0.5384, 1.3534], "page": 1, "confidence": 0.979}}}]}}' headers: apim-request-id: - - a1a1520f-8038-401e-b5cb-309f1765bdf3 + - 240323d9-b389-42e9-95c3-0eed499bc979 content-length: - - '3516' + - '3526' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:11:54 GMT + - Mon, 01 Mar 2021 18:59:14 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '29' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_authentication_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_authentication_bad_key.yaml index 2bc8c424d353..2bcd20b9e00c 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_authentication_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_authentication_bad_key.yaml @@ -7,9 +7,9 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -17,9 +17,9 @@ interactions: an active subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Fri, 30 Oct 2020 01:11:54 GMT + date: Wed, 03 Mar 2021 19:36:16 GMT status: code: 401 message: PermissionDenied - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_authentication_successful_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_authentication_successful_key.yaml index 52610c5abe52..f005b6230949 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_authentication_successful_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_authentication_successful_key.yaml @@ -8,58 +8,81 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: 89bb78b3-5496-4694-bf80-4be10a94037c + apim-request-id: c8d300e2-1035-43ed-b54f-836a206cc785 content-length: '0' - date: Fri, 30 Oct 2020 01:11:53 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/89bb78b3-5496-4694-bf80-4be10a94037c + date: Wed, 03 Mar 2021 19:36:16 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/c8d300e2-1035-43ed-b54f-836a206cc785 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '219' + x-envoy-upstream-service-time: '202' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/89bb78b3-5496-4694-bf80-4be10a94037c + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/c8d300e2-1035-43ed-b54f-836a206cc785 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:53Z", "lastUpdatedDateTime": - "2020-10-30T01:11:53Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:36:17Z", "lastUpdatedDateTime": + "2021-03-03T19:36:17Z"}' headers: - apim-request-id: b91ef86c-3801-4729-9241-a86ccc512478 + apim-request-id: b1d9dc9d-824c-4db2-aa79-cf27459ef1d6 content-length: '106' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:11:58 GMT + date: Wed, 03 Mar 2021 19:36:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/89bb78b3-5496-4694-bf80-4be10a94037c + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/c8d300e2-1035-43ed-b54f-836a206cc785 - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/89bb78b3-5496-4694-bf80-4be10a94037c + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/c8d300e2-1035-43ed-b54f-836a206cc785 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:53Z", - "lastUpdatedDateTime": "2020-10-30T01:12:01Z", "analyzeResult": {"version": + string: '{"status": "running", "createdDateTime": "2021-03-03T19:36:17Z", "lastUpdatedDateTime": + "2021-03-03T19:36:17Z"}' + headers: + apim-request-id: c70c3d0e-ec4c-4211-ac6b-d0e791c2005a + content-length: '106' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 19:36:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '9' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/c8d300e2-1035-43ed-b54f-836a206cc785 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/c8d300e2-1035-43ed-b54f-836a206cc785 + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:36:17Z", + "lastUpdatedDateTime": "2021-03-03T19:36:28Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 3, "columns": 6, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Invoice Number", "boundingBox": @@ -81,43 +104,43 @@ interactions: 3.311, 6.1079, 3.311, 6.1079, 3.8534, 4.7165, 3.8534]}, {"rowIndex": 1, "columnIndex": 5, "text": "PT", "boundingBox": [6.1079, 3.311, 7.4922, 3.311, 7.4922, 3.6393, 6.1079, 3.6393]}, {"rowIndex": 2, "columnIndex": 5, "boundingBox": [6.1079, - 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534]}], "boundingBox": + 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534], "text": ""}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": - [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"VendorName": - {"type": "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": - [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "page": - 1, "confidence": 0.948}, "CustomerAddressRecipient": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}, - "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 - Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", - "boundingBox": [0.8019, 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], - "page": 1, "confidence": 0.908}, "CustomerAddress": {"type": "string", "valueString": - "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise Way Sunnayvale, - CA 87659", "boundingBox": [5.196, 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, - 2.0359], "page": 1, "confidence": 0.991}, "InvoiceId": {"type": "string", - "valueString": "34278587", "text": "34278587", "boundingBox": [0.5397, 3.411, - 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], "page": 1, "confidence": 0.879}, - "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", - "boundingBox": [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], - "page": 1, "confidence": 0.929}, "DueDate": {"type": "date", "valueDate": - "2017-06-24", "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, - 3.9514, 3.5144, 3.346, 3.5144], "page": 1, "confidence": 0.992}, "InvoiceTotal": - {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": - [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], "page": - 1, "confidence": 0.895}, "CustomerName": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}}}]}}' + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [5.196, + 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, 2.0359], "page": 1, "confidence": + 0.992}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", + "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, + 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.989}, "CustomerName": + {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": + 1, "confidence": 0.989}, "DueDate": {"type": "date", "valueDate": "2017-06-24", + "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, 3.9514, 3.5144, + 3.346, 3.5144], "page": 1, "confidence": 0.989}, "InvoiceDate": {"type": "date", + "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [1.9455, 3.41, + 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], "page": 1, "confidence": 0.936}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], + "page": 1, "confidence": 0.842}, "InvoiceTotal": {"type": "number", "valueNumber": + 56651.49, "text": "$56,651.49", "boundingBox": [5.3871, 3.4047, 6.0702, 3.4047, + 6.0702, 3.5321, 5.3871, 3.5321], "page": 1, "confidence": 0.576}, "VendorAddress": + {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [0.8019, + 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], "page": 1, "confidence": + 0.953}, "VendorName": {"type": "string", "valueString": "Contoso", "text": + "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, + 0.5384, 1.3534], "page": 1, "confidence": 0.979}}}]}}' headers: - apim-request-id: c9dcfbb5-a67d-45ac-8e48-426130686a61 - content-length: '3516' + apim-request-id: 85ea3f76-a30c-4dc0-b380-8147434e3269 + content-length: '3526' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:03 GMT + date: Wed, 03 Mar 2021 19:36:31 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '15' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/89bb78b3-5496-4694-bf80-4be10a94037c + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/c8d300e2-1035-43ed-b54f-836a206cc785 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_blank_page.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_blank_page.yaml index 25b4d48d2061..f0bf2fc9025c 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_blank_page.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_blank_page.yaml @@ -458,71 +458,71 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: 5c26c248-c30a-44fd-b68d-874afdad10f3 + apim-request-id: a0c4e429-c756-4601-9c27-2c0bcffeae33 content-length: '0' - date: Fri, 30 Oct 2020 01:12:03 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5c26c248-c30a-44fd-b68d-874afdad10f3 + date: Wed, 03 Mar 2021 19:36:32 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/a0c4e429-c756-4601-9c27-2c0bcffeae33 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '39' + x-envoy-upstream-service-time: '41' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5c26c248-c30a-44fd-b68d-874afdad10f3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/a0c4e429-c756-4601-9c27-2c0bcffeae33 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:12:04Z", "lastUpdatedDateTime": - "2020-10-30T01:12:05Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:36:33Z", "lastUpdatedDateTime": + "2021-03-03T19:36:33Z"}' headers: - apim-request-id: 9cacca4b-bc12-4ec2-b54a-e870447c573f + apim-request-id: 92f38610-7d6f-457b-96eb-d620c382a960 content-length: '106' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:09 GMT + date: Wed, 03 Mar 2021 19:36:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5c26c248-c30a-44fd-b68d-874afdad10f3 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/a0c4e429-c756-4601-9c27-2c0bcffeae33 - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5c26c248-c30a-44fd-b68d-874afdad10f3 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/a0c4e429-c756-4601-9c27-2c0bcffeae33 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:12:04Z", - "lastUpdatedDateTime": "2020-10-30T01:12:11Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:36:33Z", + "lastUpdatedDateTime": "2021-03-03T19:36:38Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "pageResults": [{"page": 1}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {}}]}}' headers: - apim-request-id: 63c0d92e-ec20-498d-adf8-a571c8f36b2c + apim-request-id: d174a7d0-553d-4600-9c49-b9c9324deeed content-length: '327' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:14 GMT + date: Wed, 03 Mar 2021 19:36:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/5c26c248-c30a-44fd-b68d-874afdad10f3 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/a0c4e429-c756-4601-9c27-2c0bcffeae33 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_damaged_file_passed_as_bytes.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_damaged_file_passed_as_bytes.yaml index 359087a73919..091638e2e8ac 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_damaged_file_passed_as_bytes.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_damaged_file_passed_as_bytes.yaml @@ -7,23 +7,23 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: - string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "15076399-9cf9-4cf7-9e71-d6b599a0082b"}, + string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "21c53273-df15-4905-b947-d6d0556f0da9"}, "message": "Bad or unrecognizable request JSON or binary file."}}' headers: - apim-request-id: 15076399-9cf9-4cf7-9e71-d6b599a0082b + apim-request-id: 21c53273-df15-4905-b947-d6d0556f0da9 content-length: '161' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:11:43 GMT + date: Wed, 03 Mar 2021 19:36:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '3' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_damaged_file_passed_as_bytes_io.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_damaged_file_passed_as_bytes_io.yaml index fd88094db596..b00746731bfe 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_damaged_file_passed_as_bytes_io.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_damaged_file_passed_as_bytes_io.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: - string: '{"error": {"code": "InvalidImage", "innerError": {"requestId": "002c2137-5197-4cf5-9abf-5e45996b5675"}, + string: '{"error": {"code": "InvalidImage", "innerError": {"requestId": "170fc92d-7dea-4c81-ba2b-26d690fe974d"}, "message": "The input data is not a valid image or password protected."}}' headers: - apim-request-id: 002c2137-5197-4cf5-9abf-5e45996b5675 + apim-request-id: 170fc92d-7dea-4c81-ba2b-26d690fe974d content-length: '170' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:11:43 GMT + date: Wed, 03 Mar 2021 19:36:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '3' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_locale_error.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_locale_error.yaml index 24f796d0bbc8..7466444ec1b0 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_locale_error.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_locale_error.yaml @@ -8,24 +8,24 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false&locale=not%20a%20locale + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false&locale=not%20a%20locale response: body: string: '{"error": {"code": "UnsupportedLocale", "innerError": {"requestId": - "51d344c5-7a4e-4ba0-8704-cb72bd2339fb"}, "message": "Locale unsupported. Supported + "9473592d-578b-45cf-8016-0b56cb97d2ac"}, "message": "Locale unsupported. Supported locale includes en-US."}}' headers: - apim-request-id: 51d344c5-7a4e-4ba0-8704-cb72bd2339fb + apim-request-id: 9473592d-578b-45cf-8016-0b56cb97d2ac content-length: '169' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:11 GMT + date: Wed, 03 Mar 2021 19:36:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '209' + x-envoy-upstream-service-time: '230' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false&locale=not%20a%20locale + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false&locale=not%20a%20locale version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_locale_specified.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_locale_specified.yaml index 297fa209a529..663172689654 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_locale_specified.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_locale_specified.yaml @@ -1354,58 +1354,58 @@ interactions: Content-Type: - image/tiff User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false&locale=en-US + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false&locale=en-US response: body: string: '' headers: - apim-request-id: a467d1c4-6560-498d-a9d9-fd606cbc20bb + apim-request-id: 22eb0710-7de6-40f7-a4d1-b6868859882d content-length: '0' - date: Fri, 30 Oct 2020 01:11:43 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a467d1c4-6560-498d-a9d9-fd606cbc20bb + date: Wed, 03 Mar 2021 19:36:59 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/22eb0710-7de6-40f7-a4d1-b6868859882d strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '87' + x-envoy-upstream-service-time: '48' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false&locale=en-US + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false&locale=en-US - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a467d1c4-6560-498d-a9d9-fd606cbc20bb + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/22eb0710-7de6-40f7-a4d1-b6868859882d response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:44Z", "lastUpdatedDateTime": - "2020-10-30T01:11:44Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:37:00Z", "lastUpdatedDateTime": + "2021-03-03T19:37:00Z"}' headers: - apim-request-id: 3c00831b-9805-4fc1-8c25-9a7ca3c7e101 + apim-request-id: 87b80b25-8bd4-4572-a34c-eb2f49cfc332 content-length: '106' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:11:48 GMT + date: Wed, 03 Mar 2021 19:37:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a467d1c4-6560-498d-a9d9-fd606cbc20bb + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/22eb0710-7de6-40f7-a4d1-b6868859882d - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a467d1c4-6560-498d-a9d9-fd606cbc20bb + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/22eb0710-7de6-40f7-a4d1-b6868859882d response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:44Z", - "lastUpdatedDateTime": "2020-10-30T01:11:53Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:37:00Z", + "lastUpdatedDateTime": "2021-03-03T19:37:07Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel"}], "pageResults": [{"page": 1, "tables": [{"rows": 3, "columns": 6, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Invoice @@ -1426,38 +1426,38 @@ interactions: 5, "rowSpan": 2, "text": "PT", "boundingBox": [1220, 662, 1500, 661, 1500, 769, 1220, 771]}], "boundingBox": [100, 556, 1499, 556, 1498, 771, 99, 771]}]}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": - {"VendorName": {"type": "string", "valueString": "Contoso", "text": "Contoso", - "boundingBox": [106, 232, 288, 234, 288, 274, 105, 274], "page": 1, "confidence": - 0.921}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", - "text": "Microsoft", "boundingBox": [1035, 299, 1164, 300, 1165, 326, 1036, - 327], "page": 1, "confidence": 0.993}, "VendorAddress": {"type": "string", - "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": "1 Redmond - way Suite 6000 Redmond, WA 99243", "boundingBox": [158, 337, 433, 337, 433, - 441, 158, 441], "page": 1, "confidence": 0.907}, "CustomerAddress": {"type": - "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", "text": - "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [1036.1, 337.1, - 1333.2, 338.1, 1333, 408.4, 1035.9, 407.5], "page": 1, "confidence": 0.995}, - "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", - "boundingBox": [105, 680, 229, 680, 230, 705, 106, 705], "page": 1, "confidence": - 0.768}, "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": + {"CustomerAddress": {"type": "string", "valueString": "1020 Enterprise Way + Sunnayvale, CA 87659", "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [1036.1, 337.1, 1333.2, 338.1, 1333, 408.4, 1035.9, 407.5], + "page": 1, "confidence": 0.992}, "CustomerAddressRecipient": {"type": "string", + "valueString": "Microsoft", "text": "Microsoft", "boundingBox": [1035, 299, + 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99}, "CustomerName": + {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99}, + "DueDate": {"type": "date", "valueDate": "2017-06-24", "text": "6/24/2017", + "boundingBox": [668, 679, 792, 679, 792, 705, 667, 705], "page": 1, "confidence": + 0.989}, "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [387, 680, 510, 680, 510, 705, 387, 705], "page": - 1, "confidence": 0.89}, "DueDate": {"type": "date", "valueDate": "2017-06-24", - "text": "6/24/2017", "boundingBox": [668, 679, 792, 679, 792, 705, 667, 705], - "page": 1, "confidence": 0.988}, "InvoiceTotal": {"type": "number", "valueNumber": + 1, "confidence": 0.926}, "InvoiceId": {"type": "string", "valueString": "34278587", + "text": "34278587", "boundingBox": [105, 680, 229, 680, 230, 705, 106, 705], + "page": 1, "confidence": 0.795}, "InvoiceTotal": {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": [1075, 680, 1224, 680, 1225, - 705, 1075, 707], "page": 1, "confidence": 0.847}, "CustomerName": {"type": - "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": - [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.993}}}]}}' + 705, 1075, 707], "page": 1, "confidence": 0.505}, "VendorAddress": {"type": + "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": + "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [158, 337, 433, + 337, 433, 441, 158, 441], "page": 1, "confidence": 0.946}, "VendorName": {"type": + "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": [106, + 232, 288, 234, 288, 274, 105, 274], "page": 1, "confidence": 0.87}}}]}}' headers: - apim-request-id: 5d407343-3d20-4ee9-9cd0-e7d26b00e8d1 - content-length: '3042' + apim-request-id: 64f1de16-7853-43cb-becf-3cfce13fa1af + content-length: '3040' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:11:54 GMT + date: Wed, 03 Mar 2021 19:37:10 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a467d1c4-6560-498d-a9d9-fd606cbc20bb + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/22eb0710-7de6-40f7-a4d1-b6868859882d version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_multipage_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_multipage_pdf.yaml index b9150d5b6e1b..2ccd1ab94666 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_multipage_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_multipage_pdf.yaml @@ -8,148 +8,142 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: a480f4c6-c32a-43f3-a75c-4f8623945f7b + apim-request-id: 32c0647a-097f-44d4-b5e5-64b635614e71 content-length: '0' - date: Wed, 04 Nov 2020 20:46:27 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a480f4c6-c32a-43f3-a75c-4f8623945f7b + date: Wed, 03 Mar 2021 19:37:11 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/32c0647a-097f-44d4-b5e5-64b635614e71 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '231' + x-envoy-upstream-service-time: '239' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a480f4c6-c32a-43f3-a75c-4f8623945f7b + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/32c0647a-097f-44d4-b5e5-64b635614e71 response: body: - string: '{"status": "running", "createdDateTime": "2020-11-04T20:46:28Z", "lastUpdatedDateTime": - "2020-11-04T20:46:28Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:37:11Z", "lastUpdatedDateTime": + "2021-03-03T19:37:11Z"}' headers: - apim-request-id: 17cb6d57-18b5-4600-8a45-a863d2e404eb + apim-request-id: a3872a6e-7a3c-47cf-bca3-0604eb7a337d content-length: '106' content-type: application/json; charset=utf-8 - date: Wed, 04 Nov 2020 20:46:33 GMT + date: Wed, 03 Mar 2021 19:37:16 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a480f4c6-c32a-43f3-a75c-4f8623945f7b + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/32c0647a-097f-44d4-b5e5-64b635614e71 - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a480f4c6-c32a-43f3-a75c-4f8623945f7b + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/32c0647a-097f-44d4-b5e5-64b635614e71 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-04T20:46:28Z", - "lastUpdatedDateTime": "2020-11-04T20:46:38Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:37:11Z", + "lastUpdatedDateTime": "2021-03-03T19:37:20Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}, {"page": 2, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 13, "columns": 4, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Package", "boundingBox": - [0.9975, 4.6436, 2.6168, 4.6436, 2.6168, 4.8578, 0.9975, 4.8578], "elements": - []}, {"rowIndex": 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", - "boundingBox": [2.6168, 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578], - "elements": []}, {"rowIndex": 0, "columnIndex": 3, "text": "Price", "boundingBox": - [5.7422, 4.6436, 7.4882, 4.6436, 7.4882, 4.8513, 5.7422, 4.8578], "elements": - []}, {"rowIndex": 1, "columnIndex": 0, "text": "Gold Sponsor", "boundingBox": - [0.9975, 4.8578, 2.6168, 4.8578, 2.6168, 5.0849, 0.9975, 5.0914], "elements": - []}, {"rowIndex": 1, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, - 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, 5.0849], "elements": []}, {"rowIndex": - 1, "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, 4.8578, 5.7422, - 4.8578, 5.7422, 5.0849, 3.15, 5.0849], "elements": []}, {"rowIndex": 1, "columnIndex": + [0.9975, 4.6436, 2.6168, 4.6436, 2.6168, 4.8578, 0.9975, 4.8578]}, {"rowIndex": + 0, "columnIndex": 1, "columnSpan": 2, "text": "Included", "boundingBox": [2.6168, + 4.6436, 5.7422, 4.6436, 5.7422, 4.8578, 2.6168, 4.8578]}, {"rowIndex": 0, + "columnIndex": 3, "text": "Price", "boundingBox": [5.7422, 4.6436, 7.4882, + 4.6436, 7.4882, 4.8513, 5.7422, 4.8578]}, {"rowIndex": 1, "columnIndex": 0, + "text": "Gold Sponsor", "boundingBox": [0.9975, 4.8578, 2.6168, 4.8578, 2.6168, + 5.0849, 0.9975, 5.0914]}, {"rowIndex": 1, "columnIndex": 1, "text": "\uf0b7", + "boundingBox": [2.6168, 4.8578, 3.15, 4.8578, 3.15, 5.0849, 2.6168, 5.0849]}, + {"rowIndex": 1, "columnIndex": 2, "text": "Full booth", "boundingBox": [3.15, + 4.8578, 5.7422, 4.8578, 5.7422, 5.0849, 3.15, 5.0849]}, {"rowIndex": 1, "columnIndex": 3, "text": "$1,500", "boundingBox": [5.7422, 4.8578, 7.4882, 4.8513, 7.4882, - 5.0849, 5.7422, 5.0849], "elements": []}, {"rowIndex": 2, "columnIndex": 0, - "rowSpan": 3, "boundingBox": [0.9975, 5.0914, 2.6168, 5.0849, 2.6168, 5.9222, - 0.9975, 5.9222], "text": "", "elements": []}, {"rowIndex": 2, "columnIndex": - 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 5.0849, 3.15, 5.0849, - 3.15, 5.5198, 2.6168, 5.5198], "elements": []}, {"rowIndex": 2, "columnIndex": - 2, "text": "Pre-keynote thank you Logo on poster", "boundingBox": [3.15, 5.0849, - 5.7422, 5.0849, 5.7489, 5.5133, 3.15, 5.5198], "elements": []}, {"rowIndex": + 5.0849, 5.7422, 5.0849]}, {"rowIndex": 2, "columnIndex": 0, "rowSpan": 3, + "boundingBox": [0.9975, 5.0914, 2.6168, 5.0849, 2.6168, 5.9222, 0.9975, 5.9222], + "text": ""}, {"rowIndex": 2, "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": + [2.6168, 5.0849, 3.15, 5.0849, 3.15, 5.5198, 2.6168, 5.5198]}, {"rowIndex": + 2, "columnIndex": 2, "text": "Pre-keynote thank you Logo on poster", "boundingBox": + [3.15, 5.0849, 5.7422, 5.0849, 5.7489, 5.5133, 3.15, 5.5198]}, {"rowIndex": 2, "columnIndex": 3, "boundingBox": [5.7422, 5.0849, 7.4882, 5.0849, 7.4882, - 5.5198, 5.7489, 5.5133], "text": "", "elements": []}, {"rowIndex": 3, "columnIndex": - 1, "columnSpan": 2, "text": "\uf0b7 Full page ad in program guide", "boundingBox": - [2.6168, 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, 5.7534], "elements": - []}, {"rowIndex": 3, "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, - 5.5198, 7.4882, 5.7469, 5.7489, 5.7404], "text": "", "elements": []}, {"rowIndex": - 4, "columnIndex": 1, "columnSpan": 2, "text": "\uf0b7", "boundingBox": [2.6168, - 5.7534, 5.7489, 5.7404, 5.7489, 5.9222, 2.6168, 5.9222], "elements": []}, - {"rowIndex": 4, "columnIndex": 3, "boundingBox": [5.7489, 5.7404, 7.4882, - 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": "", "elements": []}, {"rowIndex": - 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", "boundingBox": - [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788], "elements": - []}, {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 - \uf0b7 \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, - 2.6168, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 2, "rowSpan": - 2, "text": "Full booth Post-keynote thank you Logo on poster Half page ad - in program guide", "boundingBox": [3.15, 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, - 3.15, 6.7853], "elements": []}, {"rowIndex": 5, "columnIndex": 3, "rowSpan": - 2, "text": "$1,200", "boundingBox": [5.7489, 5.9222, 7.4948, 5.9222, 7.4948, - 6.7788, 5.7489, 6.7853], "elements": []}, {"rowIndex": 7, "columnIndex": 0, - "rowSpan": 2, "text": "Bronze Sponsor", "boundingBox": [0.9975, 6.7788, 2.6168, - 6.7853, 2.6168, 7.6355, 0.9975, 7.629], "elements": []}, {"rowIndex": 7, "columnIndex": + 5.5198, 5.7489, 5.5133], "text": ""}, {"rowIndex": 3, "columnIndex": 1, "columnSpan": + 2, "text": "\uf0b7 Full page ad in program guide", "boundingBox": [2.6168, + 5.5198, 5.7489, 5.5133, 5.7489, 5.7404, 2.6168, 5.7534]}, {"rowIndex": 3, + "columnIndex": 3, "boundingBox": [5.7489, 5.5133, 7.4882, 5.5198, 7.4882, + 5.7469, 5.7489, 5.7404], "text": ""}, {"rowIndex": 4, "columnIndex": 1, "columnSpan": + 2, "text": "\uf0b7", "boundingBox": [2.6168, 5.7534, 5.7489, 5.7404, 5.7489, + 5.9222, 2.6168, 5.9222]}, {"rowIndex": 4, "columnIndex": 3, "boundingBox": + [5.7489, 5.7404, 7.4882, 5.7469, 7.4948, 5.9222, 5.7489, 5.9222], "text": + ""}, {"rowIndex": 5, "columnIndex": 0, "rowSpan": 2, "text": "Silver Sponsor", + "boundingBox": [0.9975, 5.9222, 2.6168, 5.9222, 2.6168, 6.7853, 0.9975, 6.7788]}, + {"rowIndex": 5, "columnIndex": 1, "rowSpan": 2, "text": "\uf0b7 \uf0b7 \uf0b7 + \uf0b7", "boundingBox": [2.6168, 5.9222, 3.15, 5.9222, 3.15, 6.7853, 2.6168, + 6.7853]}, {"rowIndex": 5, "columnIndex": 2, "rowSpan": 2, "text": "Full booth + Post-keynote thank you Logo on poster Half page ad in program guide", "boundingBox": + [3.15, 5.9222, 5.7489, 5.9222, 5.7489, 6.7853, 3.15, 6.7853]}, {"rowIndex": + 5, "columnIndex": 3, "rowSpan": 2, "text": "$1,200", "boundingBox": [5.7489, + 5.9222, 7.4948, 5.9222, 7.4948, 6.7788, 5.7489, 6.7853]}, {"rowIndex": 7, + "columnIndex": 0, "rowSpan": 2, "text": "Bronze Sponsor", "boundingBox": [0.9975, + 6.7788, 2.6168, 6.7853, 2.6168, 7.6355, 0.9975, 7.629]}, {"rowIndex": 7, "columnIndex": 1, "text": "\uf0b7", "boundingBox": [2.6168, 6.7853, 3.15, 6.7853, 3.15, 7.019, - 2.6168, 7.019], "elements": []}, {"rowIndex": 7, "columnIndex": 2, "rowSpan": - 2, "text": "Full booth Logo on poster 50% discount on program guide advertisements", - "boundingBox": [3.15, 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355], - "elements": []}, {"rowIndex": 7, "columnIndex": 3, "rowSpan": 2, "text": "$1,000", - "boundingBox": [5.7489, 6.7853, 7.4948, 6.7788, 7.4948, 7.6355, 5.7489, 7.6355], - "elements": []}, {"rowIndex": 8, "columnIndex": 1, "text": "\uf0b7 \uf0b7", - "boundingBox": [2.6168, 7.019, 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355], - "elements": []}, {"rowIndex": 9, "columnIndex": 0, "rowSpan": 2, "text": "Full - Booth", "boundingBox": [0.9975, 7.629, 2.6168, 7.6355, 2.6102, 8.2651, 0.9975, - 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 1, "rowSpan": 2, - "columnSpan": 2, "text": "\uf0b7 Full booth \uf0b7 50% discount on program - guide advertisements", "boundingBox": [2.6168, 7.6355, 5.7489, 7.6355, 5.7489, - 8.2651, 2.6102, 8.2651], "elements": []}, {"rowIndex": 9, "columnIndex": 3, + 2.6168, 7.019]}, {"rowIndex": 7, "columnIndex": 2, "rowSpan": 2, "text": "Full + booth Logo on poster 50% discount on program guide advertisements", "boundingBox": + [3.15, 6.7853, 5.7489, 6.7853, 5.7489, 7.6355, 3.1433, 7.6355]}, {"rowIndex": + 7, "columnIndex": 3, "rowSpan": 2, "text": "$1,000", "boundingBox": [5.7489, + 6.7853, 7.4948, 6.7788, 7.4948, 7.6355, 5.7489, 7.6355]}, {"rowIndex": 8, + "columnIndex": 1, "text": "\uf0b7 \uf0b7", "boundingBox": [2.6168, 7.019, + 3.15, 7.019, 3.1433, 7.6355, 2.6168, 7.6355]}, {"rowIndex": 9, "columnIndex": + 0, "rowSpan": 2, "text": "Full Booth", "boundingBox": [0.9975, 7.629, 2.6168, + 7.6355, 2.6102, 8.2651, 0.9975, 8.2651]}, {"rowIndex": 9, "columnIndex": 1, + "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 Full booth \uf0b7 50% discount + on program guide advertisements", "boundingBox": [2.6168, 7.6355, 5.7489, + 7.6355, 5.7489, 8.2651, 2.6102, 8.2651]}, {"rowIndex": 9, "columnIndex": 3, "rowSpan": 2, "text": "$600", "boundingBox": [5.7489, 7.6355, 7.4948, 7.6355, - 7.4948, 8.2651, 5.7489, 8.2651], "elements": []}, {"rowIndex": 11, "columnIndex": - 0, "rowSpan": 2, "text": "Half Booth", "boundingBox": [0.9975, 8.2651, 2.6102, - 8.2651, 2.6102, 8.9011, 0.9975, 8.9011], "elements": []}, {"rowIndex": 11, - "columnIndex": 1, "rowSpan": 2, "columnSpan": 2, "text": "\uf0b7 Full booth - \uf0b7 25% discount on program guide advertisements", "boundingBox": [2.6102, - 8.2651, 5.7489, 8.2651, 5.7489, 8.9011, 2.6102, 8.9011], "elements": []}, - {"rowIndex": 11, "columnIndex": 3, "rowSpan": 2, "text": "$350", "boundingBox": - [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, 8.9011, 5.7489, 8.9011], "elements": - []}], "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, - 8.9066]}]}, {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", - "pageRange": [1, 2], "fields": {"VendorName": {"type": "string", "valueString": - "Southridge Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, - 3.3477, 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": - 0.969}, "RemittanceAddressRecipient": {"type": "string", "valueString": "Contoso - Ltd.", "text": "Contoso Ltd.", "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, - 1.843, 3.6897, 1.0078, 3.6897], "page": 1, "confidence": 0.954}, "RemittanceAddress": - {"type": "string", "valueString": "2345 Dogwood Lane Birch, Kansas 98123", - "text": "2345 Dogwood Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, - 2.3768, 3.7939, 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": - 0.952}}}]}}' + 7.4948, 8.2651, 5.7489, 8.2651]}, {"rowIndex": 11, "columnIndex": 0, "rowSpan": + 2, "text": "Half Booth", "boundingBox": [0.9975, 8.2651, 2.6102, 8.2651, 2.6102, + 8.9011, 0.9975, 8.9011]}, {"rowIndex": 11, "columnIndex": 1, "rowSpan": 2, + "columnSpan": 2, "text": "\uf0b7 Full booth \uf0b7 25% discount on program + guide advertisements", "boundingBox": [2.6102, 8.2651, 5.7489, 8.2651, 5.7489, + 8.9011, 2.6102, 8.9011]}, {"rowIndex": 11, "columnIndex": 3, "rowSpan": 2, + "text": "$350", "boundingBox": [5.7489, 8.2651, 7.4948, 8.2651, 7.4948, 8.9011, + 5.7489, 8.9011]}], "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, + 8.9061, 0.9936, 8.9066]}]}, {"page": 2}], "documentResults": [{"docType": + "prebuilt:invoice", "pageRange": [1, 2], "fields": {"RemittanceAddress": {"type": + "string", "valueString": "2345 Dogwood Lane Birch, Kansas 98123", "text": + "2345 Dogwood Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, 2.3768, + 3.7939, 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": 0.892}, + "RemittanceAddressRecipient": {"type": "string", "valueString": "Contoso Ltd.", + "text": "Contoso Ltd.", "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, 1.843, + 3.6897, 1.0078, 3.6897], "page": 1, "confidence": 0.915}, "VendorName": {"type": + "string", "valueString": "Southridge Video", "text": "Southridge Video", "boundingBox": + [2.1925, 2.7686, 3.3477, 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": + 2, "confidence": 0.962}}}]}}' headers: - apim-request-id: 83e15191-9457-4def-9b78-6ce0a70ea17f - content-length: '5652' + apim-request-id: c62a4acb-c28a-43e3-b464-b727163d3b00 + content-length: '5232' content-type: application/json; charset=utf-8 - date: Wed, 04 Nov 2020 20:46:38 GMT + date: Wed, 03 Mar 2021 19:37:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '21' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/a480f4c6-c32a-43f3-a75c-4f8623945f7b + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/32c0647a-097f-44d4-b5e5-64b635614e71 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_pdf.yaml index 0de8332f7666..c60eb7f5f7da 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_pdf.yaml @@ -8,58 +8,58 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: bf7f7fb6-d471-4722-8bed-8d3c6bad51fc + apim-request-id: 778e76c0-b4e1-4ff9-adb7-f5a8b1ca5f93 content-length: '0' - date: Fri, 30 Oct 2020 01:11:55 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/bf7f7fb6-d471-4722-8bed-8d3c6bad51fc + date: Wed, 03 Mar 2021 19:39:02 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/778e76c0-b4e1-4ff9-adb7-f5a8b1ca5f93 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '176' + x-envoy-upstream-service-time: '205' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/bf7f7fb6-d471-4722-8bed-8d3c6bad51fc + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/778e76c0-b4e1-4ff9-adb7-f5a8b1ca5f93 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:55Z", "lastUpdatedDateTime": - "2020-10-30T01:11:55Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:39:03Z", "lastUpdatedDateTime": + "2021-03-03T19:39:03Z"}' headers: - apim-request-id: fa307f98-d193-4573-8029-a4455f6297aa + apim-request-id: da34cd8b-6ca1-4c76-be6e-0ddd36d9bcc8 content-length: '106' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:00 GMT + date: Wed, 03 Mar 2021 19:39:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/bf7f7fb6-d471-4722-8bed-8d3c6bad51fc + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/778e76c0-b4e1-4ff9-adb7-f5a8b1ca5f93 - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/bf7f7fb6-d471-4722-8bed-8d3c6bad51fc + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/778e76c0-b4e1-4ff9-adb7-f5a8b1ca5f93 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:55Z", - "lastUpdatedDateTime": "2020-10-30T01:12:03Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:39:03Z", + "lastUpdatedDateTime": "2021-03-03T19:39:09Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 3, "columns": 6, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Invoice Number", "boundingBox": @@ -81,43 +81,43 @@ interactions: 3.311, 6.1079, 3.311, 6.1079, 3.8534, 4.7165, 3.8534]}, {"rowIndex": 1, "columnIndex": 5, "text": "PT", "boundingBox": [6.1079, 3.311, 7.4922, 3.311, 7.4922, 3.6393, 6.1079, 3.6393]}, {"rowIndex": 2, "columnIndex": 5, "boundingBox": [6.1079, - 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534]}], "boundingBox": + 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534], "text": ""}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": - [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"VendorName": - {"type": "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": - [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "page": - 1, "confidence": 0.948}, "CustomerAddressRecipient": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}, - "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 - Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", - "boundingBox": [0.8019, 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], - "page": 1, "confidence": 0.908}, "CustomerAddress": {"type": "string", "valueString": - "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise Way Sunnayvale, - CA 87659", "boundingBox": [5.196, 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, - 2.0359], "page": 1, "confidence": 0.991}, "InvoiceId": {"type": "string", - "valueString": "34278587", "text": "34278587", "boundingBox": [0.5397, 3.411, - 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], "page": 1, "confidence": 0.879}, - "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", - "boundingBox": [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], - "page": 1, "confidence": 0.929}, "DueDate": {"type": "date", "valueDate": - "2017-06-24", "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, - 3.9514, 3.5144, 3.346, 3.5144], "page": 1, "confidence": 0.992}, "InvoiceTotal": - {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": - [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], "page": - 1, "confidence": 0.895}, "CustomerName": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}}}]}}' + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [5.196, + 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, 2.0359], "page": 1, "confidence": + 0.992}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", + "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, + 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.989}, "CustomerName": + {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": + 1, "confidence": 0.989}, "DueDate": {"type": "date", "valueDate": "2017-06-24", + "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, 3.9514, 3.5144, + 3.346, 3.5144], "page": 1, "confidence": 0.989}, "InvoiceDate": {"type": "date", + "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [1.9455, 3.41, + 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], "page": 1, "confidence": 0.936}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], + "page": 1, "confidence": 0.842}, "InvoiceTotal": {"type": "number", "valueNumber": + 56651.49, "text": "$56,651.49", "boundingBox": [5.3871, 3.4047, 6.0702, 3.4047, + 6.0702, 3.5321, 5.3871, 3.5321], "page": 1, "confidence": 0.576}, "VendorAddress": + {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [0.8019, + 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], "page": 1, "confidence": + 0.953}, "VendorName": {"type": "string", "valueString": "Contoso", "text": + "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, + 0.5384, 1.3534], "page": 1, "confidence": 0.979}}}]}}' headers: - apim-request-id: fd872e06-e1d7-42f5-a62a-dd46c99bcd4e - content-length: '3516' + apim-request-id: dfc8ecf3-2a7a-40d4-beff-fb2672ebb315 + content-length: '3526' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:05 GMT + date: Wed, 03 Mar 2021 19:39:13 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '19' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/bf7f7fb6-d471-4722-8bed-8d3c6bad51fc + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/778e76c0-b4e1-4ff9-adb7-f5a8b1ca5f93 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_pdf_include_field_elements.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_pdf_include_field_elements.yaml index 836ec3eda8e7..9498da8bf790 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_pdf_include_field_elements.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_pdf_include_field_elements.yaml @@ -8,58 +8,58 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true response: body: string: '' headers: - apim-request-id: 763f40c8-6bd1-4bd2-b63c-968678a6f61d + apim-request-id: 293b4ae1-a3de-45ac-8f57-4188693752af content-length: '0' - date: Tue, 03 Nov 2020 17:17:14 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/763f40c8-6bd1-4bd2-b63c-968678a6f61d + date: Wed, 03 Mar 2021 19:39:13 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/293b4ae1-a3de-45ac-8f57-4188693752af strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '214' + x-envoy-upstream-service-time: '183' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/763f40c8-6bd1-4bd2-b63c-968678a6f61d + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/293b4ae1-a3de-45ac-8f57-4188693752af response: body: - string: '{"status": "running", "createdDateTime": "2020-11-03T17:17:15Z", "lastUpdatedDateTime": - "2020-11-03T17:17:15Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:39:14Z", "lastUpdatedDateTime": + "2021-03-03T19:39:14Z"}' headers: - apim-request-id: 4bde698a-c530-428f-b2d9-96fa79a5c15e + apim-request-id: 8531333b-583f-4cb6-ba03-1cd8d21d7a98 content-length: '106' content-type: application/json; charset=utf-8 - date: Tue, 03 Nov 2020 17:17:20 GMT + date: Wed, 03 Mar 2021 19:39:18 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/763f40c8-6bd1-4bd2-b63c-968678a6f61d + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/293b4ae1-a3de-45ac-8f57-4188693752af - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/763f40c8-6bd1-4bd2-b63c-968678a6f61d + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/293b4ae1-a3de-45ac-8f57-4188693752af response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-03T17:17:15Z", - "lastUpdatedDateTime": "2020-11-03T17:17:23Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:39:14Z", + "lastUpdatedDateTime": "2021-03-03T19:39:21Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"text": "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "words": [{"text": "Contoso", @@ -183,50 +183,51 @@ interactions: 2, "columnIndex": 5, "boundingBox": [6.1079, 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534], "text": "", "elements": []}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": - [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"VendorName": - {"type": "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": - [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "page": - 1, "confidence": 0.948, "elements": ["#/readResults/0/lines/0/words/0"]}, - "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", - "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, - 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986, "elements": ["#/readResults/0/lines/2/words/2"]}, + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [5.196, + 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, 2.0359], "page": 1, "confidence": + 0.992, "elements": ["#/readResults/0/lines/4/words/0", "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2"]}, "CustomerAddressRecipient": {"type": + "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": + 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/2/words/2"]}, + "CustomerName": {"type": "string", "valueString": "Microsoft", "text": "Microsoft", + "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], + "page": 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/2/words/2"]}, + "DueDate": {"type": "date", "valueDate": "2017-06-24", "text": "6/24/2017", + "boundingBox": [3.346, 3.41, 3.9514, 3.41, 3.9514, 3.5144, 3.346, 3.5144], + "page": 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/15/words/0"]}, + "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", + "boundingBox": [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], + "page": 1, "confidence": 0.936, "elements": ["#/readResults/0/lines/14/words/0"]}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], + "page": 1, "confidence": 0.842, "elements": ["#/readResults/0/lines/13/words/0"]}, + "InvoiceTotal": {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", + "boundingBox": [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], + "page": 1, "confidence": 0.576, "elements": ["#/readResults/0/lines/16/words/0"]}, "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [0.8019, 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], - "page": 1, "confidence": 0.908, "elements": ["#/readResults/0/lines/3/words/0", + "page": 1, "confidence": 0.953, "elements": ["#/readResults/0/lines/3/words/0", "#/readResults/0/lines/3/words/1", "#/readResults/0/lines/3/words/2", "#/readResults/0/lines/3/words/3", "#/readResults/0/lines/5/words/0", "#/readResults/0/lines/5/words/1", "#/readResults/0/lines/5/words/2", - "#/readResults/0/lines/7/words/0"]}, "CustomerAddress": {"type": "string", - "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise - Way Sunnayvale, CA 87659", "boundingBox": [5.196, 1.716, 6.6526, 1.716, 6.6526, - 2.0359, 5.196, 2.0359], "page": 1, "confidence": 0.991, "elements": ["#/readResults/0/lines/4/words/0", - "#/readResults/0/lines/4/words/1", "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", - "#/readResults/0/lines/6/words/1", "#/readResults/0/lines/6/words/2"]}, "InvoiceId": - {"type": "string", "valueString": "34278587", "text": "34278587", "boundingBox": - [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], "page": 1, - "confidence": 0.879, "elements": ["#/readResults/0/lines/13/words/0"]}, "InvoiceDate": - {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": - [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], "page": 1, "confidence": - 0.929, "elements": ["#/readResults/0/lines/14/words/0"]}, "DueDate": {"type": - "date", "valueDate": "2017-06-24", "text": "6/24/2017", "boundingBox": [3.346, - 3.41, 3.9514, 3.41, 3.9514, 3.5144, 3.346, 3.5144], "page": 1, "confidence": - 0.992, "elements": ["#/readResults/0/lines/15/words/0"]}, "InvoiceTotal": - {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": - [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], "page": - 1, "confidence": 0.895, "elements": ["#/readResults/0/lines/16/words/0"]}, - "CustomerName": {"type": "string", "valueString": "Microsoft", "text": "Microsoft", - "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], - "page": 1, "confidence": 0.986, "elements": ["#/readResults/0/lines/2/words/2"]}}}]}}' + "#/readResults/0/lines/7/words/0"]}, "VendorName": {"type": "string", "valueString": + "Contoso", "text": "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, + 1.4466, 1.3534, 0.5384, 1.3534], "page": 1, "confidence": 0.979, "elements": + ["#/readResults/0/lines/0/words/0"]}}}]}}' headers: - apim-request-id: 2e32e535-cdfd-4cc8-80c1-92ab0ddf71ea + apim-request-id: b5e404f3-ae90-4388-a494-d80095969d25 content-length: '11420' content-type: application/json; charset=utf-8 - date: Tue, 03 Nov 2020 17:17:24 GMT + date: Wed, 03 Mar 2021 19:39:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/763f40c8-6bd1-4bd2-b63c-968678a6f61d + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/293b4ae1-a3de-45ac-8f57-4188693752af version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_multipage_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_multipage_transform_pdf.yaml index 8f742e89eee7..0e1d652e9639 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_multipage_transform_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_multipage_transform_pdf.yaml @@ -8,58 +8,58 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true response: body: string: '' headers: - apim-request-id: 27660112-b5c7-4493-ae12-aaa9a13d11d4 + apim-request-id: 69593d4b-df41-4b51-bec3-7cb1cda391db content-length: '0' - date: Wed, 04 Nov 2020 20:40:12 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27660112-b5c7-4493-ae12-aaa9a13d11d4 + date: Wed, 03 Mar 2021 19:37:44 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/69593d4b-df41-4b51-bec3-7cb1cda391db strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '317' + x-envoy-upstream-service-time: '251' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27660112-b5c7-4493-ae12-aaa9a13d11d4 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/69593d4b-df41-4b51-bec3-7cb1cda391db response: body: - string: '{"status": "running", "createdDateTime": "2020-11-04T20:40:13Z", "lastUpdatedDateTime": - "2020-11-04T20:40:13Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:37:44Z", "lastUpdatedDateTime": + "2021-03-03T19:37:44Z"}' headers: - apim-request-id: f5f0ae33-e3a2-4842-9769-e42cc47edaba + apim-request-id: 5d109606-4446-4097-bbb7-566e4c4deb46 content-length: '106' content-type: application/json; charset=utf-8 - date: Wed, 04 Nov 2020 20:40:17 GMT + date: Wed, 03 Mar 2021 19:37:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '15' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27660112-b5c7-4493-ae12-aaa9a13d11d4 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/69593d4b-df41-4b51-bec3-7cb1cda391db - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.8.5 (macOS-10.13.6-x86_64-i386-64bit) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27660112-b5c7-4493-ae12-aaa9a13d11d4 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/69593d4b-df41-4b51-bec3-7cb1cda391db response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-04T20:40:13Z", - "lastUpdatedDateTime": "2020-11-04T20:40:21Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:37:44Z", + "lastUpdatedDateTime": "2021-03-03T19:37:53Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"text": "Vendor #:121", "boundingBox": [6.1276, 1.0667, 7.4833, 1.0667, 7.4833, 1.2403, 6.1276, 1.2403], "words": [{"text": @@ -565,29 +565,29 @@ interactions: 8.9011, 5.7489, 8.9011], "elements": ["#/readResults/0/lines/53/words/0"]}], "boundingBox": [0.994, 4.6469, 7.4953, 4.6454, 7.4964, 8.9061, 0.9936, 8.9066]}]}, {"page": 2}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": - [1, 2], "fields": {"VendorName": {"type": "string", "valueString": "Southridge - Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, 3.3477, - 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": 0.969, "elements": - ["#/readResults/1/lines/2/words/2", "#/readResults/1/lines/2/words/3"]}, "RemittanceAddressRecipient": + [1, 2], "fields": {"RemittanceAddress": {"type": "string", "valueString": + "2345 Dogwood Lane Birch, Kansas 98123", "text": "2345 Dogwood Lane Birch, + Kansas 98123", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, 2.3768, 4.1518, + 1.0093, 4.1518], "page": 1, "confidence": 0.892, "elements": ["#/readResults/0/lines/7/words/0", + "#/readResults/0/lines/7/words/1", "#/readResults/0/lines/7/words/2", "#/readResults/0/lines/8/words/0", + "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2"]}, "RemittanceAddressRecipient": {"type": "string", "valueString": "Contoso Ltd.", "text": "Contoso Ltd.", "boundingBox": [1.0078, 3.5739, 1.843, 3.5739, 1.843, 3.6897, 1.0078, 3.6897], - "page": 1, "confidence": 0.954, "elements": ["#/readResults/0/lines/6/words/0", - "#/readResults/0/lines/6/words/1"]}, "RemittanceAddress": {"type": "string", - "valueString": "2345 Dogwood Lane Birch, Kansas 98123", "text": "2345 Dogwood - Lane Birch, Kansas 98123", "boundingBox": [1.0093, 3.7939, 2.3768, 3.7939, - 2.3768, 4.1518, 1.0093, 4.1518], "page": 1, "confidence": 0.952, "elements": - ["#/readResults/0/lines/7/words/0", "#/readResults/0/lines/7/words/1", "#/readResults/0/lines/7/words/2", - "#/readResults/0/lines/8/words/0", "#/readResults/0/lines/8/words/1", "#/readResults/0/lines/8/words/2"]}}}]}}' + "page": 1, "confidence": 0.915, "elements": ["#/readResults/0/lines/6/words/0", + "#/readResults/0/lines/6/words/1"]}, "VendorName": {"type": "string", "valueString": + "Southridge Video", "text": "Southridge Video", "boundingBox": [2.1925, 2.7686, + 3.3477, 2.7686, 3.3477, 2.9128, 2.1925, 2.9128], "page": 2, "confidence": + 0.962, "elements": ["#/readResults/1/lines/2/words/2", "#/readResults/1/lines/2/words/3"]}}}]}}' headers: - apim-request-id: bf20e52e-2e27-40cf-8f3f-5c2934df7317 + apim-request-id: ee1ea976-5ee1-4839-bd14-39aa89652762 content-length: '37206' content-type: application/json; charset=utf-8 - date: Wed, 04 Nov 2020 20:40:23 GMT + date: Wed, 03 Mar 2021 19:37:54 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '33' + x-envoy-upstream-service-time: '34' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/27660112-b5c7-4493-ae12-aaa9a13d11d4 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/69593d4b-df41-4b51-bec3-7cb1cda391db version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_transform_pdf.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_transform_pdf.yaml index fd6488192ecd..521c703a86a6 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_transform_pdf.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_transform_pdf.yaml @@ -8,58 +8,58 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true response: body: string: '' headers: - apim-request-id: c2796f17-e311-400e-a152-1b51ac8aee8b + apim-request-id: cfd03408-4e9b-4d34-aeaa-2ad528a9ec72 content-length: '0' - date: Fri, 30 Oct 2020 01:12:05 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c2796f17-e311-400e-a152-1b51ac8aee8b + date: Wed, 03 Mar 2021 19:37:54 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/cfd03408-4e9b-4d34-aeaa-2ad528a9ec72 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '183' + x-envoy-upstream-service-time: '179' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c2796f17-e311-400e-a152-1b51ac8aee8b + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/cfd03408-4e9b-4d34-aeaa-2ad528a9ec72 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:12:05Z", "lastUpdatedDateTime": - "2020-10-30T01:12:06Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:37:55Z", "lastUpdatedDateTime": + "2021-03-03T19:37:56Z"}' headers: - apim-request-id: e17bb4f8-db19-4f10-9657-937d77bfbbce + apim-request-id: faa8f260-1a0c-4800-bef7-3aa9094bf411 content-length: '106' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:10 GMT + date: Wed, 03 Mar 2021 19:38:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '13' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c2796f17-e311-400e-a152-1b51ac8aee8b + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/cfd03408-4e9b-4d34-aeaa-2ad528a9ec72 - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c2796f17-e311-400e-a152-1b51ac8aee8b + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/cfd03408-4e9b-4d34-aeaa-2ad528a9ec72 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:12:05Z", - "lastUpdatedDateTime": "2020-10-30T01:12:14Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:37:55Z", + "lastUpdatedDateTime": "2021-03-03T19:38:03Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"text": "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "words": [{"text": "Contoso", @@ -181,52 +181,53 @@ interactions: 5, "text": "PT", "boundingBox": [6.1079, 3.311, 7.4922, 3.311, 7.4922, 3.6393, 6.1079, 3.6393], "elements": ["#/readResults/0/lines/17/words/0"]}, {"rowIndex": 2, "columnIndex": 5, "boundingBox": [6.1079, 3.6393, 7.4922, 3.6393, 7.4922, - 3.8534, 6.1079, 3.8534]}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, - 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": [{"docType": "prebuilt:invoice", - "pageRange": [1, 1], "fields": {"VendorName": {"type": "string", "valueString": - "Contoso", "text": "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, - 1.4466, 1.3534, 0.5384, 1.3534], "page": 1, "confidence": 0.948, "elements": - ["#/readResults/0/lines/0/words/0"]}, "CustomerAddressRecipient": {"type": + 3.8534, 6.1079, 3.8534], "text": "", "elements": []}], "boundingBox": [0.4985, + 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [5.196, + 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, 2.0359], "page": 1, "confidence": + 0.992, "elements": ["#/readResults/0/lines/4/words/0", "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2"]}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": - 1, "confidence": 0.986, "elements": ["#/readResults/0/lines/2/words/2"]}, + 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/2/words/2"]}, + "CustomerName": {"type": "string", "valueString": "Microsoft", "text": "Microsoft", + "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], + "page": 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/2/words/2"]}, + "DueDate": {"type": "date", "valueDate": "2017-06-24", "text": "6/24/2017", + "boundingBox": [3.346, 3.41, 3.9514, 3.41, 3.9514, 3.5144, 3.346, 3.5144], + "page": 1, "confidence": 0.989, "elements": ["#/readResults/0/lines/15/words/0"]}, + "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", + "boundingBox": [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], + "page": 1, "confidence": 0.936, "elements": ["#/readResults/0/lines/14/words/0"]}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], + "page": 1, "confidence": 0.842, "elements": ["#/readResults/0/lines/13/words/0"]}, + "InvoiceTotal": {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", + "boundingBox": [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], + "page": 1, "confidence": 0.576, "elements": ["#/readResults/0/lines/16/words/0"]}, "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [0.8019, 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], - "page": 1, "confidence": 0.908, "elements": ["#/readResults/0/lines/3/words/0", + "page": 1, "confidence": 0.953, "elements": ["#/readResults/0/lines/3/words/0", "#/readResults/0/lines/3/words/1", "#/readResults/0/lines/3/words/2", "#/readResults/0/lines/3/words/3", "#/readResults/0/lines/5/words/0", "#/readResults/0/lines/5/words/1", "#/readResults/0/lines/5/words/2", - "#/readResults/0/lines/7/words/0"]}, "CustomerAddress": {"type": "string", - "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise - Way Sunnayvale, CA 87659", "boundingBox": [5.196, 1.716, 6.6526, 1.716, 6.6526, - 2.0359, 5.196, 2.0359], "page": 1, "confidence": 0.991, "elements": ["#/readResults/0/lines/4/words/0", - "#/readResults/0/lines/4/words/1", "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", - "#/readResults/0/lines/6/words/1", "#/readResults/0/lines/6/words/2"]}, "InvoiceId": - {"type": "string", "valueString": "34278587", "text": "34278587", "boundingBox": - [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], "page": 1, - "confidence": 0.879, "elements": ["#/readResults/0/lines/13/words/0"]}, "InvoiceDate": - {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": - [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], "page": 1, "confidence": - 0.929, "elements": ["#/readResults/0/lines/14/words/0"]}, "DueDate": {"type": - "date", "valueDate": "2017-06-24", "text": "6/24/2017", "boundingBox": [3.346, - 3.41, 3.9514, 3.41, 3.9514, 3.5144, 3.346, 3.5144], "page": 1, "confidence": - 0.992, "elements": ["#/readResults/0/lines/15/words/0"]}, "InvoiceTotal": - {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": - [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], "page": - 1, "confidence": 0.895, "elements": ["#/readResults/0/lines/16/words/0"]}, - "CustomerName": {"type": "string", "valueString": "Microsoft", "text": "Microsoft", - "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], - "page": 1, "confidence": 0.986, "elements": ["#/readResults/0/lines/2/words/2"]}}}]}}' + "#/readResults/0/lines/7/words/0"]}, "VendorName": {"type": "string", "valueString": + "Contoso", "text": "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, + 1.4466, 1.3534, 0.5384, 1.3534], "page": 1, "confidence": 0.979, "elements": + ["#/readResults/0/lines/0/words/0"]}}}]}}' headers: - apim-request-id: 0de6f6b8-60c0-4e4f-b5a8-2f0628392f7e - content-length: '11396' + apim-request-id: 9606cb4b-5591-4842-9ede-837ea2f4c27c + content-length: '11420' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:15 GMT + date: Wed, 03 Mar 2021 19:38:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '19' + x-envoy-upstream-service-time: '22' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/c2796f17-e311-400e-a152-1b51ac8aee8b + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/cfd03408-4e9b-4d34-aeaa-2ad528a9ec72 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_transform_tiff.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_transform_tiff.yaml index c29e3a5c6fb6..e40f2b97bf44 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_transform_tiff.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_stream_transform_tiff.yaml @@ -1354,58 +1354,58 @@ interactions: Content-Type: - image/tiff User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true response: body: string: '' headers: - apim-request-id: 335eff7a-34a4-433d-bb68-91bcd5011844 + apim-request-id: d4bbb2d3-004c-49b6-ac9c-cfdc58c22ef6 content-length: '0' - date: Fri, 30 Oct 2020 01:12:16 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/335eff7a-34a4-433d-bb68-91bcd5011844 + date: Wed, 03 Mar 2021 19:38:05 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/d4bbb2d3-004c-49b6-ac9c-cfdc58c22ef6 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '47' + x-envoy-upstream-service-time: '50' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/335eff7a-34a4-433d-bb68-91bcd5011844 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/d4bbb2d3-004c-49b6-ac9c-cfdc58c22ef6 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:12:16Z", "lastUpdatedDateTime": - "2020-10-30T01:12:17Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:38:05Z", "lastUpdatedDateTime": + "2021-03-03T19:38:06Z"}' headers: - apim-request-id: c833e5a0-37d6-4456-aac2-e63499fca830 + apim-request-id: 624efd0a-0631-45ea-8f39-6a700055f08c content-length: '106' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:21 GMT + date: Wed, 03 Mar 2021 19:38:10 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/335eff7a-34a4-433d-bb68-91bcd5011844 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/d4bbb2d3-004c-49b6-ac9c-cfdc58c22ef6 - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/335eff7a-34a4-433d-bb68-91bcd5011844 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/d4bbb2d3-004c-49b6-ac9c-cfdc58c22ef6 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:12:16Z", - "lastUpdatedDateTime": "2020-10-30T01:12:24Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:38:05Z", + "lastUpdatedDateTime": "2021-03-03T19:38:14Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel", "lines": [{"text": "Contoso", "boundingBox": [105, 231, 289, 232, 289, 274, 105, 273], "words": [{"text": "Contoso", "boundingBox": @@ -1509,48 +1509,48 @@ interactions: {"rowIndex": 1, "columnIndex": 5, "rowSpan": 2, "text": "PT", "boundingBox": [1220, 662, 1500, 661, 1500, 769, 1220, 771], "elements": ["#/readResults/0/lines/16/words/1"]}], "boundingBox": [100, 556, 1499, 556, 1498, 771, 99, 771]}]}], "documentResults": - [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"VendorName": - {"type": "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": - [106, 232, 288, 234, 288, 274, 105, 274], "page": 1, "confidence": 0.921, - "elements": ["#/readResults/0/lines/0/words/0"]}, "CustomerAddressRecipient": - {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": - [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.993, - "elements": ["#/readResults/0/lines/2/words/2"]}, "VendorAddress": {"type": + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [1036.1, + 337.1, 1333.2, 338.1, 1333, 408.4, 1035.9, 407.5], "page": 1, "confidence": + 0.992, "elements": ["#/readResults/0/lines/4/words/0", "#/readResults/0/lines/4/words/1", + "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", "#/readResults/0/lines/6/words/1", + "#/readResults/0/lines/6/words/2"]}, "CustomerAddressRecipient": {"type": + "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99, + "elements": ["#/readResults/0/lines/2/words/2"]}, "CustomerName": {"type": + "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99, + "elements": ["#/readResults/0/lines/2/words/2"]}, "DueDate": {"type": "date", + "valueDate": "2017-06-24", "text": "6/24/2017", "boundingBox": [668, 679, + 792, 679, 792, 705, 667, 705], "page": 1, "confidence": 0.989, "elements": + ["#/readResults/0/lines/15/words/0"]}, "InvoiceDate": {"type": "date", "valueDate": + "2017-06-18", "text": "6/18/2017", "boundingBox": [387, 680, 510, 680, 510, + 705, 387, 705], "page": 1, "confidence": 0.926, "elements": ["#/readResults/0/lines/14/words/0"]}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [105, 680, 229, 680, 230, 705, 106, 705], "page": 1, "confidence": + 0.795, "elements": ["#/readResults/0/lines/13/words/0"]}, "InvoiceTotal": + {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": + [1075, 680, 1224, 680, 1225, 705, 1075, 707], "page": 1, "confidence": 0.505, + "elements": ["#/readResults/0/lines/16/words/0"]}, "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [158, 337, 433, - 337, 433, 441, 158, 441], "page": 1, "confidence": 0.907, "elements": ["#/readResults/0/lines/3/words/0", + 337, 433, 441, 158, 441], "page": 1, "confidence": 0.946, "elements": ["#/readResults/0/lines/3/words/0", "#/readResults/0/lines/3/words/1", "#/readResults/0/lines/3/words/2", "#/readResults/0/lines/3/words/3", "#/readResults/0/lines/5/words/0", "#/readResults/0/lines/5/words/1", "#/readResults/0/lines/5/words/2", - "#/readResults/0/lines/7/words/0"]}, "CustomerAddress": {"type": "string", - "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise - Way Sunnayvale, CA 87659", "boundingBox": [1036.1, 337.1, 1333.2, 338.1, 1333, - 408.4, 1035.9, 407.5], "page": 1, "confidence": 0.995, "elements": ["#/readResults/0/lines/4/words/0", - "#/readResults/0/lines/4/words/1", "#/readResults/0/lines/4/words/2", "#/readResults/0/lines/6/words/0", - "#/readResults/0/lines/6/words/1", "#/readResults/0/lines/6/words/2"]}, "InvoiceId": - {"type": "string", "valueString": "34278587", "text": "34278587", "boundingBox": - [105, 680, 229, 680, 230, 705, 106, 705], "page": 1, "confidence": 0.768, - "elements": ["#/readResults/0/lines/13/words/0"]}, "InvoiceDate": {"type": - "date", "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [387, - 680, 510, 680, 510, 705, 387, 705], "page": 1, "confidence": 0.89, "elements": - ["#/readResults/0/lines/14/words/0"]}, "DueDate": {"type": "date", "valueDate": - "2017-06-24", "text": "6/24/2017", "boundingBox": [668, 679, 792, 679, 792, - 705, 667, 705], "page": 1, "confidence": 0.988, "elements": ["#/readResults/0/lines/15/words/0"]}, - "InvoiceTotal": {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", - "boundingBox": [1075, 680, 1224, 680, 1225, 705, 1075, 707], "page": 1, "confidence": - 0.847, "elements": ["#/readResults/0/lines/16/words/0"]}, "CustomerName": - {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": - [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.993, - "elements": ["#/readResults/0/lines/2/words/2"]}}}]}}' + "#/readResults/0/lines/7/words/0"]}, "VendorName": {"type": "string", "valueString": + "Contoso", "text": "Contoso", "boundingBox": [106, 232, 288, 234, 288, 274, + 105, 274], "page": 1, "confidence": 0.87, "elements": ["#/readResults/0/lines/0/words/0"]}}}]}}' headers: - apim-request-id: c84c66cc-37c3-486a-9518-bb4a3677490a - content-length: '9869' + apim-request-id: fddba734-7224-4002-a888-930573eb447c + content-length: '9867' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:26 GMT + date: Wed, 03 Mar 2021 19:38:15 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/335eff7a-34a4-433d-bb68-91bcd5011844 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/d4bbb2d3-004c-49b6-ac9c-cfdc58c22ef6 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_tiff.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_tiff.yaml index 26487db72e64..eb09e7fe1ede 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_tiff.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_invoice_tiff.yaml @@ -1354,58 +1354,58 @@ interactions: Content-Type: - image/tiff User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: 82e93489-6a4c-4781-8fad-81b0b2e48044 + apim-request-id: 180ad433-e475-483a-86a2-691e6af49db9 content-length: '0' - date: Fri, 30 Oct 2020 01:11:55 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/82e93489-6a4c-4781-8fad-81b0b2e48044 + date: Wed, 03 Mar 2021 19:38:15 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/180ad433-e475-483a-86a2-691e6af49db9 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '103' + x-envoy-upstream-service-time: '46' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/82e93489-6a4c-4781-8fad-81b0b2e48044 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/180ad433-e475-483a-86a2-691e6af49db9 response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:11:55Z", "lastUpdatedDateTime": - "2020-10-30T01:11:55Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:38:16Z", "lastUpdatedDateTime": + "2021-03-03T19:38:17Z"}' headers: - apim-request-id: dd073bd5-39c9-42ec-9892-3a2f4604d577 + apim-request-id: e343781a-596e-4044-b30f-3de335df58ea content-length: '106' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:00 GMT + date: Wed, 03 Mar 2021 19:38:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '22' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/82e93489-6a4c-4781-8fad-81b0b2e48044 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/180ad433-e475-483a-86a2-691e6af49db9 - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/82e93489-6a4c-4781-8fad-81b0b2e48044 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/180ad433-e475-483a-86a2-691e6af49db9 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:11:55Z", - "lastUpdatedDateTime": "2020-10-30T01:12:04Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:38:16Z", + "lastUpdatedDateTime": "2021-03-03T19:38:25Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 1700, "height": 2200, "unit": "pixel"}], "pageResults": [{"page": 1, "tables": [{"rows": 3, "columns": 6, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Invoice @@ -1426,38 +1426,38 @@ interactions: 5, "rowSpan": 2, "text": "PT", "boundingBox": [1220, 662, 1500, 661, 1500, 769, 1220, 771]}], "boundingBox": [100, 556, 1499, 556, 1498, 771, 99, 771]}]}], "documentResults": [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": - {"VendorName": {"type": "string", "valueString": "Contoso", "text": "Contoso", - "boundingBox": [106, 232, 288, 234, 288, 274, 105, 274], "page": 1, "confidence": - 0.921}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", - "text": "Microsoft", "boundingBox": [1035, 299, 1164, 300, 1165, 326, 1036, - 327], "page": 1, "confidence": 0.993}, "VendorAddress": {"type": "string", - "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": "1 Redmond - way Suite 6000 Redmond, WA 99243", "boundingBox": [158, 337, 433, 337, 433, - 441, 158, 441], "page": 1, "confidence": 0.907}, "CustomerAddress": {"type": - "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", "text": - "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [1036.1, 337.1, - 1333.2, 338.1, 1333, 408.4, 1035.9, 407.5], "page": 1, "confidence": 0.995}, - "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", - "boundingBox": [105, 680, 229, 680, 230, 705, 106, 705], "page": 1, "confidence": - 0.768}, "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": + {"CustomerAddress": {"type": "string", "valueString": "1020 Enterprise Way + Sunnayvale, CA 87659", "text": "1020 Enterprise Way Sunnayvale, CA 87659", + "boundingBox": [1036.1, 337.1, 1333.2, 338.1, 1333, 408.4, 1035.9, 407.5], + "page": 1, "confidence": 0.992}, "CustomerAddressRecipient": {"type": "string", + "valueString": "Microsoft", "text": "Microsoft", "boundingBox": [1035, 299, + 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99}, "CustomerName": + {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.99}, + "DueDate": {"type": "date", "valueDate": "2017-06-24", "text": "6/24/2017", + "boundingBox": [668, 679, 792, 679, 792, 705, 667, 705], "page": 1, "confidence": + 0.989}, "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [387, 680, 510, 680, 510, 705, 387, 705], "page": - 1, "confidence": 0.89}, "DueDate": {"type": "date", "valueDate": "2017-06-24", - "text": "6/24/2017", "boundingBox": [668, 679, 792, 679, 792, 705, 667, 705], - "page": 1, "confidence": 0.988}, "InvoiceTotal": {"type": "number", "valueNumber": + 1, "confidence": 0.926}, "InvoiceId": {"type": "string", "valueString": "34278587", + "text": "34278587", "boundingBox": [105, 680, 229, 680, 230, 705, 106, 705], + "page": 1, "confidence": 0.795}, "InvoiceTotal": {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": [1075, 680, 1224, 680, 1225, - 705, 1075, 707], "page": 1, "confidence": 0.847}, "CustomerName": {"type": - "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": - [1035, 299, 1164, 300, 1165, 326, 1036, 327], "page": 1, "confidence": 0.993}}}]}}' + 705, 1075, 707], "page": 1, "confidence": 0.505}, "VendorAddress": {"type": + "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", "text": + "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [158, 337, 433, + 337, 433, 441, 158, 441], "page": 1, "confidence": 0.946}, "VendorName": {"type": + "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": [106, + 232, 288, 234, 288, 274, 105, 274], "page": 1, "confidence": 0.87}}}]}}' headers: - apim-request-id: 146f6647-19bb-404a-8e69-ef8152af24ea - content-length: '3042' + apim-request-id: da2e439c-970f-468f-bad9-6829e5a0876b + content-length: '3040' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:04 GMT + date: Wed, 03 Mar 2021 19:38:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '29' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/82e93489-6a4c-4781-8fad-81b0b2e48044 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/180ad433-e475-483a-86a2-691e6af49db9 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_passing_enum_content_type.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_passing_enum_content_type.yaml index 7b85fcf108b6..3b094d7c4595 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_passing_enum_content_type.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_invoice_async.test_passing_enum_content_type.yaml @@ -8,58 +8,58 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: 26320af6-145b-4ac2-a875-210d37377f34 + apim-request-id: 82547541-53fd-4c3d-b3da-7b009c24a3fb content-length: '0' - date: Fri, 30 Oct 2020 01:12:17 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/26320af6-145b-4ac2-a875-210d37377f34 + date: Wed, 03 Mar 2021 19:38:27 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/82547541-53fd-4c3d-b3da-7b009c24a3fb strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '187' + x-envoy-upstream-service-time: '178' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/invoice/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/26320af6-145b-4ac2-a875-210d37377f34 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/82547541-53fd-4c3d-b3da-7b009c24a3fb response: body: - string: '{"status": "running", "createdDateTime": "2020-10-30T01:12:17Z", "lastUpdatedDateTime": - "2020-10-30T01:12:18Z"}' + string: '{"status": "running", "createdDateTime": "2021-03-03T19:38:27Z", "lastUpdatedDateTime": + "2021-03-03T19:38:28Z"}' headers: - apim-request-id: d81768e4-8bb4-411b-a625-b28c4de047b0 + apim-request-id: 43b18c66-0fba-408e-adb4-c3920a48df68 content-length: '106' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:21 GMT + date: Wed, 03 Mar 2021 19:38:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/26320af6-145b-4ac2-a875-210d37377f34 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/82547541-53fd-4c3d-b3da-7b009c24a3fb - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/26320af6-145b-4ac2-a875-210d37377f34 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/82547541-53fd-4c3d-b3da-7b009c24a3fb response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-10-30T01:12:17Z", - "lastUpdatedDateTime": "2020-10-30T01:12:25Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:38:27Z", + "lastUpdatedDateTime": "2021-03-03T19:38:37Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "pageResults": [{"page": 1, "tables": [{"rows": 3, "columns": 6, "cells": [{"rowIndex": 0, "columnIndex": 0, "text": "Invoice Number", "boundingBox": @@ -81,43 +81,43 @@ interactions: 3.311, 6.1079, 3.311, 6.1079, 3.8534, 4.7165, 3.8534]}, {"rowIndex": 1, "columnIndex": 5, "text": "PT", "boundingBox": [6.1079, 3.311, 7.4922, 3.311, 7.4922, 3.6393, 6.1079, 3.6393]}, {"rowIndex": 2, "columnIndex": 5, "boundingBox": [6.1079, - 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534]}], "boundingBox": + 3.6393, 7.4922, 3.6393, 7.4922, 3.8534, 6.1079, 3.8534], "text": ""}], "boundingBox": [0.4985, 2.7802, 7.4933, 2.7816, 7.4913, 3.8459, 0.4966, 3.8447]}]}], "documentResults": - [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"VendorName": - {"type": "string", "valueString": "Contoso", "text": "Contoso", "boundingBox": - [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, 0.5384, 1.3534], "page": - 1, "confidence": 0.948}, "CustomerAddressRecipient": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}, - "VendorAddress": {"type": "string", "valueString": "1 Redmond way Suite 6000 - Redmond, WA 99243", "text": "1 Redmond way Suite 6000 Redmond, WA 99243", - "boundingBox": [0.8019, 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], - "page": 1, "confidence": 0.908}, "CustomerAddress": {"type": "string", "valueString": - "1020 Enterprise Way Sunnayvale, CA 87659", "text": "1020 Enterprise Way Sunnayvale, - CA 87659", "boundingBox": [5.196, 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, - 2.0359], "page": 1, "confidence": 0.991}, "InvoiceId": {"type": "string", - "valueString": "34278587", "text": "34278587", "boundingBox": [0.5397, 3.411, - 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], "page": 1, "confidence": 0.879}, - "InvoiceDate": {"type": "date", "valueDate": "2017-06-18", "text": "6/18/2017", - "boundingBox": [1.9455, 3.41, 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], - "page": 1, "confidence": 0.929}, "DueDate": {"type": "date", "valueDate": - "2017-06-24", "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, - 3.9514, 3.5144, 3.346, 3.5144], "page": 1, "confidence": 0.992}, "InvoiceTotal": - {"type": "number", "valueNumber": 56651.49, "text": "$56,651.49", "boundingBox": - [5.3871, 3.4047, 6.0702, 3.4047, 6.0702, 3.5321, 5.3871, 3.5321], "page": - 1, "confidence": 0.895}, "CustomerName": {"type": "string", "valueString": - "Microsoft", "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, - 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.986}}}]}}' + [{"docType": "prebuilt:invoice", "pageRange": [1, 1], "fields": {"CustomerAddress": + {"type": "string", "valueString": "1020 Enterprise Way Sunnayvale, CA 87659", + "text": "1020 Enterprise Way Sunnayvale, CA 87659", "boundingBox": [5.196, + 1.716, 6.6526, 1.716, 6.6526, 2.0359, 5.196, 2.0359], "page": 1, "confidence": + 0.992}, "CustomerAddressRecipient": {"type": "string", "valueString": "Microsoft", + "text": "Microsoft", "boundingBox": [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, + 1.6151, 5.2045, 1.6151], "page": 1, "confidence": 0.989}, "CustomerName": + {"type": "string", "valueString": "Microsoft", "text": "Microsoft", "boundingBox": + [5.2045, 1.5114, 5.8155, 1.5114, 5.8155, 1.6151, 5.2045, 1.6151], "page": + 1, "confidence": 0.989}, "DueDate": {"type": "date", "valueDate": "2017-06-24", + "text": "6/24/2017", "boundingBox": [3.346, 3.41, 3.9514, 3.41, 3.9514, 3.5144, + 3.346, 3.5144], "page": 1, "confidence": 0.989}, "InvoiceDate": {"type": "date", + "valueDate": "2017-06-18", "text": "6/18/2017", "boundingBox": [1.9455, 3.41, + 2.551, 3.41, 2.551, 3.5144, 1.9455, 3.5144], "page": 1, "confidence": 0.936}, + "InvoiceId": {"type": "string", "valueString": "34278587", "text": "34278587", + "boundingBox": [0.5397, 3.411, 1.1457, 3.411, 1.1457, 3.5144, 0.5397, 3.5144], + "page": 1, "confidence": 0.842}, "InvoiceTotal": {"type": "number", "valueNumber": + 56651.49, "text": "$56,651.49", "boundingBox": [5.3871, 3.4047, 6.0702, 3.4047, + 6.0702, 3.5321, 5.3871, 3.5321], "page": 1, "confidence": 0.576}, "VendorAddress": + {"type": "string", "valueString": "1 Redmond way Suite 6000 Redmond, WA 99243", + "text": "1 Redmond way Suite 6000 Redmond, WA 99243", "boundingBox": [0.8019, + 1.7033, 2.1445, 1.7033, 2.1445, 2.1911, 0.8019, 2.1911], "page": 1, "confidence": + 0.953}, "VendorName": {"type": "string", "valueString": "Contoso", "text": + "Contoso", "boundingBox": [0.5384, 1.1583, 1.4466, 1.1583, 1.4466, 1.3534, + 0.5384, 1.3534], "page": 1, "confidence": 0.979}}}]}}' headers: - apim-request-id: f90e0ef2-a481-4eb0-8bb6-2caf8fa70e46 - content-length: '3516' + apim-request-id: 1c7eeed7-57f0-4205-98da-14385ad53aab + content-length: '3526' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:12:27 GMT + date: Wed, 03 Mar 2021 19:38:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/invoice/analyzeResults/26320af6-145b-4ac2-a875-210d37377f34 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/invoice/analyzeResults/82547541-53fd-4c3d-b3da-7b009c24a3fb version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_account_properties.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_account_properties.yaml index d7853d18e677..924d5e8d0e7c 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_account_properties.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_account_properties.yaml @@ -9,27 +9,27 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=summary + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary response: body: - string: '{"summary": {"count": 0, "limit": 5000, "lastUpdatedDateTime": "2020-10-30T01:19:09Z"}}' + string: '{"summary": {"count": 412, "limit": 5000, "lastUpdatedDateTime": "2021-03-03T23:16:53Z"}}' headers: apim-request-id: - - 6804dd56-9038-4b8a-936d-cf7ae2b0c06f + - 1e9d951c-c526-45d5-9ec6-edd93208b974 + content-length: + - '83' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:09 GMT + - Wed, 03 Mar 2021 23:16:53 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '41' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_account_properties_auth_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_account_properties_auth_bad_key.yaml index 05646d7b0ea3..ee2bf97cd2ae 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_account_properties_auth_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_account_properties_auth_bad_key.yaml @@ -9,9 +9,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=summary + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -21,7 +21,7 @@ interactions: content-length: - '224' date: - - Fri, 30 Oct 2020 01:19:09 GMT + - Wed, 03 Mar 2021 23:16:54 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_delete_model_auth_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_delete_model_auth_bad_key.yaml index 2dc016646505..320bdd3b4209 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_delete_model_auth_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_delete_model_auth_bad_key.yaml @@ -11,9 +11,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/xx + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/xx response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -23,7 +23,7 @@ interactions: content-length: - '224' date: - - Fri, 30 Oct 2020 01:19:09 GMT + - Wed, 03 Mar 2021 23:16:54 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_get_form_recognizer_client.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_get_form_recognizer_client.yaml index 1aaa26bc4daf..d405102d38d7 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_get_form_recognizer_client.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_get_form_recognizer_client.yaml @@ -9,32 +9,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=summary + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary response: body: - string: '{"summary": {"count": 0, "limit": 5000, "lastUpdatedDateTime": "2020-11-11T20:27:53Z"}}' + string: '{"summary": {"count": 412, "limit": 5000, "lastUpdatedDateTime": "2021-03-03T23:16:54Z"}}' headers: apim-request-id: - - 8a660e54-5d07-4157-af76-6ab16a7df006 + - 4046d11d-7bcc-4b3d-a6eb-1aa6b97504ee content-length: - - '81' + - '83' content-type: - application/json; charset=utf-8 date: - - Wed, 11 Nov 2020 20:27:52 GMT + - Wed, 03 Mar 2021 23:16:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '40' status: code: 200 message: OK - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/receipt/contoso-allinone.jpg"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json @@ -43,31 +43,31 @@ interactions: Connection: - keep-alive Content-Length: - - '172' + - '223' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - 553d7022-1c9c-4d2c-9b00-9394e0fc130e + - 073b8740-e388-4914-baa6-03f27ad76c52 content-length: - '0' date: - - Wed, 11 Nov 2020 20:27:53 GMT + - Wed, 03 Mar 2021 23:16:55 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/553d7022-1c9c-4d2c-9b00-9394e0fc130e + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/073b8740-e388-4914-baa6-03f27ad76c52 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '633' + - '806' status: code: 202 message: Accepted @@ -81,67 +81,67 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/553d7022-1c9c-4d2c-9b00-9394e0fc130e + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/073b8740-e388-4914-baa6-03f27ad76c52 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-11T20:27:53Z", - "lastUpdatedDateTime": "2020-11-11T20:27:56Z", "analyzeResult": {"version": - "2.1.0", "readResults": [{"page": 1, "angle": 0.1273, "width": 1688, "height": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T23:16:55Z", + "lastUpdatedDateTime": "2021-03-03T23:16:58Z", "analyzeResult": {"version": + "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": - "Itemized", "confidence": 0.99}, "MerchantName": {"type": "string", "valueString": - "Contoso Contoso", "text": "Contoso Contoso", "boundingBox": [380.9, 282.9, - 1116, 473.2, 1025, 824.4, 290, 634], "page": 1, "confidence": 0.716}, "MerchantAddress": - {"type": "string", "valueString": "123 Main Street Redmond, WA 98052", "text": - "123 Main Street Redmond, WA 98052", "boundingBox": [298.3, 676.5, 844.6, - 781.5, 810.7, 958, 264.4, 853], "page": 1, "confidence": 0.989}, "MerchantPhoneNumber": - {"type": "phoneNumber", "valuePhoneNumber": "+19876543210", "text": "987-654-3210", - "boundingBox": [271, 1000, 651, 1049, 643, 1125, 264, 1075], "page": 1, "confidence": - 0.99}, "TransactionDate": {"type": "date", "valueDate": "2019-06-10", "text": - "6/10/2019", "boundingBox": [259, 1224, 510, 1246, 505, 1331, 255, 1312], - "page": 1, "confidence": 0.99}, "TransactionTime": {"type": "time", "valueTime": - "13:59:00", "text": "13:59", "boundingBox": [527, 1248, 681, 1262, 675, 1341, - 522, 1332], "page": 1, "confidence": 0.989}, "Items": {"type": "array", "valueArray": - [{"type": "object", "valueObject": {"Quantity": {"type": "number", "valueNumber": - 1, "text": "1", "boundingBox": [244, 1581, 288, 1584, 285, 1678, 241, 1675], - "page": 1, "confidence": 0.919}, "Name": {"type": "string", "valueString": - "Cappuccino", "text": "Cappuccino", "boundingBox": [306, 1585, 658, 1598, - 657, 1688, 304, 1679], "page": 1, "confidence": 0.959}, "TotalPrice": {"type": - "number", "valueNumber": 2.2, "text": "$2.20", "boundingBox": [1106, 1579, - 1260, 1574, 1263, 1656, 1108, 1662], "page": 1, "confidence": 0.959}}}, {"type": - "object", "valueObject": {"Quantity": {"type": "number", "valueNumber": 1, - "text": "1", "boundingBox": [227, 1839, 278, 1839, 277, 1924, 226, 1924], - "page": 1, "confidence": 0.91}, "Name": {"type": "string", "valueString": - "BACON & EGGS", "text": "BACON & EGGS", "boundingBox": [294, 1839, 737, 1839, - 737, 1924, 294, 1924], "page": 1, "confidence": 0.955}, "TotalPrice": {"type": - "number", "valueNumber": 9.5, "text": "$9.5", "boundingBox": [1134, 1948, - 1252, 1948, 1252, 2041, 1134, 2041], "page": 1, "confidence": 0.958}}}]}, - "Subtotal": {"type": "number", "valueNumber": 11.7, "text": "11.70", "boundingBox": - [1139, 2228, 1309, 2228, 1308, 2313, 1138, 2313], "page": 1, "confidence": - 0.923}, "Tax": {"type": "number", "valueNumber": 1.17, "text": "1.17", "boundingBox": - [1186, 2356, 1307, 2361, 1303, 2452, 1182, 2447], "page": 1, "confidence": - 0.979}, "Tip": {"type": "number", "valueNumber": 463, "text": "$463", "boundingBox": - [1034, 2483, 1268, 2488, 1266, 2583, 1032, 2577], "page": 1, "confidence": - 0.975}, "Total": {"type": "number", "valueNumber": 14.5, "text": "$14.50", - "boundingBox": [1033, 2623, 1376, 2641, 1370, 2758, 1027, 2740], "page": 1, - "confidence": 0.987}}}]}}' + "Itemized", "confidence": 0.692}, "MerchantName": {"type": "string", "valueString": + "Contoso Contoso", "text": "Contoso Contoso", "boundingBox": [378.2, 292.4, + 1117.7, 468.3, 1035.7, 812.7, 296.3, 636.8], "page": 1, "confidence": 0.613}, + "MerchantAddress": {"type": "string", "valueString": "123 Main Street Redmond, + WA 98052", "text": "123 Main Street Redmond, WA 98052", "boundingBox": [302, + 675.8, 848.1, 793.7, 809.9, 970.4, 263.9, 852.5], "page": 1, "confidence": + 0.99}, "MerchantPhoneNumber": {"type": "phoneNumber", "valuePhoneNumber": + "+19876543210", "text": "987-654-3210", "boundingBox": [278, 1004, 656, 1057, + 647, 1123, 271, 1075], "page": 1, "confidence": 0.99}, "TransactionDate": + {"type": "date", "valueDate": "2019-06-10", "text": "6/10/2019", "boundingBox": + [267, 1229, 525, 1247, 517, 1332, 259, 1313], "page": 1, "confidence": 0.99}, + "TransactionTime": {"type": "time", "valueTime": "13:59:00", "text": "13:59", + "boundingBox": [541, 1248, 677, 1263, 669, 1345, 533, 1333], "page": 1, "confidence": + 0.977}, "Items": {"type": "array", "valueArray": [{"type": "object", "valueObject": + {"Quantity": {"type": "number", "valueNumber": 1, "text": "1", "boundingBox": + [245, 1583, 299, 1585, 295, 1676, 241, 1671], "page": 1, "confidence": 0.92}, + "Name": {"type": "string", "valueString": "Cappuccino", "text": "Cappuccino", + "boundingBox": [322, 1586, 654, 1605, 648, 1689, 318, 1678], "page": 1, "confidence": + 0.923}, "TotalPrice": {"type": "number", "valueNumber": 2.2, "text": "$2.20", + "boundingBox": [1108, 1584, 1263, 1574, 1268, 1656, 1113, 1666], "page": 1, + "confidence": 0.918}}}, {"type": "object", "valueObject": {"Quantity": {"type": + "number", "valueNumber": 1, "text": "1", "boundingBox": [232, 1834, 286, 1836, + 285, 1920, 231, 1920], "page": 1, "confidence": 0.858}, "Name": {"type": "string", + "valueString": "BACON & EGGS", "text": "BACON & EGGS", "boundingBox": [308, + 1836, 746, 1841.4, 745, 1925.4, 307, 1920], "page": 1, "confidence": 0.916}, + "TotalPrice": {"type": "number", "valueNumber": 9.5, "text": "$9.5", "boundingBox": + [1135, 1955, 1257, 1952, 1259, 2036, 1136, 2039], "page": 1, "confidence": + 0.916}}}]}, "Subtotal": {"type": "number", "valueNumber": 11.7, "text": "11.70", + "boundingBox": [1146, 2221, 1297, 2223, 1296, 2319, 1145, 2317], "page": 1, + "confidence": 0.955}, "Tax": {"type": "number", "valueNumber": 1.17, "text": + "1.17", "boundingBox": [1190, 2359, 1304, 2359, 1304, 2456, 1190, 2456], "page": + 1, "confidence": 0.979}, "Tip": {"type": "number", "valueNumber": 1.63, "text": + "1.63", "boundingBox": [1094, 2479, 1267, 2485, 1264, 2591, 1091, 2585], "page": + 1, "confidence": 0.941}, "Total": {"type": "number", "valueNumber": 14.5, + "text": "$14.50", "boundingBox": [1034, 2620, 1384, 2638, 1380, 2763, 1030, + 2739], "page": 1, "confidence": 0.985}}}]}}' headers: apim-request-id: - - 88ae240c-93ee-4f5b-bb86-5157c175fa7c + - b8239c63-223e-481a-9041-20a068417e52 content-length: - - '2820' + - '2835' content-type: - application/json; charset=utf-8 date: - - Wed, 11 Nov 2020 20:27:58 GMT + - Wed, 03 Mar 2021 23:17:00 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '139' + - '16' status: code: 200 message: OK @@ -155,27 +155,27 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=summary + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary response: body: - string: '{"summary": {"count": 0, "limit": 5000, "lastUpdatedDateTime": "2020-11-11T20:27:59Z"}}' + string: '{"summary": {"count": 412, "limit": 5000, "lastUpdatedDateTime": "2021-03-03T23:17:01Z"}}' headers: apim-request-id: - - 5096cc18-8c48-48a1-9072-2410fad0e04f + - fca9cbe9-148b-41dd-afd5-d6ca2674c2ac content-length: - - '81' + - '83' content-type: - application/json; charset=utf-8 date: - - Wed, 11 Nov 2020 20:27:58 GMT + - Wed, 03 Mar 2021 23:17:00 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '39' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_get_model_auth_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_get_model_auth_bad_key.yaml index 958271d65420..c316ea478bf4 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_get_model_auth_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_get_model_auth_bad_key.yaml @@ -9,9 +9,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/xx?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/xx?includeKeys=true response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -21,7 +21,7 @@ interactions: content-length: - '224' date: - - Fri, 30 Oct 2020 01:19:11 GMT + - Wed, 03 Mar 2021 23:17:00 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_list_model_auth_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_list_model_auth_bad_key.yaml index 7105fe2b6954..e3150b6c18b4 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_list_model_auth_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_list_model_auth_bad_key.yaml @@ -9,9 +9,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=full + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=full response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -21,7 +21,7 @@ interactions: content-length: - '224' date: - - Fri, 30 Oct 2020 01:19:12 GMT + - Wed, 03 Mar 2021 23:17:00 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_mgmt_model_labeled.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_mgmt_model_labeled.yaml index da0346af9804..46c7f41452d7 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_mgmt_model_labeled.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_mgmt_model_labeled.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "containersasurl", "sourceFilter": {"prefix": "", "includeSubFolders": + body: 'b''{"source": "container_sas_url", "sourceFilter": {"prefix": "", "includeSubFolders": false}, "useLabelFile": true}''' headers: Accept: @@ -10,31 +10,31 @@ interactions: Connection: - keep-alive Content-Length: - - '287' + - '283' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models response: body: string: '' headers: apim-request-id: - - 7567e6b5-5264-4b28-a254-0aea453d78f7 + - 50f07576-0189-4add-83c7-5462b3f2b4a9 content-length: - '0' date: - - Fri, 30 Oct 2020 01:19:12 GMT + - Wed, 03 Mar 2021 23:17:01 GMT location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/e59dca64-ade5-4843-95a7-5e7e3e70c15c + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/9927f11e-1b45-4279-b698-f83db23a5706 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '39' + - '447' status: code: 201 message: Created @@ -48,43 +48,43 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/e59dca64-ade5-4843-95a7-5e7e3e70c15c?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/9927f11e-1b45-4279-b698-f83db23a5706?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "e59dca64-ade5-4843-95a7-5e7e3e70c15c", "attributes": - {"isComposed": false}, "status": "ready", "createdDateTime": "2020-10-30T01:19:12Z", - "lastUpdatedDateTime": "2020-10-30T01:19:15Z"}, "trainResult": {"averageModelAccuracy": + string: '{"modelInfo": {"modelId": "9927f11e-1b45-4279-b698-f83db23a5706", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-03-03T23:17:02Z", + "lastUpdatedDateTime": "2021-03-03T23:17:05Z"}, "trainResult": {"averageModelAccuracy": 0.96, "trainingDocuments": [{"documentName": "Form_1.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_2.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_3.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_4.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_5.jpg", "pages": 1, "status": "succeeded"}], "fields": [{"fieldName": "CompanyAddress", - "accuracy": 0.8}, {"fieldName": "CompanyName", "accuracy": 1.0}, {"fieldName": - "CompanyPhoneNumber", "accuracy": 1.0}, {"fieldName": "DatedAs", "accuracy": - 1.0}, {"fieldName": "Email", "accuracy": 0.8}, {"fieldName": "Merchant", "accuracy": - 1.0}, {"fieldName": "PhoneNumber", "accuracy": 1.0}, {"fieldName": "PurchaseOrderNumber", - "accuracy": 1.0}, {"fieldName": "Quantity", "accuracy": 1.0}, {"fieldName": - "Signature", "accuracy": 0.8}, {"fieldName": "Subtotal", "accuracy": 1.0}, - {"fieldName": "Tax", "accuracy": 1.0}, {"fieldName": "Total", "accuracy": - 1.0}, {"fieldName": "VendorName", "accuracy": 1.0}, {"fieldName": "Website", - "accuracy": 1.0}], "errors": []}}' + "accuracy": 0.8}, {"fieldName": "CompanyName", "accuracy": 0.995}, {"fieldName": + "CompanyPhoneNumber", "accuracy": 0.995}, {"fieldName": "DatedAs", "accuracy": + 0.995}, {"fieldName": "Email", "accuracy": 0.8}, {"fieldName": "Merchant", + "accuracy": 0.995}, {"fieldName": "PhoneNumber", "accuracy": 0.995}, {"fieldName": + "PurchaseOrderNumber", "accuracy": 0.995}, {"fieldName": "Quantity", "accuracy": + 0.995}, {"fieldName": "Signature", "accuracy": 0.8}, {"fieldName": "Subtotal", + "accuracy": 0.995}, {"fieldName": "Tax", "accuracy": 0.995}, {"fieldName": + "Total", "accuracy": 0.995}, {"fieldName": "VendorName", "accuracy": 0.995}, + {"fieldName": "Website", "accuracy": 0.995}], "errors": []}}' headers: apim-request-id: - - 0bd9dc51-bbf5-4b97-92bf-d1920906259d + - 41ebc882-890d-4454-bb34-0710947bde35 + content-length: + - '1242' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:17 GMT + - Wed, 03 Mar 2021 23:17:07 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '80' + - '15' status: code: 200 message: OK @@ -98,43 +98,1012 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/e59dca64-ade5-4843-95a7-5e7e3e70c15c?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/9927f11e-1b45-4279-b698-f83db23a5706?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "e59dca64-ade5-4843-95a7-5e7e3e70c15c", "attributes": - {"isComposed": false}, "status": "ready", "createdDateTime": "2020-10-30T01:19:12Z", - "lastUpdatedDateTime": "2020-10-30T01:19:15Z"}, "trainResult": {"averageModelAccuracy": + string: '{"modelInfo": {"modelId": "9927f11e-1b45-4279-b698-f83db23a5706", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-03-03T23:17:02Z", + "lastUpdatedDateTime": "2021-03-03T23:17:05Z"}, "trainResult": {"averageModelAccuracy": 0.96, "trainingDocuments": [{"documentName": "Form_1.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_2.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_3.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_4.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_5.jpg", "pages": 1, "status": "succeeded"}], "fields": [{"fieldName": "CompanyAddress", - "accuracy": 0.8}, {"fieldName": "CompanyName", "accuracy": 1.0}, {"fieldName": - "CompanyPhoneNumber", "accuracy": 1.0}, {"fieldName": "DatedAs", "accuracy": - 1.0}, {"fieldName": "Email", "accuracy": 0.8}, {"fieldName": "Merchant", "accuracy": - 1.0}, {"fieldName": "PhoneNumber", "accuracy": 1.0}, {"fieldName": "PurchaseOrderNumber", - "accuracy": 1.0}, {"fieldName": "Quantity", "accuracy": 1.0}, {"fieldName": - "Signature", "accuracy": 0.8}, {"fieldName": "Subtotal", "accuracy": 1.0}, - {"fieldName": "Tax", "accuracy": 1.0}, {"fieldName": "Total", "accuracy": - 1.0}, {"fieldName": "VendorName", "accuracy": 1.0}, {"fieldName": "Website", - "accuracy": 1.0}], "errors": []}}' + "accuracy": 0.8}, {"fieldName": "CompanyName", "accuracy": 0.995}, {"fieldName": + "CompanyPhoneNumber", "accuracy": 0.995}, {"fieldName": "DatedAs", "accuracy": + 0.995}, {"fieldName": "Email", "accuracy": 0.8}, {"fieldName": "Merchant", + "accuracy": 0.995}, {"fieldName": "PhoneNumber", "accuracy": 0.995}, {"fieldName": + "PurchaseOrderNumber", "accuracy": 0.995}, {"fieldName": "Quantity", "accuracy": + 0.995}, {"fieldName": "Signature", "accuracy": 0.8}, {"fieldName": "Subtotal", + "accuracy": 0.995}, {"fieldName": "Tax", "accuracy": 0.995}, {"fieldName": + "Total", "accuracy": 0.995}, {"fieldName": "VendorName", "accuracy": 0.995}, + {"fieldName": "Website", "accuracy": 0.995}], "errors": []}}' + headers: + apim-request-id: + - b0b30de7-1e54-4391-80a2-bedf24646538 + content-length: + - '1242' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:17:07 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '14' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=full + response: + body: + string: '{"modelList": [{"modelId": "027cae79-768f-4ecd-8376-cfdcfe86b6dc", + "status": "invalid", "createdDateTime": "2021-03-03T22:17:25Z", "lastUpdatedDateTime": + "2021-03-03T22:17:25Z"}, {"modelId": "0349ec84-1570-43cf-be3c-ce753fdfb98f", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:47Z", "lastUpdatedDateTime": "2020-11-20T17:56:50Z"}, {"modelId": + "03608263-829e-41b3-a080-f471c165809b", "status": "ready", "createdDateTime": + "2020-04-02T01:35:33Z", "lastUpdatedDateTime": "2020-04-02T01:37:36Z"}, {"modelId": + "046720f8-2956-4b31-9153-915048e815e5", "modelName": "model1", "status": "invalid", + "createdDateTime": "2021-02-19T19:06:57Z", "lastUpdatedDateTime": "2021-02-19T19:06:58Z"}, + {"modelId": "05cfe98b-5315-4de8-bbf0-cbc97aa05857", "attributes": {"isComposed": + false}, "status": "ready", "createdDateTime": "2021-02-19T19:05:57Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "05d8dd77-177c-4f27-ab8e-53d5f6856d4c", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-25T15:54:54Z", + "lastUpdatedDateTime": "2021-02-25T15:54:57Z"}, {"modelId": "06250af1-6a8f-4f6d-8432-4964338e0033", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-19T18:08:35Z", + "lastUpdatedDateTime": "2020-11-19T18:08:51Z"}, {"modelId": "06829eaa-56f7-42c2-8c48-0060e58a7c47", + "status": "ready", "createdDateTime": "2020-04-02T17:48:45Z", "lastUpdatedDateTime": + "2020-04-02T17:50:46Z"}, {"modelId": "07a9d365-0629-4b5c-b913-6dd3e1f2e617", + "status": "invalid", "createdDateTime": "2020-04-09T18:19:12Z", "lastUpdatedDateTime": + "2020-04-09T18:19:12Z"}, {"modelId": "08d21ef4-e9c4-425b-a22e-e5070ecd04b8", + "status": "ready", "createdDateTime": "2020-04-20T19:50:17Z", "lastUpdatedDateTime": + "2020-04-20T19:50:24Z"}, {"modelId": "09a6923d-425d-49f6-a967-6cb78a718b10", + "status": "ready", "createdDateTime": "2020-04-02T19:06:24Z", "lastUpdatedDateTime": + "2020-04-02T19:08:26Z"}, {"modelId": "0a0a321b-5a0a-40c7-8178-88d478aa8bc8", + "status": "ready", "createdDateTime": "2020-03-12T22:35:52Z", "lastUpdatedDateTime": + "2020-03-12T22:36:04Z"}, {"modelId": "0a9f53c0-6a42-43a9-aec1-8f897d23a2e0", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:36:47Z", "lastUpdatedDateTime": + "2020-08-11T19:36:47Z"}, {"modelId": "0af45f1a-2639-4cce-aaa8-d522088af823", + "status": "invalid", "createdDateTime": "2021-03-03T22:51:37Z", "lastUpdatedDateTime": + "2021-03-03T22:51:37Z"}, {"modelId": "0b4e3b6f-e257-4bea-8fbe-f1a36cbb9c34", + "status": "ready", "createdDateTime": "2020-11-19T17:16:30Z", "lastUpdatedDateTime": + "2020-11-19T17:16:46Z"}, {"modelId": "0bbb06e5-027d-4852-ba03-34c210a8b37d", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:23Z", "lastUpdatedDateTime": + "2021-02-19T19:06:24Z"}, {"modelId": "0c23fe9c-8c37-496d-a730-b4345d98efa1", + "status": "invalid", "createdDateTime": "2020-04-01T01:39:24Z", "lastUpdatedDateTime": + "2020-04-01T01:39:25Z"}, {"modelId": "0c253e30-4d5d-4eb3-a511-9954117b2ad6", + "status": "ready", "createdDateTime": "2020-04-06T21:51:35Z", "lastUpdatedDateTime": + "2020-04-06T21:51:37Z"}, {"modelId": "0c262f88-6b96-463a-b117-c8c05b1f283a", + "status": "ready", "createdDateTime": "2020-04-13T16:51:25Z", "lastUpdatedDateTime": + "2020-04-13T16:51:28Z"}, {"modelId": "0c751614-bf54-485d-a7e3-bdeae944cacf", + "modelName": "mymodel", "status": "invalid", "createdDateTime": "2021-02-19T19:07:03Z", + "lastUpdatedDateTime": "2021-02-19T19:07:03Z"}, {"modelId": "0cd58150-a8ab-4dc6-b6c4-c38fb3cb4a72", + "status": "creating", "createdDateTime": "2020-05-29T16:04:30Z", "lastUpdatedDateTime": + "2020-05-29T16:04:30Z"}, {"modelId": "0d90db32-948c-48b6-a0b6-d55aceea3f1b", + "status": "invalid", "createdDateTime": "2020-04-02T22:12:27Z", "lastUpdatedDateTime": + "2020-04-02T22:12:28Z"}, {"modelId": "0d983956-58a2-4eb9-88cd-b21babb53b81", + "status": "ready", "createdDateTime": "2020-04-02T01:43:12Z", "lastUpdatedDateTime": + "2020-04-02T01:45:12Z"}, {"modelId": "0fa1a763-9fca-4b2c-a836-2c735bfc04e1", + "status": "ready", "createdDateTime": "2020-11-19T21:19:07Z", "lastUpdatedDateTime": + "2020-11-19T21:19:23Z"}, {"modelId": "1032c1fb-d21e-4a62-b243-81b566d14cd4", + "status": "ready", "createdDateTime": "2021-02-19T19:05:58Z", "lastUpdatedDateTime": + "2021-02-19T19:06:27Z"}, {"modelId": "103f3d33-52a4-44f9-ace9-f02af6d9ba05", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:15:44Z", "lastUpdatedDateTime": + "2020-08-11T19:15:49Z"}, {"modelId": "11035dc7-1d65-4854-8448-6b398400ad76", + "modelName": "unlabeled", "status": "invalid", "createdDateTime": "2021-02-26T20:14:56Z", + "lastUpdatedDateTime": "2021-02-26T20:14:56Z"}, {"modelId": "11e430a0-6d91-415d-9d55-0a5e85caeb03", + "status": "ready", "createdDateTime": "2020-04-21T05:31:24Z", "lastUpdatedDateTime": + "2020-04-21T05:31:32Z"}, {"modelId": "11fbb12b-08ba-4366-81a6-201e2ad5e7b2", + "status": "ready", "createdDateTime": "2021-02-19T18:56:02Z", "lastUpdatedDateTime": + "2021-02-19T18:56:29Z"}, {"modelId": "121189b0-b26b-4993-8043-1c5edb12bea9", + "status": "invalid", "createdDateTime": "2021-03-03T20:09:55Z", "lastUpdatedDateTime": + "2021-03-03T20:09:55Z"}, {"modelId": "128f86f1-8257-42c2-acf0-151eca2f42ec", + "status": "ready", "createdDateTime": "2020-04-13T17:42:23Z", "lastUpdatedDateTime": + "2020-04-13T17:42:31Z"}, {"modelId": "13bac5a8-dc61-4ab2-b523-14afcdaff04b", + "status": "invalid", "createdDateTime": "2021-03-03T22:26:07Z", "lastUpdatedDateTime": + "2021-03-03T22:26:07Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!212!MDAwMTEzIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzEzYmFjNWE4LWRjNjEtNGFiMi1iNTIzLTE0YWZjZGFmZjA0Yi92ZXJzaW9uLXYyLjEtcHJldmlldy4zITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ--"}' + headers: + apim-request-id: + - 99030f8e-d7b1-4a2a-b43a-05dc86a8be33 + content-length: + - '5642' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:17:07 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '191' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!212!MDAwMTEzIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzEzYmFjNWE4LWRjNjEtNGFiMi1iNTIzLTE0YWZjZGFmZjA0Yi92ZXJzaW9uLXYyLjEtcHJldmlldy4zITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ-- + response: + body: + string: '{"modelList": [{"modelId": "13bac5a8-dc61-4ab2-b523-14afcdaff04b", + "status": "invalid", "createdDateTime": "2021-03-03T22:26:07Z", "lastUpdatedDateTime": + "2021-03-03T22:26:07Z"}, {"modelId": "1407631e-cce1-49fc-8868-2bc95932c157", + "status": "ready", "createdDateTime": "2020-03-27T20:11:07Z", "lastUpdatedDateTime": + "2020-03-27T20:11:15Z"}, {"modelId": "15f25afa-b250-4d26-b375-f05aa70e3278", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T21:55:29Z", "lastUpdatedDateTime": + "2020-08-11T21:55:29Z"}, {"modelId": "16e581dd-4947-439c-9b19-411ef7734700", + "status": "ready", "createdDateTime": "2020-04-10T20:45:47Z", "lastUpdatedDateTime": + "2020-04-10T20:45:56Z"}, {"modelId": "178c93a0-c522-4862-a8c8-57ef873c6168", + "status": "ready", "createdDateTime": "2020-03-05T18:25:03Z", "lastUpdatedDateTime": + "2020-03-05T18:25:05Z"}, {"modelId": "18066853-86a6-410a-991d-4ce0312df101", + "status": "invalid", "createdDateTime": "2020-04-10T18:09:23Z", "lastUpdatedDateTime": + "2020-04-10T18:09:24Z"}, {"modelId": "180a64b8-d1da-4b03-8822-6f1bbf10682c", + "status": "ready", "createdDateTime": "2020-03-30T21:16:27Z", "lastUpdatedDateTime": + "2020-03-30T21:18:28Z"}, {"modelId": "1925120a-534b-4978-9fa7-79e9d0968200", + "status": "invalid", "createdDateTime": "2020-04-02T19:59:19Z", "lastUpdatedDateTime": + "2020-04-02T19:59:19Z"}, {"modelId": "1b18185c-90f8-4416-b9a4-de734b8a3cbd", + "status": "creating", "createdDateTime": "2020-07-02T19:29:54Z", "lastUpdatedDateTime": + "2020-07-02T19:29:54Z"}, {"modelId": "1b9f130b-e3c1-4b11-8c38-e6b42f0cceaf", + "status": "invalid", "createdDateTime": "2021-03-03T20:09:49Z", "lastUpdatedDateTime": + "2021-03-03T20:09:50Z"}, {"modelId": "1be78ab6-f6b1-40d1-a92e-c248b6fd8beb", + "status": "invalid", "createdDateTime": "2021-03-03T21:50:30Z", "lastUpdatedDateTime": + "2021-03-03T21:50:30Z"}, {"modelId": "1d9dcd3e-d60d-4e77-8982-14a34c43aed8", + "status": "ready", "createdDateTime": "2020-04-10T16:56:22Z", "lastUpdatedDateTime": + "2020-04-10T16:56:31Z"}, {"modelId": "1e44c0b5-7549-4344-8f09-7cee4e2fb7f2", + "status": "ready", "createdDateTime": "2020-04-02T19:11:08Z", "lastUpdatedDateTime": + "2020-04-02T19:13:12Z"}, {"modelId": "1e48d82a-91d9-4b03-84cb-e980475bec0c", + "status": "invalid", "createdDateTime": "2020-04-01T17:38:00Z", "lastUpdatedDateTime": + "2020-04-01T17:38:01Z"}, {"modelId": "1ea71d96-9a89-48a5-bd1f-9c08c7bef5b4", + "status": "invalid", "createdDateTime": "2021-03-01T21:15:25Z", "lastUpdatedDateTime": + "2021-03-01T21:15:25Z"}, {"modelId": "1f12f046-941f-4a1c-9c55-df6070c2a0a3", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:46:07Z", "lastUpdatedDateTime": + "2020-08-11T19:46:07Z"}, {"modelId": "20229c83-bb46-4e83-8175-cd6814e564b5", + "status": "invalid", "createdDateTime": "2020-04-02T19:41:06Z", "lastUpdatedDateTime": + "2020-04-02T19:42:07Z"}, {"modelId": "20741f36-3cbc-43e3-9198-973bcf810e38", + "status": "ready", "createdDateTime": "2020-04-02T19:09:18Z", "lastUpdatedDateTime": + "2020-04-02T19:11:22Z"}, {"modelId": "217ac7d5-09a9-428c-9e71-c2936c3758cc", + "status": "invalid", "createdDateTime": "2021-03-03T22:17:31Z", "lastUpdatedDateTime": + "2021-03-03T22:17:31Z"}, {"modelId": "21a7199f-527b-44a5-9e53-40df23e817b8", + "status": "invalid", "createdDateTime": "2021-03-03T21:43:09Z", "lastUpdatedDateTime": + "2021-03-03T21:43:10Z"}, {"modelId": "229dc8b9-574f-4fb3-9130-47c6ba79966e", + "status": "ready", "createdDateTime": "2020-04-01T23:25:34Z", "lastUpdatedDateTime": + "2020-04-01T23:27:36Z"}, {"modelId": "2374f501-67ac-450b-be23-4d12b300940a", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-03-01T16:04:55Z", + "lastUpdatedDateTime": "2021-03-01T16:04:56Z"}, {"modelId": "24bd010b-0f58-4808-854f-ae18d69a097e", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:01Z", "lastUpdatedDateTime": + "2021-02-19T18:56:02Z"}, {"modelId": "252f2c01-3305-4ef1-a625-2eed6f43d08a", + "status": "ready", "createdDateTime": "2020-04-01T23:01:25Z", "lastUpdatedDateTime": + "2020-04-01T23:03:25Z"}, {"modelId": "2598bc24-2d79-475e-a44a-351251d544c7", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "25d83018-a1d1-42ea-aaab-db80101e72f0", + "status": "invalid", "createdDateTime": "2021-03-01T21:12:29Z", "lastUpdatedDateTime": + "2021-03-01T21:12:30Z"}, {"modelId": "27533222-4f99-41e2-bd54-b3598918639e", + "status": "ready", "createdDateTime": "2020-11-19T21:37:41Z", "lastUpdatedDateTime": + "2020-11-19T21:38:18Z"}, {"modelId": "293a38ba-6fb2-424f-8290-4b0bbe73e820", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-26T18:54:00Z", + "lastUpdatedDateTime": "2021-02-26T18:54:51Z"}, {"modelId": "297766a7-8028-4548-83bd-c4af696fa9c4", + "status": "ready", "createdDateTime": "2020-03-19T22:15:58Z", "lastUpdatedDateTime": + "2020-03-19T22:16:15Z"}, {"modelId": "2b84f4f2-a0d2-4e31-8c4b-4c102f521e59", + "status": "ready", "createdDateTime": "2020-04-05T22:26:42Z", "lastUpdatedDateTime": + "2020-04-05T22:26:49Z"}, {"modelId": "2c1aee9f-c495-4412-aa51-b7e9dad2681c", + "status": "invalid", "createdDateTime": "2021-03-03T21:21:07Z", "lastUpdatedDateTime": + "2021-03-03T21:21:08Z"}, {"modelId": "2c2d9b81-1166-4dfc-b2c6-f5f40523887c", + "status": "invalid", "createdDateTime": "2020-03-16T19:18:56Z", "lastUpdatedDateTime": + "2020-03-16T19:18:57Z"}, {"modelId": "2c47ef69-7c97-4291-86f0-158d9eb82e3b", + "modelName": "mymodel", "status": "invalid", "createdDateTime": "2021-02-19T19:07:09Z", + "lastUpdatedDateTime": "2021-02-19T19:07:09Z"}, {"modelId": "2c8d5479-1486-4557-a41c-10aac7e30cad", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "2de6a454-2901-4b2b-82cf-ae7dcf9f8231", + "status": "invalid", "createdDateTime": "2020-03-05T18:05:36Z", "lastUpdatedDateTime": + "2020-03-05T18:05:39Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzJlMzJiYWNjLWRhZWMtNGVlMS04OTZlLTUyMWJiODBiMzg3Yy8yZTMyYmFjYy1kYWVjLTRlZTEtODk2ZS01MjFiYjgwYjM4N2MuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 6e3fda67-8232-4362-b73b-aa27d469547c + content-length: + - '6027' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:17:07 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '250' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzJlMzJiYWNjLWRhZWMtNGVlMS04OTZlLTUyMWJiODBiMzg3Yy8yZTMyYmFjYy1kYWVjLTRlZTEtODk2ZS01MjFiYjgwYjM4N2MuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "2e32bacc-daec-4ee1-896e-521bb80b387c", + "status": "creating", "createdDateTime": "2020-05-20T00:03:01Z", "lastUpdatedDateTime": + "2020-05-20T00:03:01Z"}, {"modelId": "2fb69599-fb4b-4e48-81f5-80fec8cbd40e", + "status": "invalid", "createdDateTime": "2021-03-03T22:19:03Z", "lastUpdatedDateTime": + "2021-03-03T22:19:04Z"}, {"modelId": "30e01d7e-fc14-4894-b325-ff9c2c299dee", + "status": "ready", "createdDateTime": "2020-11-19T18:06:01Z", "lastUpdatedDateTime": + "2020-11-19T18:06:18Z"}, {"modelId": "319704f8-f5e0-4b80-a94a-4a37c7bd45c1", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "31c62d2e-aaea-4ce2-b63f-e7ca4ca219df", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:02Z", "lastUpdatedDateTime": + "2021-02-22T16:20:19Z"}, {"modelId": "31f7c2b6-6e4f-45db-ae54-7be3492141ee", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:03Z", "lastUpdatedDateTime": + "2021-02-22T16:20:03Z"}, {"modelId": "325b479e-a871-48dc-a027-03000a3c5d83", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:56Z", "lastUpdatedDateTime": + "2021-02-19T19:05:57Z"}, {"modelId": "33486c04-5819-4fdf-931a-d4f8100c8293", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:11Z", "lastUpdatedDateTime": + "2021-02-19T19:01:12Z"}, {"modelId": "3392a433-a09d-4d92-ae6b-e563c1384542", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:46:29Z", "lastUpdatedDateTime": + "2020-08-11T19:46:29Z"}, {"modelId": "33c8e981-f08a-42b5-a43f-f81806c4a2b5", + "status": "ready", "createdDateTime": "2020-04-10T21:08:38Z", "lastUpdatedDateTime": + "2020-04-10T21:08:47Z"}, {"modelId": "33f9b89e-ef67-4c0f-b726-1cd9d19cbcb6", + "status": "ready", "createdDateTime": "2020-04-02T19:15:32Z", "lastUpdatedDateTime": + "2020-04-02T19:17:28Z"}, {"modelId": "34688789-9891-4bba-b91d-37dd357661f7", + "status": "invalid", "createdDateTime": "2020-03-05T18:22:55Z", "lastUpdatedDateTime": + "2020-03-05T18:22:55Z"}, {"modelId": "356fc9f8-1bd3-4427-b6fa-4ca46a12812a", + "status": "ready", "createdDateTime": "2020-04-02T00:28:44Z", "lastUpdatedDateTime": + "2020-04-02T00:30:45Z"}, {"modelId": "3725e29d-308c-49be-9904-1ce5e085b87b", + "status": "ready", "createdDateTime": "2020-04-09T17:36:08Z", "lastUpdatedDateTime": + "2020-04-09T17:36:17Z"}, {"modelId": "373ab10b-ea40-4689-9dd7-5fb4d028ccde", + "status": "ready", "createdDateTime": "2020-11-20T17:37:25Z", "lastUpdatedDateTime": + "2020-11-20T17:37:41Z"}, {"modelId": "374e5862-9360-4429-a5c2-55c5cc3a66ac", + "status": "ready", "createdDateTime": "2020-03-27T23:00:23Z", "lastUpdatedDateTime": + "2020-03-27T23:00:32Z"}, {"modelId": "380a10fb-85b3-42ec-81ee-f4a7a8ef5f1e", + "status": "ready", "createdDateTime": "2020-04-02T00:07:12Z", "lastUpdatedDateTime": + "2020-04-02T00:09:15Z"}, {"modelId": "3851b84e-5b43-49d1-b98a-00c636f780c1", + "status": "ready", "createdDateTime": "2020-11-19T21:34:53Z", "lastUpdatedDateTime": + "2020-11-19T21:35:09Z"}, {"modelId": "3b71c908-f4b0-4245-9f2c-fcab3320d6c0", + "status": "invalid", "createdDateTime": "2020-03-13T21:38:42Z", "lastUpdatedDateTime": + "2020-03-13T21:38:43Z"}, {"modelId": "3c4089a9-afc3-4080-aa41-c0efedf9029a", + "status": "ready", "createdDateTime": "2020-04-02T16:57:36Z", "lastUpdatedDateTime": + "2020-04-02T16:59:42Z"}, {"modelId": "3c436ebc-7a07-4748-8f0d-0a9ea53dc624", + "status": "invalid", "createdDateTime": "2020-04-01T01:53:34Z", "lastUpdatedDateTime": + "2020-04-01T01:53:35Z"}, {"modelId": "3c70b5cf-2e6f-4eff-ba98-370c5178f9e6", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:00Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "3d9d94bc-ae95-46df-821d-613a58adbe92", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:08Z", "lastUpdatedDateTime": "2021-02-19T18:56:11Z"}, {"modelId": + "3e4fce16-793c-442a-8c35-84fc716734a2", "status": "invalid", "createdDateTime": + "2020-04-13T19:42:52Z", "lastUpdatedDateTime": "2020-04-13T19:45:52Z"}, {"modelId": + "3e931bc9-94bb-4c05-bd28-f3af1023a78f", "status": "ready", "createdDateTime": + "2020-11-20T16:49:47Z", "lastUpdatedDateTime": "2020-11-20T16:50:04Z"}, {"modelId": + "3ec666a5-0267-4caf-9c09-ef8bfdf234da", "status": "ready", "createdDateTime": + "2020-04-02T17:30:06Z", "lastUpdatedDateTime": "2020-04-02T17:32:03Z"}, {"modelId": + "3f005482-fff7-4003-8e01-bcfe625f7648", "modelName": "mycomposedmodel", "attributes": + {"isComposed": true}, "status": "ready", "createdDateTime": "2020-09-15T00:28:40Z", + "lastUpdatedDateTime": "2020-09-15T00:28:41Z"}, {"modelId": "3f20291f-8372-4db1-a46c-2a69bbe493cf", + "status": "ready", "createdDateTime": "2020-03-16T16:28:19Z", "lastUpdatedDateTime": + "2020-03-16T16:30:23Z"}, {"modelId": "41a711cd-9c4e-48f7-be80-b166ac0c9a91", + "status": "ready", "createdDateTime": "2020-03-24T20:41:33Z", "lastUpdatedDateTime": + "2020-03-24T20:41:53Z"}, {"modelId": "4211beb5-40f4-4433-a41f-f710da174195", + "status": "invalid", "createdDateTime": "2020-04-02T17:17:14Z", "lastUpdatedDateTime": + "2020-04-02T17:18:12Z"}, {"modelId": "428b2349-e0a2-4d1e-87d0-20f9f43326a8", + "status": "ready", "createdDateTime": "2020-04-21T05:39:12Z", "lastUpdatedDateTime": + "2020-04-21T05:39:20Z"}, {"modelId": "4294bb2d-e168-4edf-970a-efd2c689b9b5", + "status": "ready", "createdDateTime": "2021-02-19T18:56:08Z", "lastUpdatedDateTime": + "2021-02-19T18:56:38Z"}, {"modelId": "42e285f7-fd3d-4440-bd44-6b9af13b259b", + "status": "invalid", "createdDateTime": "2020-04-13T19:44:25Z", "lastUpdatedDateTime": + "2020-04-13T19:44:25Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzQzMTY0YTE3LWYyOTItNGNmYy05NDk2LTkyYTJmNmI5MDIyMi80MzE2NGExNy1mMjkyLTRjZmMtOTQ5Ni05MmEyZjZiOTAyMjIuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh"}' + headers: + apim-request-id: + - e84b8c6e-671b-4e39-8577-6b31a7018afb + content-length: + - '5667' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:17:07 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '164' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzQzMTY0YTE3LWYyOTItNGNmYy05NDk2LTkyYTJmNmI5MDIyMi80MzE2NGExNy1mMjkyLTRjZmMtOTQ5Ni05MmEyZjZiOTAyMjIuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh + response: + body: + string: '{"modelList": [{"modelId": "43164a17-f292-4cfc-9496-92a2f6b90222", + "status": "ready", "createdDateTime": "2020-03-27T22:59:36Z", "lastUpdatedDateTime": + "2020-03-27T22:59:45Z"}, {"modelId": "4351b6b3-3d21-4055-b138-1d280ef7b04b", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:34:49Z", "lastUpdatedDateTime": + "2020-08-11T20:34:54Z"}, {"modelId": "436a33e3-9c49-448e-94f8-3cf50dfca85f", + "status": "ready", "createdDateTime": "2020-03-12T19:20:27Z", "lastUpdatedDateTime": + "2020-03-12T19:20:28Z"}, {"modelId": "44dc9184-14ed-4474-ba62-93372ade56ec", + "status": "ready", "createdDateTime": "2020-03-24T01:45:18Z", "lastUpdatedDateTime": + "2020-03-24T01:45:25Z"}, {"modelId": "4503978d-f8c0-46e7-a5b1-6ddb28408c55", + "status": "invalid", "createdDateTime": "2020-04-09T18:19:55Z", "lastUpdatedDateTime": + "2020-04-09T18:19:56Z"}, {"modelId": "46e71ccc-c18c-4a9b-9e40-d36aa2752344", + "status": "creating", "createdDateTime": "2021-03-01T22:00:11Z", "lastUpdatedDateTime": + "2021-03-01T22:00:11Z"}, {"modelId": "47452604-2359-4d23-b952-ffa76f81f862", + "status": "ready", "createdDateTime": "2020-04-02T16:41:13Z", "lastUpdatedDateTime": + "2020-04-02T16:43:16Z"}, {"modelId": "475be9d7-a574-4c89-987d-e94a2193c9d8", + "status": "ready", "createdDateTime": "2020-04-01T02:02:01Z", "lastUpdatedDateTime": + "2020-04-01T02:02:10Z"}, {"modelId": "487b1b31-df87-40a7-9e93-5e21cad3b3f4", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:05:58Z", "lastUpdatedDateTime": "2021-03-01T16:06:02Z"}, + {"modelId": "493729ed-9bc9-4c18-8171-5b33fed6682e", "status": "ready", "createdDateTime": + "2020-04-11T19:41:14Z", "lastUpdatedDateTime": "2020-04-11T19:41:23Z"}, {"modelId": + "49d702f7-d4fd-48e6-b74f-2fad73494ae6", "status": "ready", "createdDateTime": + "2020-03-15T19:49:07Z", "lastUpdatedDateTime": "2020-03-15T19:51:02Z"}, {"modelId": + "49f3015b-0745-44b2-8a2a-180eed885c16", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:42:12Z", "lastUpdatedDateTime": + "2021-02-25T22:43:05Z"}, {"modelId": "4a85d6aa-84e9-4235-82a0-fd9698ef79c9", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:38:21Z", "lastUpdatedDateTime": + "2020-08-11T19:38:21Z"}, {"modelId": "4a93478e-9dd8-4fa2-afcb-260445275a40", + "status": "invalid", "createdDateTime": "2021-03-03T22:46:22Z", "lastUpdatedDateTime": + "2021-03-03T22:46:23Z"}, {"modelId": "4b8c7140-933f-4554-9d70-9b9ef6894501", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-19T17:18:56Z", + "lastUpdatedDateTime": "2020-11-19T17:19:14Z"}, {"modelId": "4bfe2202-aa36-4b59-a816-45e9ad2d1e2d", + "status": "ready", "createdDateTime": "2020-04-02T16:46:46Z", "lastUpdatedDateTime": + "2020-04-02T16:48:50Z"}, {"modelId": "4c7ce365-3e78-4379-8b3c-b7e01b2731cf", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:31Z", "lastUpdatedDateTime": "2020-11-20T17:56:33Z"}, {"modelId": + "4cba7332-5ea7-4453-996f-52d550d3341d", "modelName": "labeled", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-03-01T16:10:38Z", + "lastUpdatedDateTime": "2021-03-01T16:10:41Z"}, {"modelId": "4d14b6f2-f630-43a0-81b9-c7d4601eb582", + "status": "ready", "createdDateTime": "2021-01-21T23:40:43Z", "lastUpdatedDateTime": + "2021-01-21T23:41:08Z"}, {"modelId": "4d68c598-b03a-48f0-a1e1-2bf6fd9e1628", + "status": "invalid", "createdDateTime": "2020-04-01T23:51:37Z", "lastUpdatedDateTime": + "2020-04-01T23:52:33Z"}, {"modelId": "4daafb45-08e5-4369-bebd-2436cd531e11", + "status": "ready", "createdDateTime": "2020-04-02T02:19:17Z", "lastUpdatedDateTime": + "2020-04-02T02:21:18Z"}, {"modelId": "4dd5ded6-e44f-4ff4-9b6f-be48bd8420d1", + "status": "ready", "createdDateTime": "2020-03-13T16:53:03Z", "lastUpdatedDateTime": + "2020-03-13T16:55:06Z"}, {"modelId": "4e4f8e5a-0a31-4905-be65-8ba880d51815", + "status": "ready", "createdDateTime": "2020-04-01T23:03:58Z", "lastUpdatedDateTime": + "2020-04-01T23:06:01Z"}, {"modelId": "4e90eff6-eafb-4fd9-97cd-3c91a5073293", + "status": "invalid", "createdDateTime": "2021-03-03T21:54:11Z", "lastUpdatedDateTime": + "2021-03-03T21:54:11Z"}, {"modelId": "4eabb2b8-1186-437c-a365-adb55cbc11f2", + "status": "invalid", "createdDateTime": "2020-03-13T21:39:42Z", "lastUpdatedDateTime": + "2020-03-13T21:39:43Z"}, {"modelId": "4fd29344-db36-42ab-88fd-45928a922837", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:08:48Z", "lastUpdatedDateTime": "2021-03-01T16:08:50Z"}, + {"modelId": "5069bfd7-047c-4b60-bb9e-b2fe42be4eb8", "status": "ready", "createdDateTime": + "2020-04-02T19:14:24Z", "lastUpdatedDateTime": "2020-04-02T19:16:27Z"}, {"modelId": + "5153fca1-691c-4d29-9155-6cd0680e29c5", "status": "ready", "createdDateTime": + "2020-08-13T23:09:30Z", "lastUpdatedDateTime": "2020-08-13T23:09:43Z"}, {"modelId": + "536444c1-d804-4b6f-9f19-9ba41b697c75", "status": "invalid", "createdDateTime": + "2020-03-30T21:51:08Z", "lastUpdatedDateTime": "2020-03-30T21:51:08Z"}, {"modelId": + "53cc3e0b-eec1-467e-a261-9c26a9fa6244", "status": "ready", "createdDateTime": + "2020-05-29T15:57:35Z", "lastUpdatedDateTime": "2020-05-29T15:59:16Z"}, {"modelId": + "54cf155c-db2d-443b-83c3-ca31190fa6e8", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:43:51Z", "lastUpdatedDateTime": + "2021-02-25T22:44:49Z"}, {"modelId": "5516a93e-4cd8-4906-9ea9-26eb1bc855dd", + "status": "ready", "createdDateTime": "2020-04-10T20:41:35Z", "lastUpdatedDateTime": + "2020-04-10T20:41:43Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzU1MTZhOTNlLTRjZDgtNDkwNi05ZWE5LTI2ZWIxYmM4NTVkZC81NTE2YTkzZS00Y2Q4LTQ5MDYtOWVhOS0yNmViMWJjODU1ZGQuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 0534478d-d180-4f8f-9c57-737b9b5ee038 + content-length: + - '5747' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:17:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '167' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzU1MTZhOTNlLTRjZDgtNDkwNi05ZWE5LTI2ZWIxYmM4NTVkZC81NTE2YTkzZS00Y2Q4LTQ5MDYtOWVhOS0yNmViMWJjODU1ZGQuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "5516a93e-4cd8-4906-9ea9-26eb1bc855dd", + "status": "ready", "createdDateTime": "2020-04-10T20:41:35Z", "lastUpdatedDateTime": + "2020-04-10T20:41:43Z"}, {"modelId": "553c1c17-bd46-416e-96d5-4b8b15c2ab02", + "status": "invalid", "createdDateTime": "2021-03-01T21:11:20Z", "lastUpdatedDateTime": + "2021-03-01T21:11:20Z"}, {"modelId": "555aa4d1-0824-40f3-a693-e33ee522669c", + "status": "ready", "createdDateTime": "2020-04-10T20:30:47Z", "lastUpdatedDateTime": + "2020-04-10T20:30:57Z"}, {"modelId": "5650adb1-1387-41b3-a5dd-6e9833d2b33b", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:59Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "5654bd4b-e85c-41ed-b8f6-c77780d06551", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:07:47Z", "lastUpdatedDateTime": "2021-03-01T16:07:51Z"}, + {"modelId": "572b5e8c-125b-4f63-b9bc-a9de922abbd4", "status": "ready", "createdDateTime": + "2020-04-02T16:46:04Z", "lastUpdatedDateTime": "2020-04-02T16:48:04Z"}, {"modelId": + "57a8b733-80db-446e-92c9-110148ded1b7", "status": "ready", "createdDateTime": + "2020-03-30T21:14:25Z", "lastUpdatedDateTime": "2020-03-30T21:14:34Z"}, {"modelId": + "5821a84d-d13d-462c-b40c-6b90793b6565", "status": "ready", "createdDateTime": + "2020-04-20T19:46:37Z", "lastUpdatedDateTime": "2020-04-20T19:46:45Z"}, {"modelId": + "5924f18d-a26f-4653-b610-223b9594ca9b", "status": "ready", "createdDateTime": + "2020-03-15T19:34:12Z", "lastUpdatedDateTime": "2020-03-15T19:36:07Z"}, {"modelId": + "597701b0-5e5a-4594-bfbc-48ce5e31965f", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-19T19:05:59Z", "lastUpdatedDateTime": + "2021-02-19T19:06:05Z"}, {"modelId": "5b19288d-9048-4f40-a0e9-f4ef3c65795c", + "status": "ready", "createdDateTime": "2020-03-15T20:18:39Z", "lastUpdatedDateTime": + "2020-03-15T20:20:34Z"}, {"modelId": "5b973420-f850-4020-a2bc-6e9a14f6bbd0", + "status": "ready", "createdDateTime": "2020-04-01T23:27:46Z", "lastUpdatedDateTime": + "2020-04-01T23:29:46Z"}, {"modelId": "5c74c941-32d0-47cb-b65e-c5f7fb8ecac7", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T22:41:10Z", + "lastUpdatedDateTime": "2021-02-25T22:42:09Z"}, {"modelId": "5d90e99d-da95-4125-8c0c-a349e35a33d7", + "status": "invalid", "createdDateTime": "2021-03-03T22:24:07Z", "lastUpdatedDateTime": + "2021-03-03T22:24:08Z"}, {"modelId": "5ef66b5d-0ead-4031-a7d3-d46ba9673207", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "5f5eacbf-e45c-494d-96b1-38c785f19cc7", + "status": "ready", "createdDateTime": "2020-03-15T19:37:44Z", "lastUpdatedDateTime": + "2020-03-15T19:39:44Z"}, {"modelId": "5fd9558b-82e1-4443-b201-09486ce65d11", + "status": "ready", "createdDateTime": "2020-03-12T18:47:21Z", "lastUpdatedDateTime": + "2020-03-12T18:47:29Z"}, {"modelId": "61fcb11f-3bab-4edd-8264-b2ffbcc35869", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-01-25T19:54:26Z", "lastUpdatedDateTime": "2021-01-25T19:54:28Z"}, + {"modelId": "6271a9e4-90b5-45c2-ae09-85726535cf98", "status": "ready", "createdDateTime": + "2020-04-02T17:37:21Z", "lastUpdatedDateTime": "2020-04-02T17:37:37Z"}, {"modelId": + "62c71745-fd52-4f87-ba68-a66660e5398a", "status": "invalid", "createdDateTime": + "2020-03-15T19:29:14Z", "lastUpdatedDateTime": "2020-03-15T19:29:15Z"}, {"modelId": + "62f23b41-b5b0-4f15-b2da-a7fa33d83db7", "status": "ready", "createdDateTime": + "2020-04-09T01:41:38Z", "lastUpdatedDateTime": "2020-04-09T01:41:41Z"}, {"modelId": + "633eb385-0688-487d-98ec-23a981bda670", "status": "ready", "createdDateTime": + "2020-04-13T16:46:55Z", "lastUpdatedDateTime": "2020-04-13T16:47:04Z"}, {"modelId": + "634d2ef4-04c0-49ef-b10b-2356e68f7c8b", "status": "ready", "createdDateTime": + "2020-04-05T21:52:01Z", "lastUpdatedDateTime": "2020-04-05T21:52:02Z"}, {"modelId": + "63dd7c31-d7d2-4f72-84aa-9413b7cf04f7", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T19:10:27Z", "lastUpdatedDateTime": + "2021-02-26T19:10:30Z"}, {"modelId": "6408aa30-a1ab-4172-921e-dc71c26c028b", + "status": "invalid", "createdDateTime": "2021-03-01T21:13:25Z", "lastUpdatedDateTime": + "2021-03-01T21:13:26Z"}, {"modelId": "64d41333-9489-412e-af02-6664bb297e55", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:12Z", "lastUpdatedDateTime": + "2021-02-19T19:01:12Z"}, {"modelId": "65844abd-fb99-4b3c-b5c7-34e3b7c4db6c", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-19T19:05:56Z", + "lastUpdatedDateTime": "2021-02-19T19:05:56Z"}, {"modelId": "663b5cc9-97a3-472b-8c35-49728633ccd9", + "status": "ready", "createdDateTime": "2021-02-19T18:56:04Z", "lastUpdatedDateTime": + "2021-02-19T18:56:34Z"}, {"modelId": "67951586-1a2b-4957-bfef-8a963ef0e07d", + "status": "ready", "createdDateTime": "2020-04-02T17:00:05Z", "lastUpdatedDateTime": + "2020-04-02T17:02:03Z"}, {"modelId": "67d1e903-cc92-4294-9b03-8547eeb9d988", + "status": "ready", "createdDateTime": "2020-04-02T19:37:34Z", "lastUpdatedDateTime": + "2020-04-02T19:39:29Z"}, {"modelId": "68cb2ba6-e7d6-4e79-a50d-ee4c248d4156", + "status": "invalid", "createdDateTime": "2020-04-10T19:48:43Z", "lastUpdatedDateTime": + "2020-04-10T19:49:43Z"}, {"modelId": "6933b09c-30f1-46ed-bd25-5bc81c4e04df", + "status": "ready", "createdDateTime": "2020-04-13T17:41:16Z", "lastUpdatedDateTime": + "2020-04-13T17:41:24Z"}, {"modelId": "699fd879-f7d2-4e94-bc6a-88ed9fa47af4", + "status": "ready", "createdDateTime": "2020-04-02T17:35:47Z", "lastUpdatedDateTime": + "2020-04-02T17:35:58Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzY5OWZkODc5LWY3ZDItNGU5NC1iYzZhLTg4ZWQ5ZmE0N2FmNC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 0f9e64a6-5e5e-4a44-8a47-3a6424ab63f9 + content-length: + - '5680' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:17:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '157' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzY5OWZkODc5LWY3ZDItNGU5NC1iYzZhLTg4ZWQ5ZmE0N2FmNC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "699fd879-f7d2-4e94-bc6a-88ed9fa47af4", + "status": "ready", "createdDateTime": "2020-04-02T17:35:47Z", "lastUpdatedDateTime": + "2020-04-02T17:35:58Z"}, {"modelId": "69ee41be-3916-4d54-b28b-a579ebaa98dc", + "status": "invalid", "createdDateTime": "2020-04-10T20:15:51Z", "lastUpdatedDateTime": + "2020-04-10T20:16:51Z"}, {"modelId": "6a1d79a7-2c75-4257-959a-f89c420fbf66", + "status": "ready", "createdDateTime": "2020-04-10T21:01:19Z", "lastUpdatedDateTime": + "2020-04-10T21:01:28Z"}, {"modelId": "6b0e5399-dffc-4b8c-a8aa-bdc29109913d", + "status": "ready", "createdDateTime": "2020-04-13T16:42:19Z", "lastUpdatedDateTime": + "2020-04-13T16:42:22Z"}, {"modelId": "6c9ffc45-7f53-441b-afa7-7342edde4cd4", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:09:40Z", "lastUpdatedDateTime": "2021-03-01T16:09:43Z"}, + {"modelId": "6cf013cd-208a-4c83-844c-72a86945cf69", "modelName": "labeled", + "status": "invalid", "createdDateTime": "2021-02-26T20:11:41Z", "lastUpdatedDateTime": + "2021-02-26T20:11:42Z"}, {"modelId": "6d2866db-3e68-4cbf-8f95-6d8505354bc7", + "status": "invalid", "createdDateTime": "2020-04-01T02:12:18Z", "lastUpdatedDateTime": + "2020-04-01T02:12:18Z"}, {"modelId": "6e4bedbb-6246-4553-b31e-4959d1ef8f73", + "status": "invalid", "createdDateTime": "2020-04-01T02:15:10Z", "lastUpdatedDateTime": + "2020-04-01T02:15:11Z"}, {"modelId": "6eb745a3-07bc-4d18-8c48-9a0324cfe663", + "status": "ready", "createdDateTime": "2020-03-24T20:39:08Z", "lastUpdatedDateTime": + "2020-03-24T20:39:27Z"}, {"modelId": "6f8cfb3d-c933-4e95-b94d-7c6600d228cb", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-02-26T21:38:04Z", "lastUpdatedDateTime": "2021-02-26T21:38:08Z"}, + {"modelId": "6fd13b54-f34e-421f-a500-4255a000c96a", "attributes": {"isComposed": + false}, "status": "ready", "createdDateTime": "2020-11-20T17:58:30Z", "lastUpdatedDateTime": + "2020-11-20T17:59:32Z"}, {"modelId": "700bf4db-d96f-417c-a512-37a10d4362a2", + "status": "ready", "createdDateTime": "2020-03-30T21:54:06Z", "lastUpdatedDateTime": + "2020-03-30T21:54:14Z"}, {"modelId": "70ccd26d-5041-4407-a630-acdec9271538", + "status": "ready", "createdDateTime": "2020-04-01T23:38:56Z", "lastUpdatedDateTime": + "2020-04-01T23:40:50Z"}, {"modelId": "70e1ec58-43e4-4729-9d7b-587644d86743", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-20T16:47:52Z", + "lastUpdatedDateTime": "2020-11-20T16:48:09Z"}, {"modelId": "717cba6c-81a0-4113-911c-6ee14ecc1c64", + "status": "ready", "createdDateTime": "2020-04-13T16:35:46Z", "lastUpdatedDateTime": + "2020-04-13T16:35:49Z"}, {"modelId": "718e3eab-6f8f-422b-8e54-7932c7fa9ef2", + "status": "ready", "createdDateTime": "2020-04-22T03:13:32Z", "lastUpdatedDateTime": + "2020-04-22T03:13:40Z"}, {"modelId": "729b12ca-fd8d-4a9d-9b76-9554643ec37b", + "status": "ready", "createdDateTime": "2020-03-13T21:34:56Z", "lastUpdatedDateTime": + "2020-03-13T21:36:56Z"}, {"modelId": "731d62de-1b53-4ce6-92ae-48c5459bb1e1", + "status": "ready", "createdDateTime": "2020-04-10T20:29:01Z", "lastUpdatedDateTime": + "2020-04-10T20:29:10Z"}, {"modelId": "733fbb4c-bc74-440f-9809-c7a15c528bcc", + "status": "invalid", "createdDateTime": "2021-03-03T21:36:32Z", "lastUpdatedDateTime": + "2021-03-03T21:36:33Z"}, {"modelId": "73a6647a-c6f6-46fd-9ca7-990cffa615e0", + "status": "invalid", "createdDateTime": "2021-03-03T22:48:38Z", "lastUpdatedDateTime": + "2021-03-03T22:48:40Z"}, {"modelId": "74e60334-9958-4861-a975-96cf443b9425", + "status": "ready", "createdDateTime": "2020-04-13T16:35:39Z", "lastUpdatedDateTime": + "2020-04-13T16:35:49Z"}, {"modelId": "753f87ab-7de3-484a-88ab-989bfee65f48", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T19:05:58Z", "lastUpdatedDateTime": "2021-02-19T19:06:02Z"}, {"modelId": + "75ba63fd-348c-407f-ad77-99b67095786e", "status": "ready", "createdDateTime": + "2020-04-21T05:32:20Z", "lastUpdatedDateTime": "2020-04-21T05:32:29Z"}, {"modelId": + "75c89f8d-0f3e-4b5f-bc25-d44caf5f983b", "status": "ready", "createdDateTime": + "2020-04-02T21:09:43Z", "lastUpdatedDateTime": "2020-04-02T21:11:43Z"}, {"modelId": + "760bf229-1a1f-4aee-b4a1-d29ddad42907", "status": "ready", "createdDateTime": + "2020-04-02T17:42:19Z", "lastUpdatedDateTime": "2020-04-02T17:44:18Z"}, {"modelId": + "765218a9-bd57-4c76-85f2-bb01517e8af5", "status": "invalid", "createdDateTime": + "2021-03-03T21:21:01Z", "lastUpdatedDateTime": "2021-03-03T21:21:02Z"}, {"modelId": + "7713df98-539e-46c5-979c-60b29571495f", "status": "invalid", "createdDateTime": + "2021-02-19T19:05:54Z", "lastUpdatedDateTime": "2021-02-19T19:05:55Z"}, {"modelId": + "7771c362-af0d-43c5-ad7d-a228a75f28c0", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:44:52Z", "lastUpdatedDateTime": + "2021-02-25T22:45:45Z"}, {"modelId": "77ee725d-ab04-4522-b577-3e7a29326fd0", + "status": "ready", "createdDateTime": "2020-04-13T17:40:06Z", "lastUpdatedDateTime": + "2020-04-13T17:40:15Z"}, {"modelId": "785671f9-d058-4542-8d5a-6f08f1715e2a", + "status": "ready", "createdDateTime": "2020-04-06T21:54:09Z", "lastUpdatedDateTime": + "2020-04-06T21:54:18Z"}, {"modelId": "7a28024d-6e36-444f-ae51-3985fa8205f4", + "status": "invalid", "createdDateTime": "2020-04-10T18:17:16Z", "lastUpdatedDateTime": + "2020-04-10T18:17:17Z"}, {"modelId": "7aa01eff-7641-4332-917d-9566484ea249", + "status": "invalid", "createdDateTime": "2020-04-01T01:43:39Z", "lastUpdatedDateTime": + "2020-04-01T01:43:39Z"}, {"modelId": "7aeb48b3-6977-4091-9d69-a681675af360", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "7bb77385-094c-4a9b-be95-3ce02d472c58", + "status": "ready", "createdDateTime": "2020-04-10T21:04:12Z", "lastUpdatedDateTime": + "2020-04-10T21:04:26Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdiYjc3Mzg1LTA5NGMtNGE5Yi1iZTk1LTNjZTAyZDQ3MmM1OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 34a175a6-7202-4ff7-bfd4-60cac27e0657 + content-length: + - '5870' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:17:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '188' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdiYjc3Mzg1LTA5NGMtNGE5Yi1iZTk1LTNjZTAyZDQ3MmM1OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "7bb77385-094c-4a9b-be95-3ce02d472c58", + "status": "ready", "createdDateTime": "2020-04-10T21:04:12Z", "lastUpdatedDateTime": + "2020-04-10T21:04:26Z"}, {"modelId": "7bc722a1-fffc-4c41-9031-c7bda567bdfa", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:45:27Z", "lastUpdatedDateTime": + "2020-08-11T20:45:27Z"}, {"modelId": "7d061a34-c20b-4794-9c64-1bc6ee918329", + "status": "ready", "createdDateTime": "2020-04-02T02:45:16Z", "lastUpdatedDateTime": + "2020-04-02T02:47:18Z"}, {"modelId": "7e3e36ee-cdf6-406c-869b-3ef3f1d9aad9", + "status": "ready", "createdDateTime": "2020-03-11T03:02:02Z", "lastUpdatedDateTime": + "2020-03-11T03:02:11Z"}, {"modelId": "7e508843-5dd2-48d3-abd1-f542bc9c3c07", + "status": "ready", "createdDateTime": "2020-03-15T20:05:31Z", "lastUpdatedDateTime": + "2020-03-15T20:07:33Z"}, {"modelId": "7e5194c7-390c-4cee-9a0f-96d670e45b5a", + "status": "invalid", "createdDateTime": "2021-03-03T21:50:24Z", "lastUpdatedDateTime": + "2021-03-03T21:50:25Z"}, {"modelId": "7fd94e51-a18f-44f9-bcd0-ce8b84fb4d39", + "status": "ready", "createdDateTime": "2020-03-15T20:04:01Z", "lastUpdatedDateTime": + "2020-03-15T20:06:01Z"}, {"modelId": "80fee662-fd5a-41bf-b4f5-893e0eca4bb2", + "status": "ready", "createdDateTime": "2020-03-15T19:31:28Z", "lastUpdatedDateTime": + "2020-03-15T19:33:30Z"}, {"modelId": "8223dd41-2932-4301-b621-ccf75d6a3c0a", + "status": "ready", "createdDateTime": "2020-05-20T17:49:40Z", "lastUpdatedDateTime": + "2020-05-20T17:49:50Z"}, {"modelId": "824e9f66-031f-4908-9034-8e78e3202caa", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T19:06:00Z", "lastUpdatedDateTime": "2021-02-19T19:06:07Z"}, {"modelId": + "8254411d-a680-4941-ace4-a9524fc9a407", "modelName": "secondcomposedmodel", + "attributes": {"isComposed": true}, "status": "ready", "createdDateTime": + "2020-08-11T19:47:10Z", "lastUpdatedDateTime": "2020-08-11T19:47:10Z"}, {"modelId": + "82e6af94-0235-4f64-8106-cadfb5779124", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-01-21T23:43:43Z", "lastUpdatedDateTime": + "2021-01-21T23:43:46Z"}, {"modelId": "83163519-6d6c-4ba7-b6fe-cfb3a14d7cff", + "status": "ready", "createdDateTime": "2020-03-16T22:13:17Z", "lastUpdatedDateTime": + "2020-03-16T22:15:14Z"}, {"modelId": "83d2fbaa-8629-43f1-8e48-9891ae1858af", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:59:29Z", "lastUpdatedDateTime": + "2020-08-11T19:59:29Z"}, {"modelId": "86119a4f-e48a-4c15-9348-2d300aee1066", + "status": "ready", "createdDateTime": "2020-03-19T01:48:13Z", "lastUpdatedDateTime": + "2020-03-19T01:50:06Z"}, {"modelId": "8615384b-bd35-46c1-a15f-ce29b4687988", + "modelName": "mymodel", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2020-11-19T18:14:30Z", "lastUpdatedDateTime": "2020-11-19T18:14:32Z"}, + {"modelId": "863c1ede-91fd-4d79-88f2-b17b5ab745a7", "modelName": "labeled", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-01-25T20:17:52Z", "lastUpdatedDateTime": "2021-01-25T20:17:55Z"}, {"modelId": + "86761c26-b665-4611-8068-0641be2f5b88", "status": "ready", "createdDateTime": + "2020-04-02T17:11:01Z", "lastUpdatedDateTime": "2020-04-02T17:12:56Z"}, {"modelId": + "8757ab80-77cb-47f5-bf0b-cc12c11f1e3e", "status": "ready", "createdDateTime": + "2021-02-19T19:06:01Z", "lastUpdatedDateTime": "2021-02-19T19:06:33Z"}, {"modelId": + "87f94c1f-a345-4ecd-b440-df1ffffbe4cd", "status": "ready", "createdDateTime": + "2020-04-02T01:52:24Z", "lastUpdatedDateTime": "2020-04-02T01:54:26Z"}, {"modelId": + "8a255b7a-3fcb-4665-8219-c410c34d7d05", "status": "ready", "createdDateTime": + "2020-03-15T20:34:45Z", "lastUpdatedDateTime": "2020-03-15T20:35:00Z"}, {"modelId": + "8a3b905d-d28a-4ab1-bdc1-5919ea8b0699", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-25T19:43:43Z", "lastUpdatedDateTime": + "2021-02-25T19:43:46Z"}, {"modelId": "8aa909fc-b44c-4f00-97ce-fdb1cbcc0be4", + "status": "invalid", "createdDateTime": "2020-03-16T19:21:55Z", "lastUpdatedDateTime": + "2020-03-16T19:21:56Z"}, {"modelId": "8ac25719-613f-4e80-97ed-a3aca7cc4e68", + "modelName": "my unlabeled model", "status": "ready", "createdDateTime": "2021-01-21T18:49:12Z", + "lastUpdatedDateTime": "2021-01-21T18:49:27Z"}, {"modelId": "8b2d0d9c-cb8d-4eea-84b2-713d3fb2ad34", + "status": "ready", "createdDateTime": "2020-04-21T05:34:01Z", "lastUpdatedDateTime": + "2020-04-21T05:34:11Z"}, {"modelId": "8b56c5f8-50ea-4fdd-bfcc-c7ba69153deb", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:03Z", "lastUpdatedDateTime": + "2021-02-22T16:20:03Z"}, {"modelId": "8bcb64c2-1907-441b-9001-2c438efcf44f", + "status": "ready", "createdDateTime": "2020-04-13T17:45:55Z", "lastUpdatedDateTime": + "2020-04-13T17:46:05Z"}, {"modelId": "8df72857-f05e-4576-82cd-1513f972954f", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:11Z", "lastUpdatedDateTime": + "2021-02-19T19:01:11Z"}, {"modelId": "900b10e6-34ee-4e3b-8838-a6fcfb18859c", + "status": "invalid", "createdDateTime": "2020-04-01T02:14:08Z", "lastUpdatedDateTime": + "2020-04-01T02:14:09Z"}, {"modelId": "90333c99-9878-47e5-9b75-f886e45947cc", + "status": "invalid", "createdDateTime": "2020-04-01T01:56:53Z", "lastUpdatedDateTime": + "2020-04-01T01:56:53Z"}, {"modelId": "906ca3e2-e6c7-42a6-9ef7-f2132d3f998f", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:09Z", "lastUpdatedDateTime": + "2021-02-19T18:56:11Z"}, {"modelId": "90cf67f6-4bbe-434e-b8e1-8982f392ecd0", + "status": "ready", "createdDateTime": "2020-03-12T20:33:08Z", "lastUpdatedDateTime": + "2020-03-12T20:33:10Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwY2Y2N2Y2LTRiYmUtNDM0ZS1iOGUxLTg5ODJmMzkyZWNkMC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 119418d6-f5b9-4208-a2ad-60213fe0a3f7 + content-length: + - '5756' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:17:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '195' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwY2Y2N2Y2LTRiYmUtNDM0ZS1iOGUxLTg5ODJmMzkyZWNkMC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "90cf67f6-4bbe-434e-b8e1-8982f392ecd0", + "status": "ready", "createdDateTime": "2020-03-12T20:33:08Z", "lastUpdatedDateTime": + "2020-03-12T20:33:10Z"}, {"modelId": "91024bf0-9316-450e-90a5-9f7b7b4d7c01", + "status": "ready", "createdDateTime": "2020-04-02T02:27:30Z", "lastUpdatedDateTime": + "2020-04-02T02:29:30Z"}, {"modelId": "9228cf03-efdd-4d8e-ba47-d605addc2a17", + "status": "ready", "createdDateTime": "2020-04-02T02:02:40Z", "lastUpdatedDateTime": + "2020-04-02T02:04:34Z"}, {"modelId": "92f6eb1d-c460-426d-9ed7-62c8a8dfacec", + "status": "ready", "createdDateTime": "2020-04-02T17:09:36Z", "lastUpdatedDateTime": + "2020-04-02T17:11:32Z"}, {"modelId": "934e24cc-fe50-4f24-99d0-b0d9f024d78f", + "status": "ready", "createdDateTime": "2020-03-04T17:11:12Z", "lastUpdatedDateTime": + "2020-03-04T17:11:12Z"}, {"modelId": "9383595f-c646-4505-a7c4-d2d2174b0b91", + "status": "ready", "createdDateTime": "2020-04-01T23:18:01Z", "lastUpdatedDateTime": + "2020-04-01T23:20:01Z"}, {"modelId": "94f67d0c-fdc8-46f7-b144-7f763b6181e2", + "status": "invalid", "createdDateTime": "2021-03-03T21:17:25Z", "lastUpdatedDateTime": + "2021-03-03T21:17:26Z"}, {"modelId": "965c2ab6-82a7-4667-a9d0-a7c589c932f9", + "status": "ready", "createdDateTime": "2020-04-01T23:33:59Z", "lastUpdatedDateTime": + "2020-04-01T23:36:01Z"}, {"modelId": "97feeac7-768d-4b10-ac0d-b9a204dc4174", + "status": "ready", "createdDateTime": "2020-03-27T20:10:06Z", "lastUpdatedDateTime": + "2020-03-27T20:10:14Z"}, {"modelId": "986de900-7089-4ba0-9be6-998b9ddcd0e9", + "status": "ready", "createdDateTime": "2020-04-10T20:29:23Z", "lastUpdatedDateTime": + "2020-04-10T20:29:31Z"}, {"modelId": "9927f11e-1b45-4279-b698-f83db23a5706", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-03-03T23:17:02Z", "lastUpdatedDateTime": "2021-03-03T23:17:05Z"}, {"modelId": + "997750cb-bf7c-45ff-82cc-537060472254", "status": "ready", "createdDateTime": + "2020-11-20T17:54:39Z", "lastUpdatedDateTime": "2020-11-20T17:54:56Z"}, {"modelId": + "99cd7d37-341a-4a91-b6ac-dc70da72e192", "status": "invalid", "createdDateTime": + "2020-04-09T18:20:12Z", "lastUpdatedDateTime": "2020-04-09T18:20:12Z"}, {"modelId": + "9a42543a-2bca-457f-ad05-292488b2fb66", "status": "invalid", "createdDateTime": + "2021-02-19T19:06:52Z", "lastUpdatedDateTime": "2021-02-19T19:06:52Z"}, {"modelId": + "9a79a3af-b996-4cb1-8ea7-7e2895d5a549", "status": "ready", "createdDateTime": + "2020-03-15T19:54:05Z", "lastUpdatedDateTime": "2020-03-15T19:56:07Z"}, {"modelId": + "9ad19f07-4aa0-4a9c-a773-40909d52df0c", "status": "creating", "createdDateTime": + "2020-05-20T00:01:58Z", "lastUpdatedDateTime": "2020-05-20T00:01:58Z"}, {"modelId": + "9adcd72f-4b80-4769-a761-e2e0aa0b7890", "modelName": "secondcomposedmodel", + "attributes": {"isComposed": true}, "status": "ready", "createdDateTime": + "2020-08-11T20:40:42Z", "lastUpdatedDateTime": "2020-08-11T20:40:43Z"}, {"modelId": + "9b083f54-3cd1-4ddf-b037-53611a9e01c1", "status": "invalid", "createdDateTime": + "2021-03-03T21:54:05Z", "lastUpdatedDateTime": "2021-03-03T21:54:06Z"}, {"modelId": + "9b5132cf-02c1-4ea9-a652-999780507aac", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2020-11-20T17:56:13Z", "lastUpdatedDateTime": + "2020-11-20T17:56:15Z"}, {"modelId": "9c18b4fc-78a0-457a-b975-b18361d9f453", + "status": "ready", "createdDateTime": "2020-03-12T18:47:53Z", "lastUpdatedDateTime": + "2020-03-12T18:48:00Z"}, {"modelId": "9c267194-a0dd-4d6c-ab50-4664795b8afc", + "status": "invalid", "createdDateTime": "2020-04-01T01:41:00Z", "lastUpdatedDateTime": + "2020-04-01T01:41:00Z"}, {"modelId": "9c401b5d-1271-4082-ba51-e50e11616efa", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-02-26T21:38:20Z", "lastUpdatedDateTime": "2021-02-26T21:38:23Z"}, + {"modelId": "9cf82dde-3cad-4fcf-a9a4-0ee76337293c", "status": "invalid", "createdDateTime": + "2020-04-09T17:34:09Z", "lastUpdatedDateTime": "2020-04-09T17:34:10Z"}, {"modelId": + "9d7a4d71-0c59-40ed-be9b-d0630df63b87", "status": "ready", "createdDateTime": + "2020-04-10T20:26:54Z", "lastUpdatedDateTime": "2020-04-10T20:27:04Z"}, {"modelId": + "9eabe36b-a3f8-4bb9-bab7-099cd043caef", "status": "ready", "createdDateTime": + "2020-05-20T21:08:39Z", "lastUpdatedDateTime": "2020-05-20T21:10:22Z"}, {"modelId": + "9f5b094c-879b-49e6-8d1e-35328b916007", "status": "ready", "createdDateTime": + "2020-04-02T16:47:59Z", "lastUpdatedDateTime": "2020-04-02T16:49:59Z"}, {"modelId": + "9fc0ceab-56bb-4715-b484-b81633e7a175", "status": "ready", "createdDateTime": + "2020-04-02T16:24:21Z", "lastUpdatedDateTime": "2020-04-02T16:26:26Z"}, {"modelId": + "a12c98fe-3149-4c79-8aff-c48344d13f9f", "status": "creating", "createdDateTime": + "2020-10-14T19:15:19Z", "lastUpdatedDateTime": "2020-10-14T19:15:19Z"}, {"modelId": + "a18a94fe-436c-4abd-b072-dfacd19e1ec9", "status": "ready", "createdDateTime": + "2020-04-02T19:33:56Z", "lastUpdatedDateTime": "2020-04-02T19:35:51Z"}, {"modelId": + "a193f69c-fe8b-47ce-b04c-4ce0056dae8f", "status": "ready", "createdDateTime": + "2020-04-02T19:55:59Z", "lastUpdatedDateTime": "2020-04-02T19:56:11Z"}, {"modelId": + "a1bb1a0f-2207-4d49-b3f3-fdb1831af610", "status": "invalid", "createdDateTime": + "2020-04-02T19:57:02Z", "lastUpdatedDateTime": "2020-04-02T20:04:17Z"}, {"modelId": + "a1c879cc-5de6-421f-b31f-e43977216ebf", "status": "ready", "createdDateTime": + "2020-04-13T17:43:31Z", "lastUpdatedDateTime": "2020-04-13T17:43:40Z"}, {"modelId": + "a264fe3e-8f7c-4948-82e2-4118642999e5", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T15:57:08Z", "lastUpdatedDateTime": + "2021-02-25T15:57:59Z"}, {"modelId": "a4d48fd6-fd5d-42ff-902f-b7d8102edbd5", + "status": "ready", "createdDateTime": "2020-04-10T21:02:43Z", "lastUpdatedDateTime": + "2020-04-10T21:02:53Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh"}' + headers: + apim-request-id: + - 141775e4-ae61-43fd-8409-7e696295c04b + content-length: + - '5865' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:17:10 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '173' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 44 seconds. Please contact Azure support service if you would + like to further increase the default rate limit."}}' + headers: + apim-request-id: + - bd6b4552-fd8a-48a1-a99b-2e264e9c19e5 + content-length: + - '359' + content-type: + - application/json + date: + - Wed, 03 Mar 2021 23:17:10 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + status: + code: 429 + message: Too Many Requests +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh + response: + body: + string: '{"modelList": [{"modelId": "a5b9f0ae-ee6e-4b44-8fec-847f2c7301ad", + "status": "ready", "createdDateTime": "2020-03-13T00:25:09Z", "lastUpdatedDateTime": + "2020-03-13T00:25:16Z"}, {"modelId": "a71e2892-980d-413a-8857-91bf1e1c8a08", + "status": "ready", "createdDateTime": "2020-03-15T19:33:11Z", "lastUpdatedDateTime": + "2020-03-15T19:35:14Z"}, {"modelId": "a72386be-2f3c-4316-a11c-00851511c5fe", + "status": "ready", "createdDateTime": "2020-04-13T17:40:56Z", "lastUpdatedDateTime": + "2020-04-13T17:40:59Z"}, {"modelId": "a8572bea-756f-48dd-befb-66091c9dff2d", + "status": "ready", "createdDateTime": "2020-11-20T18:01:56Z", "lastUpdatedDateTime": + "2020-11-20T18:02:11Z"}, {"modelId": "a98ae300-93f0-4856-8344-518bdacb26dc", + "status": "ready", "createdDateTime": "2020-04-07T00:31:54Z", "lastUpdatedDateTime": + "2020-04-07T00:32:03Z"}, {"modelId": "a9c4d509-7a07-4132-b162-375ded6c7bba", + "status": "creating", "createdDateTime": "2020-06-08T21:55:31Z", "lastUpdatedDateTime": + "2020-06-08T21:55:31Z"}, {"modelId": "aae2ed54-5e8f-4591-9cb0-37468e902391", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:04Z", "lastUpdatedDateTime": "2021-02-19T18:56:08Z"}, {"modelId": + "aaf63919-78de-4a88-baea-015034f911b8", "status": "invalid", "createdDateTime": + "2020-03-16T19:20:53Z", "lastUpdatedDateTime": "2020-03-16T19:20:58Z"}, {"modelId": + "ab503fa1-c015-4d0a-bec6-ec00f72b2482", "status": "ready", "createdDateTime": + "2020-04-02T16:28:09Z", "lastUpdatedDateTime": "2020-04-02T16:30:06Z"}, {"modelId": + "aba0e1d3-13d9-4bcd-8cb5-b68ccbffa285", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T20:12:58Z", "lastUpdatedDateTime": + "2021-02-26T20:12:59Z"}, {"modelId": "ad315d9e-93f2-411c-83da-2ab5bfb3e725", + "status": "ready", "createdDateTime": "2020-03-12T18:46:22Z", "lastUpdatedDateTime": + "2020-03-12T18:46:31Z"}, {"modelId": "ad5453c7-54d6-4749-bd15-320dd95d7198", + "status": "ready", "createdDateTime": "2020-04-02T02:43:29Z", "lastUpdatedDateTime": + "2020-04-02T02:45:34Z"}, {"modelId": "ae76c104-9e8f-4a9b-8a57-cbd1ee2b6823", + "status": "creating", "createdDateTime": "2020-10-14T19:12:56Z", "lastUpdatedDateTime": + "2020-10-14T19:12:56Z"}, {"modelId": "aec57ff3-111f-449d-b1ef-f9af2d333d0a", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:05Z", "lastUpdatedDateTime": + "2021-02-19T18:56:06Z"}, {"modelId": "af5236b2-bf8b-4e65-b69f-17bf712fb6c0", + "status": "ready", "createdDateTime": "2020-03-15T19:50:02Z", "lastUpdatedDateTime": + "2020-03-15T19:52:08Z"}, {"modelId": "af9fa4cf-afb9-4530-b926-a1703addd10f", + "modelName": "secondcomposedmodelf", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-12T00:08:44Z", "lastUpdatedDateTime": + "2020-08-12T00:08:44Z"}, {"modelId": "b0b5c95b-3551-4405-bd06-b53b02784bda", + "status": "invalid", "createdDateTime": "2020-03-19T22:15:03Z", "lastUpdatedDateTime": + "2020-03-19T22:15:03Z"}, {"modelId": "b28abd58-a6d9-4210-88f3-d9f06821d5c1", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:43:42Z", "lastUpdatedDateTime": + "2020-08-11T20:43:42Z"}, {"modelId": "b2b410a6-5d9f-40eb-9f8f-e813c890c297", + "status": "ready", "createdDateTime": "2020-03-16T22:13:58Z", "lastUpdatedDateTime": + "2020-03-16T22:15:56Z"}, {"modelId": "b4489523-d1bb-4138-8cbf-c8a865eb0e95", + "status": "ready", "createdDateTime": "2020-04-02T20:04:25Z", "lastUpdatedDateTime": + "2020-04-02T20:06:23Z"}, {"modelId": "b44f86cc-bd71-43e9-80d8-e5b3733d1d63", + "status": "creating", "createdDateTime": "2020-10-14T19:15:01Z", "lastUpdatedDateTime": + "2020-10-14T19:15:01Z"}, {"modelId": "b45b98c0-bdc4-4963-bc22-383d7830d17a", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T15:58:00Z", + "lastUpdatedDateTime": "2021-02-25T15:58:58Z"}, {"modelId": "b4bef7cf-4cd4-41e3-868d-24a7d282f404", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:29Z", "lastUpdatedDateTime": + "2021-02-19T19:06:30Z"}, {"modelId": "b4f44495-ee8c-4921-ac20-da3aaf632799", + "status": "ready", "createdDateTime": "2020-04-10T21:11:10Z", "lastUpdatedDateTime": + "2020-04-10T21:11:19Z"}, {"modelId": "b58d03b4-8c7c-4fba-b2fb-0165b153f82c", + "status": "invalid", "createdDateTime": "2021-03-03T21:36:26Z", "lastUpdatedDateTime": + "2021-03-03T21:36:27Z"}, {"modelId": "b5cc2beb-8d51-4a4a-b539-66c3e8fac56b", + "status": "ready", "createdDateTime": "2020-11-20T17:59:49Z", "lastUpdatedDateTime": + "2020-11-20T18:00:11Z"}, {"modelId": "b63905cd-8304-454b-b841-4c64f224bdc6", + "status": "ready", "createdDateTime": "2020-03-24T20:31:59Z", "lastUpdatedDateTime": + "2020-03-24T20:32:11Z"}, {"modelId": "b6717d58-1f70-474a-b392-2c79a93107cc", + "status": "ready", "createdDateTime": "2020-04-02T16:43:13Z", "lastUpdatedDateTime": + "2020-04-02T16:45:16Z"}, {"modelId": "b7660db7-135c-4c95-ad8f-1aef264b5d48", + "status": "ready", "createdDateTime": "2020-03-15T20:10:10Z", "lastUpdatedDateTime": + "2020-03-15T20:12:10Z"}, {"modelId": "b7e2e66d-2f22-41ca-a6bb-57de0162a989", + "status": "ready", "createdDateTime": "2020-03-24T20:42:34Z", "lastUpdatedDateTime": + "2020-03-24T20:42:49Z"}, {"modelId": "b89d02b6-25de-45c5-b1b4-a9e0875dc74b", + "status": "ready", "createdDateTime": "2020-03-24T20:49:11Z", "lastUpdatedDateTime": + "2020-03-24T20:49:19Z"}, {"modelId": "b8ef57a5-bb47-45f9-a1b0-9c2a7f5d82b5", + "status": "ready", "createdDateTime": "2020-05-01T20:36:34Z", "lastUpdatedDateTime": + "2020-05-01T20:36:43Z"}, {"modelId": "ba866790-da14-4df5-b9c9-20bd8aa99a0a", + "status": "ready", "createdDateTime": "2020-03-19T01:46:22Z", "lastUpdatedDateTime": + "2020-03-19T01:48:21Z"}, {"modelId": "bab3feee-4a43-486d-952b-cc899f18f948", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:03Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' headers: apim-request-id: - - d9a467e2-b260-4ff5-a4d6-e14cec9df6e3 + - 09b9731a-f670-442d-a753-d2ab1b195a0e + content-length: + - '5840' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:17 GMT + - Wed, 03 Mar 2021 23:17:53 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '18' + - '205' status: code: 200 message: OK @@ -148,30 +1117,493 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 1 second. Please contact Azure support service if you would like + to further increase the default rate limit."}}' + headers: + apim-request-id: + - f8354ca8-7f15-4610-ba65-5ddd5e2e3bdb + content-length: + - '357' + content-type: + - application/json + date: + - Wed, 03 Mar 2021 23:17:54 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + status: + code: 429 + message: Too Many Requests +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=full + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- response: body: - string: '{"modelList": [{"modelId": "e59dca64-ade5-4843-95a7-5e7e3e70c15c", + string: '{"modelList": [{"modelId": "bab3feee-4a43-486d-952b-cc899f18f948", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:03Z"}, {"modelId": "bab98a94-a8cc-42f9-8bae-fc961f765dce", + "status": "ready", "createdDateTime": "2020-04-09T18:24:06Z", "lastUpdatedDateTime": + "2020-04-09T18:24:16Z"}, {"modelId": "bb94db6a-107f-4d9b-adba-d1f137008bf7", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:44:11Z", "lastUpdatedDateTime": + "2020-08-11T20:44:21Z"}, {"modelId": "bc5f61cd-dc85-402e-98fc-92ce4e5bdb30", + "status": "invalid", "createdDateTime": "2020-03-15T19:24:02Z", "lastUpdatedDateTime": + "2020-03-15T19:24:03Z"}, {"modelId": "bd0e3e04-fded-400b-997b-22fd7d344904", + "status": "ready", "createdDateTime": "2020-03-27T22:52:51Z", "lastUpdatedDateTime": + "2020-03-27T22:52:58Z"}, {"modelId": "bd8e3b06-7a61-4029-a0e3-c4f58a363acc", + "status": "invalid", "createdDateTime": "2020-04-02T19:51:28Z", "lastUpdatedDateTime": + "2020-04-02T19:59:00Z"}, {"modelId": "bddfc2d3-1859-4ac6-be96-c015836bc990", + "status": "ready", "createdDateTime": "2020-08-20T20:40:47Z", "lastUpdatedDateTime": + "2020-08-20T20:40:56Z"}, {"modelId": "be5ecf2a-b609-4dd4-9f03-a0561d483732", + "status": "invalid", "createdDateTime": "2020-04-14T01:44:03Z", "lastUpdatedDateTime": + "2020-04-14T01:44:08Z"}, {"modelId": "bf01fd51-9fdd-4289-a9ed-e077dc5e1f7e", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:33:22Z", "lastUpdatedDateTime": + "2020-08-11T20:33:22Z"}, {"modelId": "bf50a011-2c92-4c97-8b76-957ea44195e1", + "status": "ready", "createdDateTime": "2020-11-20T17:55:12Z", "lastUpdatedDateTime": + "2020-11-20T17:55:28Z"}, {"modelId": "c2a8aee6-ae32-41a1-8237-95798af855d8", + "status": "ready", "createdDateTime": "2020-03-24T20:47:04Z", "lastUpdatedDateTime": + "2020-03-24T20:47:11Z"}, {"modelId": "c2b82463-0baf-4508-bc50-e65963c43d23", + "status": "ready", "createdDateTime": "2021-01-21T22:46:50Z", "lastUpdatedDateTime": + "2021-01-21T22:47:14Z"}, {"modelId": "c2fe85bf-a2c1-4348-9b95-c689a5b273f5", + "status": "ready", "createdDateTime": "2020-04-13T16:41:11Z", "lastUpdatedDateTime": + "2020-04-13T16:41:14Z"}, {"modelId": "c38e7455-34a5-4f9b-a22f-12899ccf5d09", + "status": "ready", "createdDateTime": "2020-04-21T00:11:48Z", "lastUpdatedDateTime": + "2020-04-21T00:11:51Z"}, {"modelId": "c454bdc0-0cbe-4db0-88c3-30693e1123f5", "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": - "2020-10-30T01:19:12Z", "lastUpdatedDateTime": "2020-10-30T01:19:15Z"}], "nextLink": + "2020-08-20T20:41:01Z", "lastUpdatedDateTime": "2020-08-20T20:41:04Z"}, {"modelId": + "c473728b-c3ca-4b7e-93af-662a8e17947d", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-19T18:56:03Z", "lastUpdatedDateTime": + "2021-02-19T18:56:06Z"}, {"modelId": "c4a20ce8-6e06-4c30-b47c-33b474c373ac", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-01-25T20:20:02Z", "lastUpdatedDateTime": "2021-01-25T20:20:04Z"}, + {"modelId": "c661f6da-23ef-4f24-a5ef-e91a14ef4a41", "status": "ready", "createdDateTime": + "2020-08-11T23:19:18Z", "lastUpdatedDateTime": "2020-08-11T23:19:36Z"}, {"modelId": + "c770d56d-79c6-4ccb-b89a-4552ec24056d", "status": "ready", "createdDateTime": + "2020-08-20T21:13:16Z", "lastUpdatedDateTime": "2020-08-20T21:13:25Z"}, {"modelId": + "c8bbf64a-9423-40a1-aac7-72922a6e4801", "status": "invalid", "createdDateTime": + "2020-04-09T18:35:14Z", "lastUpdatedDateTime": "2020-04-09T18:35:15Z"}, {"modelId": + "c9d22995-6965-4b36-8844-00c61879010a", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T19:15:03Z", "lastUpdatedDateTime": + "2021-02-26T19:15:03Z"}, {"modelId": "caac4b3b-23f1-4e53-a3e8-e3c234c79710", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-02-26T21:37:34Z", "lastUpdatedDateTime": "2021-02-26T21:37:38Z"}, + {"modelId": "cb325498-7a1d-4e2b-a80c-c98478231abc", "status": "ready", "createdDateTime": + "2020-04-02T16:20:38Z", "lastUpdatedDateTime": "2020-04-02T16:22:34Z"}, {"modelId": + "cbb86966-cad1-495e-911c-263e477615d1", "status": "ready", "createdDateTime": + "2020-04-10T18:01:12Z", "lastUpdatedDateTime": "2020-04-10T18:01:28Z"}, {"modelId": + "cbc91473-3054-4637-8ca8-967e11bab29a", "status": "invalid", "createdDateTime": + "2020-03-15T19:30:13Z", "lastUpdatedDateTime": "2020-03-15T19:30:14Z"}, {"modelId": + "ccbb04ae-bd77-4e74-9c97-3c39d754dc5d", "status": "ready", "createdDateTime": + "2021-01-21T18:09:35Z", "lastUpdatedDateTime": "2021-01-21T18:10:00Z"}, {"modelId": + "cd33f3fb-88e0-4180-9ce0-7710635d0050", "status": "ready", "createdDateTime": + "2020-04-02T19:46:59Z", "lastUpdatedDateTime": "2020-04-02T19:47:14Z"}, {"modelId": + "ce4cc78e-b084-4af3-b73d-944ec6592da4", "status": "ready", "createdDateTime": + "2020-11-20T18:01:24Z", "lastUpdatedDateTime": "2020-11-20T18:01:39Z"}, {"modelId": + "ce620645-036d-4c69-9601-87d80dd2e56f", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2020-11-20T17:55:57Z", "lastUpdatedDateTime": + "2020-11-20T17:55:59Z"}, {"modelId": "ce8a802c-1e9c-431d-af78-4bb9d368636b", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-01-21T18:14:22Z", "lastUpdatedDateTime": "2021-01-21T18:14:25Z"}, {"modelId": + "ce9a0d9d-1cc2-4c8d-84a0-adfea2a4b00c", "status": "invalid", "createdDateTime": + "2021-02-19T19:05:55Z", "lastUpdatedDateTime": "2021-02-19T19:05:55Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 67461f07-63bb-4d6b-ba0c-507d718cc912 + content-length: + - '5560' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:17:55 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '143' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 6 seconds. Please contact Azure support service if you would like + to further increase the default rate limit."}}' + headers: + apim-request-id: + - d9eb3345-d5ff-490b-8f3d-879110294e62 + content-length: + - '358' + content-type: + - application/json + date: + - Wed, 03 Mar 2021 23:17:55 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + status: + code: 429 + message: Too Many Requests +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "ce9a0d9d-1cc2-4c8d-84a0-adfea2a4b00c", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:55Z", "lastUpdatedDateTime": + "2021-02-19T19:05:55Z"}, {"modelId": "cec2a4b0-2b5b-4058-bea7-7162870767fb", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T18:00:33Z", "lastUpdatedDateTime": "2020-11-20T18:00:35Z"}, {"modelId": + "cfdd8245-24b8-4b48-a1de-75731da6a869", "status": "ready", "createdDateTime": + "2020-11-20T17:57:04Z", "lastUpdatedDateTime": "2020-11-20T17:57:28Z"}, {"modelId": + "d02368e2-776b-4e8c-a252-4ffb09a3a2d6", "status": "ready", "createdDateTime": + "2020-04-05T22:13:49Z", "lastUpdatedDateTime": "2020-04-05T22:13:57Z"}, {"modelId": + "d0d94e15-dd9b-471c-8f5f-f5666728022c", "modelName": "my unlabeled model", + "status": "ready", "createdDateTime": "2021-01-22T02:10:08Z", "lastUpdatedDateTime": + "2021-01-22T02:10:23Z"}, {"modelId": "d132b434-376a-42c6-aa03-053bb112327f", + "status": "invalid", "createdDateTime": "2020-04-10T18:14:46Z", "lastUpdatedDateTime": + "2020-04-10T18:14:51Z"}, {"modelId": "d26a76b9-7ff5-4876-a421-433a5514d547", + "status": "ready", "createdDateTime": "2020-03-27T20:14:00Z", "lastUpdatedDateTime": + "2020-03-27T20:14:08Z"}, {"modelId": "d4357872-dce9-4fd3-841a-cee4b0daa3f6", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-19T18:56:00Z", + "lastUpdatedDateTime": "2021-02-19T18:56:00Z"}, {"modelId": "d5b6bb35-1af5-4a3c-9df1-afbe01325b37", + "status": "creating", "createdDateTime": "2020-05-29T16:22:52Z", "lastUpdatedDateTime": + "2020-05-29T16:22:52Z"}, {"modelId": "d719afdc-0ed9-453b-9249-9f5496c1f18b", + "status": "invalid", "createdDateTime": "2021-03-03T22:42:15Z", "lastUpdatedDateTime": + "2021-03-03T22:42:16Z"}, {"modelId": "d7baf796-3374-4102-808f-549e7b2bede3", + "status": "ready", "createdDateTime": "2020-03-16T22:36:18Z", "lastUpdatedDateTime": + "2020-03-16T22:38:16Z"}, {"modelId": "d7fa5a14-3b26-4d60-8a99-d4f2346c1fa2", + "status": "ready", "createdDateTime": "2021-02-19T19:05:57Z", "lastUpdatedDateTime": + "2021-02-19T19:06:27Z"}, {"modelId": "da242fae-bff0-4df3-a573-fb987c28680b", + "status": "ready", "createdDateTime": "2020-03-13T21:36:05Z", "lastUpdatedDateTime": + "2020-03-13T21:38:04Z"}, {"modelId": "dbed6e5d-b638-48dd-b70c-9495fa0b449f", + "status": "ready", "createdDateTime": "2020-03-16T22:51:48Z", "lastUpdatedDateTime": + "2020-03-16T22:52:06Z"}, {"modelId": "dbf56674-d90b-4a6c-8ec0-4e6fcebd282b", + "status": "ready", "createdDateTime": "2020-03-27T23:09:03Z", "lastUpdatedDateTime": + "2020-03-27T23:09:10Z"}, {"modelId": "dc8d5735-3f5a-4cdf-b02d-25af4466780f", + "status": "ready", "createdDateTime": "2020-04-02T00:23:48Z", "lastUpdatedDateTime": + "2020-04-02T00:25:50Z"}, {"modelId": "dd1e53c7-4dd3-4bc0-b17e-598b5b5bd2b5", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:09Z", "lastUpdatedDateTime": + "2021-02-19T19:01:10Z"}, {"modelId": "ddc69cde-4730-40c2-9426-51df12945713", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:07Z"}, {"modelId": "ddeddf4b-f082-44ad-8b42-b11d83e76113", + "status": "invalid", "createdDateTime": "2020-04-01T02:34:54Z", "lastUpdatedDateTime": + "2020-04-01T02:34:54Z"}, {"modelId": "ddf74a7a-9873-414c-bc88-f878022fa022", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:01Z", "lastUpdatedDateTime": + "2021-02-22T16:20:02Z"}, {"modelId": "de01a167-278d-4505-a49f-c79a8e1b3a36", + "status": "ready", "createdDateTime": "2020-03-16T22:26:23Z", "lastUpdatedDateTime": + "2020-03-16T22:28:23Z"}, {"modelId": "de49407c-685a-46aa-afad-5553f2ae05d9", + "status": "ready", "createdDateTime": "2020-04-02T00:26:05Z", "lastUpdatedDateTime": + "2020-04-02T00:28:05Z"}, {"modelId": "de58c08e-5f14-4db0-afd9-75615bbff0d2", + "status": "ready", "createdDateTime": "2020-04-02T16:51:56Z", "lastUpdatedDateTime": + "2020-04-02T16:53:52Z"}, {"modelId": "de92a78c-35bb-4aea-a9b1-62ec8f98fe03", + "status": "ready", "createdDateTime": "2020-03-27T20:17:58Z", "lastUpdatedDateTime": + "2020-03-27T20:18:05Z"}, {"modelId": "de92aa7f-7353-4e2b-a19b-bb37de3b3e8f", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-10-15T20:31:54Z", "lastUpdatedDateTime": "2020-10-15T20:31:57Z"}, {"modelId": + "dea616c5-7cce-4359-ae2a-7ef793cf77d8", "status": "ready", "createdDateTime": + "2020-04-13T16:40:33Z", "lastUpdatedDateTime": "2020-04-13T16:40:42Z"}, {"modelId": + "df5e4ab4-08cd-4e21-8a4f-ba0962023327", "status": "ready", "createdDateTime": + "2020-11-20T17:02:50Z", "lastUpdatedDateTime": "2020-11-20T17:03:05Z"}, {"modelId": + "dfd1e091-2bf5-48ba-9f57-a5b22786b622", "status": "ready", "createdDateTime": + "2020-04-01T23:22:11Z", "lastUpdatedDateTime": "2020-04-01T23:24:06Z"}, {"modelId": + "e072e2d3-04ce-44ce-9fbb-4d5ed06ca85f", "status": "invalid", "createdDateTime": + "2021-02-19T18:56:10Z", "lastUpdatedDateTime": "2021-02-19T18:56:11Z"}, {"modelId": + "e09252cb-4a52-4e90-b448-3f50077b8e38", "status": "creating", "createdDateTime": + "2021-02-19T19:06:23Z", "lastUpdatedDateTime": "2021-02-19T19:06:23Z"}, {"modelId": + "e167387b-a667-4784-9f41-b3f63dc378ed", "status": "ready", "createdDateTime": + "2020-03-20T00:22:58Z", "lastUpdatedDateTime": "2020-03-20T00:23:05Z"}, {"modelId": + "e2a0113e-0f8e-48d0-b67a-dcde86a914cd", "status": "ready", "createdDateTime": + "2020-11-20T17:57:47Z", "lastUpdatedDateTime": "2020-11-20T17:58:09Z"}, {"modelId": + "e2c172e6-2850-4df2-b2a6-07aba8a5ea91", "status": "ready", "createdDateTime": + "2020-04-13T16:49:51Z", "lastUpdatedDateTime": "2020-04-13T16:49:59Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 2721db98-4088-40b5-a684-f9d1abfef150 + content-length: + - '5595' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:18:01 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '158' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 6 seconds. Please contact Azure support service if you would like + to further increase the default rate limit."}}' + headers: + apim-request-id: + - 077eec0e-9533-4c6f-87da-4bc255efce05 + content-length: + - '358' + content-type: + - application/json + date: + - Wed, 03 Mar 2021 23:18:01 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + status: + code: 429 + message: Too Many Requests +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "e2c172e6-2850-4df2-b2a6-07aba8a5ea91", + "status": "ready", "createdDateTime": "2020-04-13T16:49:51Z", "lastUpdatedDateTime": + "2020-04-13T16:49:59Z"}, {"modelId": "e388d036-13f7-4374-af72-7aa7380108e7", + "status": "invalid", "createdDateTime": "2020-04-13T19:46:38Z", "lastUpdatedDateTime": + "2020-04-13T19:48:38Z"}, {"modelId": "e3eb7756-2c2b-4296-a9a0-a563b35d7ccb", + "status": "invalid", "createdDateTime": "2020-04-10T18:08:31Z", "lastUpdatedDateTime": + "2020-04-10T18:08:32Z"}, {"modelId": "e422873e-43c2-4f14-b557-0d775a5b037b", + "status": "invalid", "createdDateTime": "2021-02-19T18:55:57Z", "lastUpdatedDateTime": + "2021-02-19T18:55:58Z"}, {"modelId": "e461875d-77ca-421e-aa2b-8a787f5735ff", + "status": "ready", "createdDateTime": "2020-04-05T21:53:21Z", "lastUpdatedDateTime": + "2020-04-05T21:53:28Z"}, {"modelId": "e519f7e6-96e8-476b-b7a6-557f6f48bfaa", + "status": "invalid", "createdDateTime": "2020-04-09T18:17:31Z", "lastUpdatedDateTime": + "2020-04-09T18:17:31Z"}, {"modelId": "e5a2a123-af7a-4234-936a-d2ca9cd641c1", + "status": "ready", "createdDateTime": "2020-04-13T16:51:05Z", "lastUpdatedDateTime": + "2020-04-13T16:51:13Z"}, {"modelId": "e6417003-61c9-4de0-a889-3e0483a012fb", + "status": "invalid", "createdDateTime": "2021-03-03T21:17:31Z", "lastUpdatedDateTime": + "2021-03-03T21:17:32Z"}, {"modelId": "e6518ac6-6645-4cfd-9dd4-12df31de1eb4", + "status": "ready", "createdDateTime": "2020-03-19T22:16:55Z", "lastUpdatedDateTime": + "2020-03-19T22:18:55Z"}, {"modelId": "e6e06c93-42d4-49df-a506-d32ea982cd53", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:46Z", "lastUpdatedDateTime": + "2021-02-19T19:06:46Z"}, {"modelId": "e8c09d1b-d5b6-4a7e-a28e-9466f5679160", + "status": "ready", "createdDateTime": "2020-03-05T18:08:04Z", "lastUpdatedDateTime": + "2020-03-05T18:08:12Z"}, {"modelId": "e90ecd74-081f-4887-95c0-7002cefd4bdf", + "status": "invalid", "createdDateTime": "2020-03-19T22:08:57Z", "lastUpdatedDateTime": + "2020-03-19T22:08:58Z"}, {"modelId": "e95cef9a-c99b-411c-b39a-8af574dc5111", + "status": "ready", "createdDateTime": "2020-04-13T16:33:31Z", "lastUpdatedDateTime": + "2020-04-13T16:33:40Z"}, {"modelId": "e9d7df21-3ea9-4028-b13f-373c6a248aee", + "modelName": "firstcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T17:51:58Z", "lastUpdatedDateTime": + "2020-08-11T17:51:59Z"}, {"modelId": "ea24ba4a-8565-47cf-a5b6-752d717230bb", + "modelName": "my unlabeled model", "status": "ready", "createdDateTime": "2020-11-19T17:33:51Z", + "lastUpdatedDateTime": "2020-11-19T17:34:08Z"}, {"modelId": "eaaab65d-21f2-46c1-83b7-19b90415ecee", + "status": "ready", "createdDateTime": "2020-04-02T19:31:36Z", "lastUpdatedDateTime": + "2020-04-02T19:33:33Z"}, {"modelId": "eb5ff00f-b1d8-49c2-9958-fa1f4da9b629", + "status": "invalid", "createdDateTime": "2020-04-13T19:41:32Z", "lastUpdatedDateTime": + "2020-04-13T19:44:32Z"}, {"modelId": "ebc527e6-3243-4467-a72e-fe6892eb5216", + "status": "ready", "createdDateTime": "2020-03-15T19:31:47Z", "lastUpdatedDateTime": + "2020-03-15T19:33:47Z"}, {"modelId": "ebfde9f8-1278-4b81-ae76-14b96100d08d", + "status": "ready", "createdDateTime": "2020-04-13T16:41:08Z", "lastUpdatedDateTime": + "2020-04-13T16:41:22Z"}, {"modelId": "ec7345b4-6545-4b37-898a-56564505f6aa", + "status": "ready", "createdDateTime": "2020-03-16T22:25:28Z", "lastUpdatedDateTime": + "2020-03-16T22:27:25Z"}, {"modelId": "ed06d91f-96f8-4229-8896-644aa2ec76d9", + "status": "ready", "createdDateTime": "2020-03-19T22:21:33Z", "lastUpdatedDateTime": + "2020-03-19T22:21:40Z"}, {"modelId": "eed4b417-f6a5-4327-8707-20bdc4d82ffe", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2020-11-20T17:55:39Z", "lastUpdatedDateTime": "2020-11-20T17:55:42Z"}, + {"modelId": "eef0cf2f-0b15-46c1-8149-256cc57bdf71", "status": "ready", "createdDateTime": + "2020-03-20T00:22:11Z", "lastUpdatedDateTime": "2020-03-20T00:22:18Z"}, {"modelId": + "efd796a2-3362-41a2-849e-31609f91efcc", "status": "ready", "createdDateTime": + "2020-04-02T00:23:22Z", "lastUpdatedDateTime": "2020-04-02T00:25:24Z"}, {"modelId": + "f0f1400c-7fe3-42bb-8494-7a2c46716af5", "status": "invalid", "createdDateTime": + "2021-02-19T19:06:40Z", "lastUpdatedDateTime": "2021-02-19T19:06:41Z"}, {"modelId": + "f20de4fc-5ee9-4512-b124-d4d7556329c7", "status": "invalid", "createdDateTime": + "2021-02-19T19:06:35Z", "lastUpdatedDateTime": "2021-02-19T19:06:35Z"}, {"modelId": + "f296a007-a7bd-4206-bbbb-c5b88dd59c7d", "status": "invalid", "createdDateTime": + "2021-02-19T18:56:07Z", "lastUpdatedDateTime": "2021-02-19T18:56:07Z"}, {"modelId": + "f2e4f2ec-3571-4aef-836b-89ba255f50eb", "status": "invalid", "createdDateTime": + "2020-04-09T18:23:11Z", "lastUpdatedDateTime": "2020-04-09T18:23:11Z"}, {"modelId": + "f3023093-98d2-4e32-b496-b1470249649d", "status": "ready", "createdDateTime": + "2020-11-20T18:00:50Z", "lastUpdatedDateTime": "2020-11-20T18:01:08Z"}, {"modelId": + "f3691c75-c53b-4d1c-8618-1223d071ee9a", "status": "invalid", "createdDateTime": + "2021-02-25T19:41:51Z", "lastUpdatedDateTime": "2021-02-25T19:41:51Z"}, {"modelId": + "f3890bc0-50b9-4344-857a-f3defa8dafc1", "status": "ready", "createdDateTime": + "2020-04-01T23:29:45Z", "lastUpdatedDateTime": "2020-04-01T23:31:48Z"}, {"modelId": + "f39f66b2-69d9-4e38-bf5f-ba08450bbc01", "status": "ready", "createdDateTime": + "2020-04-13T16:42:32Z", "lastUpdatedDateTime": "2020-04-13T16:42:40Z"}, {"modelId": + "f3db1202-a69b-4ddb-84e5-80c9b5077197", "status": "invalid", "createdDateTime": + "2020-04-09T18:22:00Z", "lastUpdatedDateTime": "2020-04-09T18:22:01Z"}, {"modelId": + "f3dbfe5d-94e4-4953-b7fc-f185b606aee2", "status": "ready", "createdDateTime": + "2020-03-13T16:40:28Z", "lastUpdatedDateTime": "2020-03-13T16:40:45Z"}, {"modelId": + "f40282a5-c2b8-4383-86c1-7d64d498cc60", "status": "ready", "createdDateTime": + "2020-04-02T19:28:59Z", "lastUpdatedDateTime": "2020-04-02T19:30:59Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - b872584a-0a63-45e5-bc17-97d34cf62ed9 + content-length: + - '5971' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:18:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '192' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "f409d651-6fe4-4fb9-a999-c35cd29eeac2", + "status": "invalid", "createdDateTime": "2021-03-03T22:30:05Z", "lastUpdatedDateTime": + "2021-03-03T22:30:06Z"}, {"modelId": "f47bb380-72a1-46ea-9a18-ab2449b18764", + "status": "invalid", "createdDateTime": "2021-02-19T18:55:59Z", "lastUpdatedDateTime": + "2021-02-19T18:55:59Z"}, {"modelId": "f5900931-ba09-4f92-904a-57666b5ca8cd", + "status": "invalid", "createdDateTime": "2020-04-01T02:30:51Z", "lastUpdatedDateTime": + "2020-04-01T02:30:53Z"}, {"modelId": "f5a2180b-341b-4410-889c-ae96b8a0d262", + "status": "ready", "createdDateTime": "2020-04-13T16:50:37Z", "lastUpdatedDateTime": + "2020-04-13T16:50:44Z"}, {"modelId": "f5d30229-3961-4553-a085-dab82f5c30c8", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:41:07Z", "lastUpdatedDateTime": + "2020-08-11T19:41:07Z"}, {"modelId": "f6124582-9fe1-46ab-a0b3-a9c84ebf5ec1", + "status": "ready", "createdDateTime": "2020-04-10T20:36:10Z", "lastUpdatedDateTime": + "2020-04-10T20:36:25Z"}, {"modelId": "f69db1c5-0480-4689-b393-f100f30efaac", + "status": "ready", "createdDateTime": "2020-04-02T20:47:54Z", "lastUpdatedDateTime": + "2020-04-02T20:49:48Z"}, {"modelId": "f6b91b15-e67b-4624-b585-c31c4671c33d", + "status": "ready", "createdDateTime": "2020-04-10T21:06:19Z", "lastUpdatedDateTime": + "2020-04-10T21:06:28Z"}, {"modelId": "f75b67df-e8ca-4406-815d-097046f8a4b7", + "status": "invalid", "createdDateTime": "2020-03-16T19:18:06Z", "lastUpdatedDateTime": + "2020-03-16T19:18:07Z"}, {"modelId": "f797ccfe-cbdd-4528-ab8c-b37924f72967", + "status": "invalid", "createdDateTime": "2020-03-05T18:22:08Z", "lastUpdatedDateTime": + "2020-03-05T18:22:08Z"}, {"modelId": "f83a8716-dfc4-4df5-be8b-2e7df43b7272", + "status": "invalid", "createdDateTime": "2020-04-09T18:28:33Z", "lastUpdatedDateTime": + "2020-04-09T18:28:35Z"}, {"modelId": "f8c3a2da-7d51-47f6-a6e0-3d8bbd823cc2", + "status": "ready", "createdDateTime": "2020-03-24T20:38:07Z", "lastUpdatedDateTime": + "2020-03-24T20:38:18Z"}, {"modelId": "f9afe989-cc62-4f3c-b9e0-b6a2923d4578", + "status": "ready", "createdDateTime": "2020-03-15T20:26:57Z", "lastUpdatedDateTime": + "2020-03-15T20:29:00Z"}, {"modelId": "fb3eeb7f-adef-4622-a137-dd17599f0f6b", + "status": "ready", "createdDateTime": "2020-04-02T17:27:49Z", "lastUpdatedDateTime": + "2020-04-02T17:29:45Z"}, {"modelId": "fbcdd5e6-475c-4361-a3fc-d3b43bb75de1", + "status": "invalid", "createdDateTime": "2021-03-03T22:24:53Z", "lastUpdatedDateTime": + "2021-03-03T22:24:54Z"}, {"modelId": "fc4fdcb2-0f84-49cb-b860-5e22cd17c44f", + "status": "ready", "createdDateTime": "2020-04-02T17:52:07Z", "lastUpdatedDateTime": + "2020-04-02T17:54:10Z"}, {"modelId": "fd3ba569-e24a-4342-a508-d9d58054a0e7", + "status": "invalid", "createdDateTime": "2021-03-01T21:11:26Z", "lastUpdatedDateTime": + "2021-03-01T21:11:26Z"}, {"modelId": "fd662a46-ee95-42b9-8fa2-bed6d1b29592", + "status": "ready", "createdDateTime": "2020-04-21T05:35:20Z", "lastUpdatedDateTime": + "2020-04-21T05:35:23Z"}, {"modelId": "fd744fab-3f7b-4ba5-a108-9a9b59ecc73b", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:01Z", "lastUpdatedDateTime": "2021-02-19T18:56:04Z"}, {"modelId": + "fddc5f4d-06da-4bac-b368-15522b733c73", "status": "ready", "createdDateTime": + "2020-03-05T18:10:41Z", "lastUpdatedDateTime": "2020-03-05T18:10:49Z"}, {"modelId": + "fe3b2759-5703-4bef-8300-e0cdd3fe45a2", "status": "ready", "createdDateTime": + "2020-04-10T20:39:48Z", "lastUpdatedDateTime": "2020-04-10T20:39:56Z"}, {"modelId": + "fe4858ef-b3f1-4ba0-ad54-8aa644564b75", "status": "ready", "createdDateTime": + "2020-11-19T18:02:49Z", "lastUpdatedDateTime": "2020-11-19T18:03:05Z"}, {"modelId": + "fe811743-1b2d-468e-898b-09234da8b3bc", "status": "ready", "createdDateTime": + "2020-03-16T16:00:29Z", "lastUpdatedDateTime": "2020-03-16T16:02:34Z"}], "nextLink": ""}' headers: apim-request-id: - - 64924cba-b351-4df2-987e-238bac6663aa + - 9f4e733a-390d-47ec-b967-c30aed3ded3d + content-length: + - '3688' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:17 GMT + - Wed, 03 Mar 2021 23:18:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '14' + - '127' status: code: 200 message: OK @@ -187,25 +1619,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/e59dca64-ade5-4843-95a7-5e7e3e70c15c + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/9927f11e-1b45-4279-b698-f83db23a5706 response: body: string: '' headers: apim-request-id: - - 98c720f7-8c50-47f4-94d7-9a36b9252569 + - c1c05de8-04ec-47bd-bf11-b2aa143c8af6 content-length: - '0' date: - - Fri, 30 Oct 2020 01:19:17 GMT + - Wed, 03 Mar 2021 23:18:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '24' + - '23' status: code: 204 message: No Content @@ -219,28 +1651,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/e59dca64-ade5-4843-95a7-5e7e3e70c15c?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/9927f11e-1b45-4279-b698-f83db23a5706?includeKeys=true response: body: - string: '{"error": {"code": "1022", "message": "Model with ''id=e59dca64-ade5-4843-95a7-5e7e3e70c15c'' + string: '{"error": {"code": "1022", "message": "Model with ''id=9927f11e-1b45-4279-b698-f83db23a5706'' not found."}}' headers: apim-request-id: - - 47401cd1-709c-485a-a033-8f1c53e52f6f + - d6d5cb5d-2722-4caa-ba58-6f883515504e + content-length: + - '101' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:17 GMT + - Wed, 03 Mar 2021 23:18:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '42' + - '12' status: code: 404 message: Not Found diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_mgmt_model_unlabeled.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_mgmt_model_unlabeled.yaml index 1bcce56255ba..81347621f6e7 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_mgmt_model_unlabeled.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt.test_mgmt_model_unlabeled.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"source": "containersasurl", "sourceFilter": {"prefix": "", "includeSubFolders": + body: 'b''{"source": "container_sas_url", "sourceFilter": {"prefix": "", "includeSubFolders": false}, "useLabelFile": false}''' headers: Accept: @@ -10,31 +10,31 @@ interactions: Connection: - keep-alive Content-Length: - - '288' + - '284' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models response: body: string: '' headers: apim-request-id: - - 60935252-9772-4772-b189-7fb243121da3 + - 867abad9-4086-43f0-922e-57e208bcfaaa content-length: - '0' date: - - Fri, 30 Oct 2020 01:19:18 GMT + - Wed, 03 Mar 2021 23:18:09 GMT location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/04735689-16fa-4515-a2fa-5b1fd3ff244c + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/8fe0ebae-2829-407c-8361-bfdb264ec42d strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '38' + - '214' status: code: 201 message: Created @@ -48,25 +48,61 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/04735689-16fa-4515-a2fa-5b1fd3ff244c?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/8fe0ebae-2829-407c-8361-bfdb264ec42d?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "04735689-16fa-4515-a2fa-5b1fd3ff244c", "status": - "creating", "createdDateTime": "2020-10-30T01:19:19Z", "lastUpdatedDateTime": - "2020-10-30T01:19:19Z"}}' + string: '{"modelInfo": {"modelId": "8fe0ebae-2829-407c-8361-bfdb264ec42d", "status": + "creating", "createdDateTime": "2021-03-03T23:18:09Z", "lastUpdatedDateTime": + "2021-03-03T23:18:09Z"}}' headers: apim-request-id: - - eef0c4ee-300c-4e10-a775-df394c68e09d + - 402368a5-b5ad-4be0-a484-d945c4bd91d8 + content-length: + - '170' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:18:14 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '28' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/8fe0ebae-2829-407c-8361-bfdb264ec42d?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "8fe0ebae-2829-407c-8361-bfdb264ec42d", "status": + "creating", "createdDateTime": "2021-03-03T23:18:09Z", "lastUpdatedDateTime": + "2021-03-03T23:18:09Z"}}' + headers: + apim-request-id: + - e25a1a2d-61f1-4feb-81fd-d6015a480322 + content-length: + - '170' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:23 GMT + - Wed, 03 Mar 2021 23:18:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: @@ -84,29 +120,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/04735689-16fa-4515-a2fa-5b1fd3ff244c?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/8fe0ebae-2829-407c-8361-bfdb264ec42d?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "04735689-16fa-4515-a2fa-5b1fd3ff244c", "status": - "creating", "createdDateTime": "2020-10-30T01:19:19Z", "lastUpdatedDateTime": - "2020-10-30T01:19:19Z"}}' + string: '{"modelInfo": {"modelId": "8fe0ebae-2829-407c-8361-bfdb264ec42d", "status": + "creating", "createdDateTime": "2021-03-03T23:18:09Z", "lastUpdatedDateTime": + "2021-03-03T23:18:09Z"}}' headers: apim-request-id: - - a3d1a1fe-5867-4913-80dc-388adc0c27fb + - db39bd10-7c3c-425a-a5de-b995e8b9f369 + content-length: + - '170' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:28 GMT + - Wed, 03 Mar 2021 23:18:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '18' + - '34' status: code: 200 message: OK @@ -120,39 +156,39 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/04735689-16fa-4515-a2fa-5b1fd3ff244c?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/8fe0ebae-2829-407c-8361-bfdb264ec42d?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "04735689-16fa-4515-a2fa-5b1fd3ff244c", "status": - "ready", "createdDateTime": "2020-10-30T01:19:19Z", "lastUpdatedDateTime": - "2020-10-30T01:19:33Z"}, "keys": {"clusters": {"0": ["Additional Notes:", + string: '{"modelInfo": {"modelId": "8fe0ebae-2829-407c-8361-bfdb264ec42d", "status": + "ready", "createdDateTime": "2021-03-03T23:18:09Z", "lastUpdatedDateTime": + "2021-03-03T23:18:25Z"}, "keys": {"clusters": {"0": ["Additional Notes:", "Address:", "Company Name:", "Company Phone:", "Dated As:", "Details", "Email:", - "Ft Lauderdale, FL Phone:", "Hero Limited", "Name:", "Phone:", "Purchase Order", - "Purchase Order #:", "Quantity", "SUBTOTAL", "Seattle, WA 93849 Phone:", "Shipped - From", "Shipped To", "TAX", "TOTAL", "Total", "Unit Price", "Vendor Name:", - "Website:"]}}, "trainResult": {"trainingDocuments": [{"documentName": "Form_1.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_2.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_3.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_4.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_5.jpg", - "pages": 1, "errors": [], "status": "succeeded"}], "errors": []}}' + "Hero Limited", "Name:", "Phone:", "Purchase Order", "Purchase Order #:", + "Quantity", "SUBTOTAL", "Seattle, WA 93849 Phone:", "Shipped From", "Shipped + To", "TAX", "TOTAL", "Total", "Unit Price", "Vendor Name:", "Website:"]}}, + "trainResult": {"trainingDocuments": [{"documentName": "Form_1.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_2.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_3.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_4.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_5.jpg", "pages": + 1, "errors": [], "status": "succeeded"}], "errors": []}}' headers: apim-request-id: - - 39dc86b3-2011-4454-86ff-792f4ec66558 + - 66b79f13-1838-4f50-8173-7624d017e4b4 + content-length: + - '912' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:34 GMT + - Wed, 03 Mar 2021 23:18:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '14' status: code: 200 message: OK @@ -166,39 +202,348 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/04735689-16fa-4515-a2fa-5b1fd3ff244c?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/8fe0ebae-2829-407c-8361-bfdb264ec42d?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "04735689-16fa-4515-a2fa-5b1fd3ff244c", "status": - "ready", "createdDateTime": "2020-10-30T01:19:19Z", "lastUpdatedDateTime": - "2020-10-30T01:19:33Z"}, "keys": {"clusters": {"0": ["Additional Notes:", + string: '{"modelInfo": {"modelId": "8fe0ebae-2829-407c-8361-bfdb264ec42d", "status": + "ready", "createdDateTime": "2021-03-03T23:18:09Z", "lastUpdatedDateTime": + "2021-03-03T23:18:25Z"}, "keys": {"clusters": {"0": ["Additional Notes:", "Address:", "Company Name:", "Company Phone:", "Dated As:", "Details", "Email:", - "Ft Lauderdale, FL Phone:", "Hero Limited", "Name:", "Phone:", "Purchase Order", - "Purchase Order #:", "Quantity", "SUBTOTAL", "Seattle, WA 93849 Phone:", "Shipped - From", "Shipped To", "TAX", "TOTAL", "Total", "Unit Price", "Vendor Name:", - "Website:"]}}, "trainResult": {"trainingDocuments": [{"documentName": "Form_1.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_2.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_3.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_4.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_5.jpg", - "pages": 1, "errors": [], "status": "succeeded"}], "errors": []}}' + "Hero Limited", "Name:", "Phone:", "Purchase Order", "Purchase Order #:", + "Quantity", "SUBTOTAL", "Seattle, WA 93849 Phone:", "Shipped From", "Shipped + To", "TAX", "TOTAL", "Total", "Unit Price", "Vendor Name:", "Website:"]}}, + "trainResult": {"trainingDocuments": [{"documentName": "Form_1.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_2.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_3.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_4.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_5.jpg", "pages": + 1, "errors": [], "status": "succeeded"}], "errors": []}}' + headers: + apim-request-id: + - 23ad5802-8471-48da-9faf-e0e77d181856 + content-length: + - '912' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:18:30 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '34' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=full + response: + body: + string: '{"modelList": [{"modelId": "027cae79-768f-4ecd-8376-cfdcfe86b6dc", + "status": "invalid", "createdDateTime": "2021-03-03T22:17:25Z", "lastUpdatedDateTime": + "2021-03-03T22:17:25Z"}, {"modelId": "0349ec84-1570-43cf-be3c-ce753fdfb98f", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:47Z", "lastUpdatedDateTime": "2020-11-20T17:56:50Z"}, {"modelId": + "03608263-829e-41b3-a080-f471c165809b", "status": "ready", "createdDateTime": + "2020-04-02T01:35:33Z", "lastUpdatedDateTime": "2020-04-02T01:37:36Z"}, {"modelId": + "046720f8-2956-4b31-9153-915048e815e5", "modelName": "model1", "status": "invalid", + "createdDateTime": "2021-02-19T19:06:57Z", "lastUpdatedDateTime": "2021-02-19T19:06:58Z"}, + {"modelId": "05cfe98b-5315-4de8-bbf0-cbc97aa05857", "attributes": {"isComposed": + false}, "status": "ready", "createdDateTime": "2021-02-19T19:05:57Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "05d8dd77-177c-4f27-ab8e-53d5f6856d4c", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-25T15:54:54Z", + "lastUpdatedDateTime": "2021-02-25T15:54:57Z"}, {"modelId": "06250af1-6a8f-4f6d-8432-4964338e0033", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-19T18:08:35Z", + "lastUpdatedDateTime": "2020-11-19T18:08:51Z"}, {"modelId": "06829eaa-56f7-42c2-8c48-0060e58a7c47", + "status": "ready", "createdDateTime": "2020-04-02T17:48:45Z", "lastUpdatedDateTime": + "2020-04-02T17:50:46Z"}, {"modelId": "07a9d365-0629-4b5c-b913-6dd3e1f2e617", + "status": "invalid", "createdDateTime": "2020-04-09T18:19:12Z", "lastUpdatedDateTime": + "2020-04-09T18:19:12Z"}, {"modelId": "08d21ef4-e9c4-425b-a22e-e5070ecd04b8", + "status": "ready", "createdDateTime": "2020-04-20T19:50:17Z", "lastUpdatedDateTime": + "2020-04-20T19:50:24Z"}, {"modelId": "09a6923d-425d-49f6-a967-6cb78a718b10", + "status": "ready", "createdDateTime": "2020-04-02T19:06:24Z", "lastUpdatedDateTime": + "2020-04-02T19:08:26Z"}, {"modelId": "0a0a321b-5a0a-40c7-8178-88d478aa8bc8", + "status": "ready", "createdDateTime": "2020-03-12T22:35:52Z", "lastUpdatedDateTime": + "2020-03-12T22:36:04Z"}, {"modelId": "0a9f53c0-6a42-43a9-aec1-8f897d23a2e0", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:36:47Z", "lastUpdatedDateTime": + "2020-08-11T19:36:47Z"}, {"modelId": "0af45f1a-2639-4cce-aaa8-d522088af823", + "status": "invalid", "createdDateTime": "2021-03-03T22:51:37Z", "lastUpdatedDateTime": + "2021-03-03T22:51:37Z"}, {"modelId": "0b4e3b6f-e257-4bea-8fbe-f1a36cbb9c34", + "status": "ready", "createdDateTime": "2020-11-19T17:16:30Z", "lastUpdatedDateTime": + "2020-11-19T17:16:46Z"}, {"modelId": "0bbb06e5-027d-4852-ba03-34c210a8b37d", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:23Z", "lastUpdatedDateTime": + "2021-02-19T19:06:24Z"}, {"modelId": "0c23fe9c-8c37-496d-a730-b4345d98efa1", + "status": "invalid", "createdDateTime": "2020-04-01T01:39:24Z", "lastUpdatedDateTime": + "2020-04-01T01:39:25Z"}, {"modelId": "0c253e30-4d5d-4eb3-a511-9954117b2ad6", + "status": "ready", "createdDateTime": "2020-04-06T21:51:35Z", "lastUpdatedDateTime": + "2020-04-06T21:51:37Z"}, {"modelId": "0c262f88-6b96-463a-b117-c8c05b1f283a", + "status": "ready", "createdDateTime": "2020-04-13T16:51:25Z", "lastUpdatedDateTime": + "2020-04-13T16:51:28Z"}, {"modelId": "0c751614-bf54-485d-a7e3-bdeae944cacf", + "modelName": "mymodel", "status": "invalid", "createdDateTime": "2021-02-19T19:07:03Z", + "lastUpdatedDateTime": "2021-02-19T19:07:03Z"}, {"modelId": "0cd58150-a8ab-4dc6-b6c4-c38fb3cb4a72", + "status": "creating", "createdDateTime": "2020-05-29T16:04:30Z", "lastUpdatedDateTime": + "2020-05-29T16:04:30Z"}, {"modelId": "0d90db32-948c-48b6-a0b6-d55aceea3f1b", + "status": "invalid", "createdDateTime": "2020-04-02T22:12:27Z", "lastUpdatedDateTime": + "2020-04-02T22:12:28Z"}, {"modelId": "0d983956-58a2-4eb9-88cd-b21babb53b81", + "status": "ready", "createdDateTime": "2020-04-02T01:43:12Z", "lastUpdatedDateTime": + "2020-04-02T01:45:12Z"}, {"modelId": "0fa1a763-9fca-4b2c-a836-2c735bfc04e1", + "status": "ready", "createdDateTime": "2020-11-19T21:19:07Z", "lastUpdatedDateTime": + "2020-11-19T21:19:23Z"}, {"modelId": "1032c1fb-d21e-4a62-b243-81b566d14cd4", + "status": "ready", "createdDateTime": "2021-02-19T19:05:58Z", "lastUpdatedDateTime": + "2021-02-19T19:06:27Z"}, {"modelId": "103f3d33-52a4-44f9-ace9-f02af6d9ba05", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:15:44Z", "lastUpdatedDateTime": + "2020-08-11T19:15:49Z"}, {"modelId": "11035dc7-1d65-4854-8448-6b398400ad76", + "modelName": "unlabeled", "status": "invalid", "createdDateTime": "2021-02-26T20:14:56Z", + "lastUpdatedDateTime": "2021-02-26T20:14:56Z"}, {"modelId": "11e430a0-6d91-415d-9d55-0a5e85caeb03", + "status": "ready", "createdDateTime": "2020-04-21T05:31:24Z", "lastUpdatedDateTime": + "2020-04-21T05:31:32Z"}, {"modelId": "11fbb12b-08ba-4366-81a6-201e2ad5e7b2", + "status": "ready", "createdDateTime": "2021-02-19T18:56:02Z", "lastUpdatedDateTime": + "2021-02-19T18:56:29Z"}, {"modelId": "121189b0-b26b-4993-8043-1c5edb12bea9", + "status": "invalid", "createdDateTime": "2021-03-03T20:09:55Z", "lastUpdatedDateTime": + "2021-03-03T20:09:55Z"}, {"modelId": "128f86f1-8257-42c2-acf0-151eca2f42ec", + "status": "ready", "createdDateTime": "2020-04-13T17:42:23Z", "lastUpdatedDateTime": + "2020-04-13T17:42:31Z"}, {"modelId": "13bac5a8-dc61-4ab2-b523-14afcdaff04b", + "status": "invalid", "createdDateTime": "2021-03-03T22:26:07Z", "lastUpdatedDateTime": + "2021-03-03T22:26:07Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!212!MDAwMTEzIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzEzYmFjNWE4LWRjNjEtNGFiMi1iNTIzLTE0YWZjZGFmZjA0Yi92ZXJzaW9uLXYyLjEtcHJldmlldy4zITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ--"}' + headers: + apim-request-id: + - 3c175c75-ad04-41eb-b863-41d7f697330f + content-length: + - '5642' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:18:30 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '224' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!212!MDAwMTEzIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzEzYmFjNWE4LWRjNjEtNGFiMi1iNTIzLTE0YWZjZGFmZjA0Yi92ZXJzaW9uLXYyLjEtcHJldmlldy4zITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ-- + response: + body: + string: '{"modelList": [{"modelId": "13bac5a8-dc61-4ab2-b523-14afcdaff04b", + "status": "invalid", "createdDateTime": "2021-03-03T22:26:07Z", "lastUpdatedDateTime": + "2021-03-03T22:26:07Z"}, {"modelId": "1407631e-cce1-49fc-8868-2bc95932c157", + "status": "ready", "createdDateTime": "2020-03-27T20:11:07Z", "lastUpdatedDateTime": + "2020-03-27T20:11:15Z"}, {"modelId": "15f25afa-b250-4d26-b375-f05aa70e3278", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T21:55:29Z", "lastUpdatedDateTime": + "2020-08-11T21:55:29Z"}, {"modelId": "16e581dd-4947-439c-9b19-411ef7734700", + "status": "ready", "createdDateTime": "2020-04-10T20:45:47Z", "lastUpdatedDateTime": + "2020-04-10T20:45:56Z"}, {"modelId": "178c93a0-c522-4862-a8c8-57ef873c6168", + "status": "ready", "createdDateTime": "2020-03-05T18:25:03Z", "lastUpdatedDateTime": + "2020-03-05T18:25:05Z"}, {"modelId": "18066853-86a6-410a-991d-4ce0312df101", + "status": "invalid", "createdDateTime": "2020-04-10T18:09:23Z", "lastUpdatedDateTime": + "2020-04-10T18:09:24Z"}, {"modelId": "180a64b8-d1da-4b03-8822-6f1bbf10682c", + "status": "ready", "createdDateTime": "2020-03-30T21:16:27Z", "lastUpdatedDateTime": + "2020-03-30T21:18:28Z"}, {"modelId": "1925120a-534b-4978-9fa7-79e9d0968200", + "status": "invalid", "createdDateTime": "2020-04-02T19:59:19Z", "lastUpdatedDateTime": + "2020-04-02T19:59:19Z"}, {"modelId": "1b18185c-90f8-4416-b9a4-de734b8a3cbd", + "status": "creating", "createdDateTime": "2020-07-02T19:29:54Z", "lastUpdatedDateTime": + "2020-07-02T19:29:54Z"}, {"modelId": "1b9f130b-e3c1-4b11-8c38-e6b42f0cceaf", + "status": "invalid", "createdDateTime": "2021-03-03T20:09:49Z", "lastUpdatedDateTime": + "2021-03-03T20:09:50Z"}, {"modelId": "1be78ab6-f6b1-40d1-a92e-c248b6fd8beb", + "status": "invalid", "createdDateTime": "2021-03-03T21:50:30Z", "lastUpdatedDateTime": + "2021-03-03T21:50:30Z"}, {"modelId": "1d9dcd3e-d60d-4e77-8982-14a34c43aed8", + "status": "ready", "createdDateTime": "2020-04-10T16:56:22Z", "lastUpdatedDateTime": + "2020-04-10T16:56:31Z"}, {"modelId": "1e44c0b5-7549-4344-8f09-7cee4e2fb7f2", + "status": "ready", "createdDateTime": "2020-04-02T19:11:08Z", "lastUpdatedDateTime": + "2020-04-02T19:13:12Z"}, {"modelId": "1e48d82a-91d9-4b03-84cb-e980475bec0c", + "status": "invalid", "createdDateTime": "2020-04-01T17:38:00Z", "lastUpdatedDateTime": + "2020-04-01T17:38:01Z"}, {"modelId": "1ea71d96-9a89-48a5-bd1f-9c08c7bef5b4", + "status": "invalid", "createdDateTime": "2021-03-01T21:15:25Z", "lastUpdatedDateTime": + "2021-03-01T21:15:25Z"}, {"modelId": "1f12f046-941f-4a1c-9c55-df6070c2a0a3", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:46:07Z", "lastUpdatedDateTime": + "2020-08-11T19:46:07Z"}, {"modelId": "20229c83-bb46-4e83-8175-cd6814e564b5", + "status": "invalid", "createdDateTime": "2020-04-02T19:41:06Z", "lastUpdatedDateTime": + "2020-04-02T19:42:07Z"}, {"modelId": "20741f36-3cbc-43e3-9198-973bcf810e38", + "status": "ready", "createdDateTime": "2020-04-02T19:09:18Z", "lastUpdatedDateTime": + "2020-04-02T19:11:22Z"}, {"modelId": "217ac7d5-09a9-428c-9e71-c2936c3758cc", + "status": "invalid", "createdDateTime": "2021-03-03T22:17:31Z", "lastUpdatedDateTime": + "2021-03-03T22:17:31Z"}, {"modelId": "21a7199f-527b-44a5-9e53-40df23e817b8", + "status": "invalid", "createdDateTime": "2021-03-03T21:43:09Z", "lastUpdatedDateTime": + "2021-03-03T21:43:10Z"}, {"modelId": "229dc8b9-574f-4fb3-9130-47c6ba79966e", + "status": "ready", "createdDateTime": "2020-04-01T23:25:34Z", "lastUpdatedDateTime": + "2020-04-01T23:27:36Z"}, {"modelId": "2374f501-67ac-450b-be23-4d12b300940a", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-03-01T16:04:55Z", + "lastUpdatedDateTime": "2021-03-01T16:04:56Z"}, {"modelId": "24bd010b-0f58-4808-854f-ae18d69a097e", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:01Z", "lastUpdatedDateTime": + "2021-02-19T18:56:02Z"}, {"modelId": "252f2c01-3305-4ef1-a625-2eed6f43d08a", + "status": "ready", "createdDateTime": "2020-04-01T23:01:25Z", "lastUpdatedDateTime": + "2020-04-01T23:03:25Z"}, {"modelId": "2598bc24-2d79-475e-a44a-351251d544c7", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "25d83018-a1d1-42ea-aaab-db80101e72f0", + "status": "invalid", "createdDateTime": "2021-03-01T21:12:29Z", "lastUpdatedDateTime": + "2021-03-01T21:12:30Z"}, {"modelId": "27533222-4f99-41e2-bd54-b3598918639e", + "status": "ready", "createdDateTime": "2020-11-19T21:37:41Z", "lastUpdatedDateTime": + "2020-11-19T21:38:18Z"}, {"modelId": "293a38ba-6fb2-424f-8290-4b0bbe73e820", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-26T18:54:00Z", + "lastUpdatedDateTime": "2021-02-26T18:54:51Z"}, {"modelId": "297766a7-8028-4548-83bd-c4af696fa9c4", + "status": "ready", "createdDateTime": "2020-03-19T22:15:58Z", "lastUpdatedDateTime": + "2020-03-19T22:16:15Z"}, {"modelId": "2b84f4f2-a0d2-4e31-8c4b-4c102f521e59", + "status": "ready", "createdDateTime": "2020-04-05T22:26:42Z", "lastUpdatedDateTime": + "2020-04-05T22:26:49Z"}, {"modelId": "2c1aee9f-c495-4412-aa51-b7e9dad2681c", + "status": "invalid", "createdDateTime": "2021-03-03T21:21:07Z", "lastUpdatedDateTime": + "2021-03-03T21:21:08Z"}, {"modelId": "2c2d9b81-1166-4dfc-b2c6-f5f40523887c", + "status": "invalid", "createdDateTime": "2020-03-16T19:18:56Z", "lastUpdatedDateTime": + "2020-03-16T19:18:57Z"}, {"modelId": "2c47ef69-7c97-4291-86f0-158d9eb82e3b", + "modelName": "mymodel", "status": "invalid", "createdDateTime": "2021-02-19T19:07:09Z", + "lastUpdatedDateTime": "2021-02-19T19:07:09Z"}, {"modelId": "2c8d5479-1486-4557-a41c-10aac7e30cad", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "2de6a454-2901-4b2b-82cf-ae7dcf9f8231", + "status": "invalid", "createdDateTime": "2020-03-05T18:05:36Z", "lastUpdatedDateTime": + "2020-03-05T18:05:39Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzJlMzJiYWNjLWRhZWMtNGVlMS04OTZlLTUyMWJiODBiMzg3Yy8yZTMyYmFjYy1kYWVjLTRlZTEtODk2ZS01MjFiYjgwYjM4N2MuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 4ebb72ff-d742-4398-b551-2dd22c7154ed + content-length: + - '6027' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:18:30 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '268' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzJlMzJiYWNjLWRhZWMtNGVlMS04OTZlLTUyMWJiODBiMzg3Yy8yZTMyYmFjYy1kYWVjLTRlZTEtODk2ZS01MjFiYjgwYjM4N2MuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "2e32bacc-daec-4ee1-896e-521bb80b387c", + "status": "creating", "createdDateTime": "2020-05-20T00:03:01Z", "lastUpdatedDateTime": + "2020-05-20T00:03:01Z"}, {"modelId": "2fb69599-fb4b-4e48-81f5-80fec8cbd40e", + "status": "invalid", "createdDateTime": "2021-03-03T22:19:03Z", "lastUpdatedDateTime": + "2021-03-03T22:19:04Z"}, {"modelId": "30e01d7e-fc14-4894-b325-ff9c2c299dee", + "status": "ready", "createdDateTime": "2020-11-19T18:06:01Z", "lastUpdatedDateTime": + "2020-11-19T18:06:18Z"}, {"modelId": "319704f8-f5e0-4b80-a94a-4a37c7bd45c1", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "31c62d2e-aaea-4ce2-b63f-e7ca4ca219df", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:02Z", "lastUpdatedDateTime": + "2021-02-22T16:20:19Z"}, {"modelId": "31f7c2b6-6e4f-45db-ae54-7be3492141ee", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:03Z", "lastUpdatedDateTime": + "2021-02-22T16:20:03Z"}, {"modelId": "325b479e-a871-48dc-a027-03000a3c5d83", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:56Z", "lastUpdatedDateTime": + "2021-02-19T19:05:57Z"}, {"modelId": "33486c04-5819-4fdf-931a-d4f8100c8293", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:11Z", "lastUpdatedDateTime": + "2021-02-19T19:01:12Z"}, {"modelId": "3392a433-a09d-4d92-ae6b-e563c1384542", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:46:29Z", "lastUpdatedDateTime": + "2020-08-11T19:46:29Z"}, {"modelId": "33c8e981-f08a-42b5-a43f-f81806c4a2b5", + "status": "ready", "createdDateTime": "2020-04-10T21:08:38Z", "lastUpdatedDateTime": + "2020-04-10T21:08:47Z"}, {"modelId": "33f9b89e-ef67-4c0f-b726-1cd9d19cbcb6", + "status": "ready", "createdDateTime": "2020-04-02T19:15:32Z", "lastUpdatedDateTime": + "2020-04-02T19:17:28Z"}, {"modelId": "34688789-9891-4bba-b91d-37dd357661f7", + "status": "invalid", "createdDateTime": "2020-03-05T18:22:55Z", "lastUpdatedDateTime": + "2020-03-05T18:22:55Z"}, {"modelId": "356fc9f8-1bd3-4427-b6fa-4ca46a12812a", + "status": "ready", "createdDateTime": "2020-04-02T00:28:44Z", "lastUpdatedDateTime": + "2020-04-02T00:30:45Z"}, {"modelId": "3725e29d-308c-49be-9904-1ce5e085b87b", + "status": "ready", "createdDateTime": "2020-04-09T17:36:08Z", "lastUpdatedDateTime": + "2020-04-09T17:36:17Z"}, {"modelId": "373ab10b-ea40-4689-9dd7-5fb4d028ccde", + "status": "ready", "createdDateTime": "2020-11-20T17:37:25Z", "lastUpdatedDateTime": + "2020-11-20T17:37:41Z"}, {"modelId": "374e5862-9360-4429-a5c2-55c5cc3a66ac", + "status": "ready", "createdDateTime": "2020-03-27T23:00:23Z", "lastUpdatedDateTime": + "2020-03-27T23:00:32Z"}, {"modelId": "380a10fb-85b3-42ec-81ee-f4a7a8ef5f1e", + "status": "ready", "createdDateTime": "2020-04-02T00:07:12Z", "lastUpdatedDateTime": + "2020-04-02T00:09:15Z"}, {"modelId": "3851b84e-5b43-49d1-b98a-00c636f780c1", + "status": "ready", "createdDateTime": "2020-11-19T21:34:53Z", "lastUpdatedDateTime": + "2020-11-19T21:35:09Z"}, {"modelId": "3b71c908-f4b0-4245-9f2c-fcab3320d6c0", + "status": "invalid", "createdDateTime": "2020-03-13T21:38:42Z", "lastUpdatedDateTime": + "2020-03-13T21:38:43Z"}, {"modelId": "3c4089a9-afc3-4080-aa41-c0efedf9029a", + "status": "ready", "createdDateTime": "2020-04-02T16:57:36Z", "lastUpdatedDateTime": + "2020-04-02T16:59:42Z"}, {"modelId": "3c436ebc-7a07-4748-8f0d-0a9ea53dc624", + "status": "invalid", "createdDateTime": "2020-04-01T01:53:34Z", "lastUpdatedDateTime": + "2020-04-01T01:53:35Z"}, {"modelId": "3c70b5cf-2e6f-4eff-ba98-370c5178f9e6", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:00Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "3d9d94bc-ae95-46df-821d-613a58adbe92", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:08Z", "lastUpdatedDateTime": "2021-02-19T18:56:11Z"}, {"modelId": + "3e4fce16-793c-442a-8c35-84fc716734a2", "status": "invalid", "createdDateTime": + "2020-04-13T19:42:52Z", "lastUpdatedDateTime": "2020-04-13T19:45:52Z"}, {"modelId": + "3e931bc9-94bb-4c05-bd28-f3af1023a78f", "status": "ready", "createdDateTime": + "2020-11-20T16:49:47Z", "lastUpdatedDateTime": "2020-11-20T16:50:04Z"}, {"modelId": + "3ec666a5-0267-4caf-9c09-ef8bfdf234da", "status": "ready", "createdDateTime": + "2020-04-02T17:30:06Z", "lastUpdatedDateTime": "2020-04-02T17:32:03Z"}, {"modelId": + "3f005482-fff7-4003-8e01-bcfe625f7648", "modelName": "mycomposedmodel", "attributes": + {"isComposed": true}, "status": "ready", "createdDateTime": "2020-09-15T00:28:40Z", + "lastUpdatedDateTime": "2020-09-15T00:28:41Z"}, {"modelId": "3f20291f-8372-4db1-a46c-2a69bbe493cf", + "status": "ready", "createdDateTime": "2020-03-16T16:28:19Z", "lastUpdatedDateTime": + "2020-03-16T16:30:23Z"}, {"modelId": "41a711cd-9c4e-48f7-be80-b166ac0c9a91", + "status": "ready", "createdDateTime": "2020-03-24T20:41:33Z", "lastUpdatedDateTime": + "2020-03-24T20:41:53Z"}, {"modelId": "4211beb5-40f4-4433-a41f-f710da174195", + "status": "invalid", "createdDateTime": "2020-04-02T17:17:14Z", "lastUpdatedDateTime": + "2020-04-02T17:18:12Z"}, {"modelId": "428b2349-e0a2-4d1e-87d0-20f9f43326a8", + "status": "ready", "createdDateTime": "2020-04-21T05:39:12Z", "lastUpdatedDateTime": + "2020-04-21T05:39:20Z"}, {"modelId": "4294bb2d-e168-4edf-970a-efd2c689b9b5", + "status": "ready", "createdDateTime": "2021-02-19T18:56:08Z", "lastUpdatedDateTime": + "2021-02-19T18:56:38Z"}, {"modelId": "42e285f7-fd3d-4440-bd44-6b9af13b259b", + "status": "invalid", "createdDateTime": "2020-04-13T19:44:25Z", "lastUpdatedDateTime": + "2020-04-13T19:44:25Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzQzMTY0YTE3LWYyOTItNGNmYy05NDk2LTkyYTJmNmI5MDIyMi80MzE2NGExNy1mMjkyLTRjZmMtOTQ5Ni05MmEyZjZiOTAyMjIuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh"}' headers: apim-request-id: - - 4c1f3bd9-3948-4826-9894-7ee31a0be618 + - ba047099-ab3b-4791-8b6e-17db84022a05 + content-length: + - '5667' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:34 GMT + - Wed, 03 Mar 2021 23:18:30 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '18' + - '150' status: code: 200 message: OK @@ -212,29 +557,1188 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=full + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzQzMTY0YTE3LWYyOTItNGNmYy05NDk2LTkyYTJmNmI5MDIyMi80MzE2NGExNy1mMjkyLTRjZmMtOTQ5Ni05MmEyZjZiOTAyMjIuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh response: body: - string: '{"modelList": [{"modelId": "04735689-16fa-4515-a2fa-5b1fd3ff244c", - "status": "ready", "createdDateTime": "2020-10-30T01:19:19Z", "lastUpdatedDateTime": - "2020-10-30T01:19:33Z"}], "nextLink": ""}' + string: '{"modelList": [{"modelId": "43164a17-f292-4cfc-9496-92a2f6b90222", + "status": "ready", "createdDateTime": "2020-03-27T22:59:36Z", "lastUpdatedDateTime": + "2020-03-27T22:59:45Z"}, {"modelId": "4351b6b3-3d21-4055-b138-1d280ef7b04b", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:34:49Z", "lastUpdatedDateTime": + "2020-08-11T20:34:54Z"}, {"modelId": "436a33e3-9c49-448e-94f8-3cf50dfca85f", + "status": "ready", "createdDateTime": "2020-03-12T19:20:27Z", "lastUpdatedDateTime": + "2020-03-12T19:20:28Z"}, {"modelId": "44dc9184-14ed-4474-ba62-93372ade56ec", + "status": "ready", "createdDateTime": "2020-03-24T01:45:18Z", "lastUpdatedDateTime": + "2020-03-24T01:45:25Z"}, {"modelId": "4503978d-f8c0-46e7-a5b1-6ddb28408c55", + "status": "invalid", "createdDateTime": "2020-04-09T18:19:55Z", "lastUpdatedDateTime": + "2020-04-09T18:19:56Z"}, {"modelId": "46e71ccc-c18c-4a9b-9e40-d36aa2752344", + "status": "creating", "createdDateTime": "2021-03-01T22:00:11Z", "lastUpdatedDateTime": + "2021-03-01T22:00:11Z"}, {"modelId": "47452604-2359-4d23-b952-ffa76f81f862", + "status": "ready", "createdDateTime": "2020-04-02T16:41:13Z", "lastUpdatedDateTime": + "2020-04-02T16:43:16Z"}, {"modelId": "475be9d7-a574-4c89-987d-e94a2193c9d8", + "status": "ready", "createdDateTime": "2020-04-01T02:02:01Z", "lastUpdatedDateTime": + "2020-04-01T02:02:10Z"}, {"modelId": "487b1b31-df87-40a7-9e93-5e21cad3b3f4", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:05:58Z", "lastUpdatedDateTime": "2021-03-01T16:06:02Z"}, + {"modelId": "493729ed-9bc9-4c18-8171-5b33fed6682e", "status": "ready", "createdDateTime": + "2020-04-11T19:41:14Z", "lastUpdatedDateTime": "2020-04-11T19:41:23Z"}, {"modelId": + "49d702f7-d4fd-48e6-b74f-2fad73494ae6", "status": "ready", "createdDateTime": + "2020-03-15T19:49:07Z", "lastUpdatedDateTime": "2020-03-15T19:51:02Z"}, {"modelId": + "49f3015b-0745-44b2-8a2a-180eed885c16", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:42:12Z", "lastUpdatedDateTime": + "2021-02-25T22:43:05Z"}, {"modelId": "4a85d6aa-84e9-4235-82a0-fd9698ef79c9", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:38:21Z", "lastUpdatedDateTime": + "2020-08-11T19:38:21Z"}, {"modelId": "4a93478e-9dd8-4fa2-afcb-260445275a40", + "status": "invalid", "createdDateTime": "2021-03-03T22:46:22Z", "lastUpdatedDateTime": + "2021-03-03T22:46:23Z"}, {"modelId": "4b8c7140-933f-4554-9d70-9b9ef6894501", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-19T17:18:56Z", + "lastUpdatedDateTime": "2020-11-19T17:19:14Z"}, {"modelId": "4bfe2202-aa36-4b59-a816-45e9ad2d1e2d", + "status": "ready", "createdDateTime": "2020-04-02T16:46:46Z", "lastUpdatedDateTime": + "2020-04-02T16:48:50Z"}, {"modelId": "4c7ce365-3e78-4379-8b3c-b7e01b2731cf", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:31Z", "lastUpdatedDateTime": "2020-11-20T17:56:33Z"}, {"modelId": + "4cba7332-5ea7-4453-996f-52d550d3341d", "modelName": "labeled", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-03-01T16:10:38Z", + "lastUpdatedDateTime": "2021-03-01T16:10:41Z"}, {"modelId": "4d14b6f2-f630-43a0-81b9-c7d4601eb582", + "status": "ready", "createdDateTime": "2021-01-21T23:40:43Z", "lastUpdatedDateTime": + "2021-01-21T23:41:08Z"}, {"modelId": "4d68c598-b03a-48f0-a1e1-2bf6fd9e1628", + "status": "invalid", "createdDateTime": "2020-04-01T23:51:37Z", "lastUpdatedDateTime": + "2020-04-01T23:52:33Z"}, {"modelId": "4daafb45-08e5-4369-bebd-2436cd531e11", + "status": "ready", "createdDateTime": "2020-04-02T02:19:17Z", "lastUpdatedDateTime": + "2020-04-02T02:21:18Z"}, {"modelId": "4dd5ded6-e44f-4ff4-9b6f-be48bd8420d1", + "status": "ready", "createdDateTime": "2020-03-13T16:53:03Z", "lastUpdatedDateTime": + "2020-03-13T16:55:06Z"}, {"modelId": "4e4f8e5a-0a31-4905-be65-8ba880d51815", + "status": "ready", "createdDateTime": "2020-04-01T23:03:58Z", "lastUpdatedDateTime": + "2020-04-01T23:06:01Z"}, {"modelId": "4e90eff6-eafb-4fd9-97cd-3c91a5073293", + "status": "invalid", "createdDateTime": "2021-03-03T21:54:11Z", "lastUpdatedDateTime": + "2021-03-03T21:54:11Z"}, {"modelId": "4eabb2b8-1186-437c-a365-adb55cbc11f2", + "status": "invalid", "createdDateTime": "2020-03-13T21:39:42Z", "lastUpdatedDateTime": + "2020-03-13T21:39:43Z"}, {"modelId": "4fd29344-db36-42ab-88fd-45928a922837", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:08:48Z", "lastUpdatedDateTime": "2021-03-01T16:08:50Z"}, + {"modelId": "5069bfd7-047c-4b60-bb9e-b2fe42be4eb8", "status": "ready", "createdDateTime": + "2020-04-02T19:14:24Z", "lastUpdatedDateTime": "2020-04-02T19:16:27Z"}, {"modelId": + "5153fca1-691c-4d29-9155-6cd0680e29c5", "status": "ready", "createdDateTime": + "2020-08-13T23:09:30Z", "lastUpdatedDateTime": "2020-08-13T23:09:43Z"}, {"modelId": + "536444c1-d804-4b6f-9f19-9ba41b697c75", "status": "invalid", "createdDateTime": + "2020-03-30T21:51:08Z", "lastUpdatedDateTime": "2020-03-30T21:51:08Z"}, {"modelId": + "53cc3e0b-eec1-467e-a261-9c26a9fa6244", "status": "ready", "createdDateTime": + "2020-05-29T15:57:35Z", "lastUpdatedDateTime": "2020-05-29T15:59:16Z"}, {"modelId": + "54cf155c-db2d-443b-83c3-ca31190fa6e8", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:43:51Z", "lastUpdatedDateTime": + "2021-02-25T22:44:49Z"}, {"modelId": "5516a93e-4cd8-4906-9ea9-26eb1bc855dd", + "status": "ready", "createdDateTime": "2020-04-10T20:41:35Z", "lastUpdatedDateTime": + "2020-04-10T20:41:43Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzU1MTZhOTNlLTRjZDgtNDkwNi05ZWE5LTI2ZWIxYmM4NTVkZC81NTE2YTkzZS00Y2Q4LTQ5MDYtOWVhOS0yNmViMWJjODU1ZGQuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' headers: apim-request-id: - - dc9644bd-2d83-4537-939d-1fe3f9596b19 + - fc321615-81c6-415e-ad01-2a5922ea9c50 + content-length: + - '5747' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:34 GMT + - Wed, 03 Mar 2021 23:18:31 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '20' + - '233' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzU1MTZhOTNlLTRjZDgtNDkwNi05ZWE5LTI2ZWIxYmM4NTVkZC81NTE2YTkzZS00Y2Q4LTQ5MDYtOWVhOS0yNmViMWJjODU1ZGQuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "5516a93e-4cd8-4906-9ea9-26eb1bc855dd", + "status": "ready", "createdDateTime": "2020-04-10T20:41:35Z", "lastUpdatedDateTime": + "2020-04-10T20:41:43Z"}, {"modelId": "553c1c17-bd46-416e-96d5-4b8b15c2ab02", + "status": "invalid", "createdDateTime": "2021-03-01T21:11:20Z", "lastUpdatedDateTime": + "2021-03-01T21:11:20Z"}, {"modelId": "555aa4d1-0824-40f3-a693-e33ee522669c", + "status": "ready", "createdDateTime": "2020-04-10T20:30:47Z", "lastUpdatedDateTime": + "2020-04-10T20:30:57Z"}, {"modelId": "5650adb1-1387-41b3-a5dd-6e9833d2b33b", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:59Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "5654bd4b-e85c-41ed-b8f6-c77780d06551", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:07:47Z", "lastUpdatedDateTime": "2021-03-01T16:07:51Z"}, + {"modelId": "572b5e8c-125b-4f63-b9bc-a9de922abbd4", "status": "ready", "createdDateTime": + "2020-04-02T16:46:04Z", "lastUpdatedDateTime": "2020-04-02T16:48:04Z"}, {"modelId": + "57a8b733-80db-446e-92c9-110148ded1b7", "status": "ready", "createdDateTime": + "2020-03-30T21:14:25Z", "lastUpdatedDateTime": "2020-03-30T21:14:34Z"}, {"modelId": + "5821a84d-d13d-462c-b40c-6b90793b6565", "status": "ready", "createdDateTime": + "2020-04-20T19:46:37Z", "lastUpdatedDateTime": "2020-04-20T19:46:45Z"}, {"modelId": + "5924f18d-a26f-4653-b610-223b9594ca9b", "status": "ready", "createdDateTime": + "2020-03-15T19:34:12Z", "lastUpdatedDateTime": "2020-03-15T19:36:07Z"}, {"modelId": + "597701b0-5e5a-4594-bfbc-48ce5e31965f", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-19T19:05:59Z", "lastUpdatedDateTime": + "2021-02-19T19:06:05Z"}, {"modelId": "5b19288d-9048-4f40-a0e9-f4ef3c65795c", + "status": "ready", "createdDateTime": "2020-03-15T20:18:39Z", "lastUpdatedDateTime": + "2020-03-15T20:20:34Z"}, {"modelId": "5b973420-f850-4020-a2bc-6e9a14f6bbd0", + "status": "ready", "createdDateTime": "2020-04-01T23:27:46Z", "lastUpdatedDateTime": + "2020-04-01T23:29:46Z"}, {"modelId": "5c74c941-32d0-47cb-b65e-c5f7fb8ecac7", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T22:41:10Z", + "lastUpdatedDateTime": "2021-02-25T22:42:09Z"}, {"modelId": "5d90e99d-da95-4125-8c0c-a349e35a33d7", + "status": "invalid", "createdDateTime": "2021-03-03T22:24:07Z", "lastUpdatedDateTime": + "2021-03-03T22:24:08Z"}, {"modelId": "5ef66b5d-0ead-4031-a7d3-d46ba9673207", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "5f5eacbf-e45c-494d-96b1-38c785f19cc7", + "status": "ready", "createdDateTime": "2020-03-15T19:37:44Z", "lastUpdatedDateTime": + "2020-03-15T19:39:44Z"}, {"modelId": "5fd9558b-82e1-4443-b201-09486ce65d11", + "status": "ready", "createdDateTime": "2020-03-12T18:47:21Z", "lastUpdatedDateTime": + "2020-03-12T18:47:29Z"}, {"modelId": "61fcb11f-3bab-4edd-8264-b2ffbcc35869", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-01-25T19:54:26Z", "lastUpdatedDateTime": "2021-01-25T19:54:28Z"}, + {"modelId": "6271a9e4-90b5-45c2-ae09-85726535cf98", "status": "ready", "createdDateTime": + "2020-04-02T17:37:21Z", "lastUpdatedDateTime": "2020-04-02T17:37:37Z"}, {"modelId": + "62c71745-fd52-4f87-ba68-a66660e5398a", "status": "invalid", "createdDateTime": + "2020-03-15T19:29:14Z", "lastUpdatedDateTime": "2020-03-15T19:29:15Z"}, {"modelId": + "62f23b41-b5b0-4f15-b2da-a7fa33d83db7", "status": "ready", "createdDateTime": + "2020-04-09T01:41:38Z", "lastUpdatedDateTime": "2020-04-09T01:41:41Z"}, {"modelId": + "633eb385-0688-487d-98ec-23a981bda670", "status": "ready", "createdDateTime": + "2020-04-13T16:46:55Z", "lastUpdatedDateTime": "2020-04-13T16:47:04Z"}, {"modelId": + "634d2ef4-04c0-49ef-b10b-2356e68f7c8b", "status": "ready", "createdDateTime": + "2020-04-05T21:52:01Z", "lastUpdatedDateTime": "2020-04-05T21:52:02Z"}, {"modelId": + "63dd7c31-d7d2-4f72-84aa-9413b7cf04f7", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T19:10:27Z", "lastUpdatedDateTime": + "2021-02-26T19:10:30Z"}, {"modelId": "6408aa30-a1ab-4172-921e-dc71c26c028b", + "status": "invalid", "createdDateTime": "2021-03-01T21:13:25Z", "lastUpdatedDateTime": + "2021-03-01T21:13:26Z"}, {"modelId": "64d41333-9489-412e-af02-6664bb297e55", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:12Z", "lastUpdatedDateTime": + "2021-02-19T19:01:12Z"}, {"modelId": "65844abd-fb99-4b3c-b5c7-34e3b7c4db6c", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-19T19:05:56Z", + "lastUpdatedDateTime": "2021-02-19T19:05:56Z"}, {"modelId": "663b5cc9-97a3-472b-8c35-49728633ccd9", + "status": "ready", "createdDateTime": "2021-02-19T18:56:04Z", "lastUpdatedDateTime": + "2021-02-19T18:56:34Z"}, {"modelId": "67951586-1a2b-4957-bfef-8a963ef0e07d", + "status": "ready", "createdDateTime": "2020-04-02T17:00:05Z", "lastUpdatedDateTime": + "2020-04-02T17:02:03Z"}, {"modelId": "67d1e903-cc92-4294-9b03-8547eeb9d988", + "status": "ready", "createdDateTime": "2020-04-02T19:37:34Z", "lastUpdatedDateTime": + "2020-04-02T19:39:29Z"}, {"modelId": "68cb2ba6-e7d6-4e79-a50d-ee4c248d4156", + "status": "invalid", "createdDateTime": "2020-04-10T19:48:43Z", "lastUpdatedDateTime": + "2020-04-10T19:49:43Z"}, {"modelId": "6933b09c-30f1-46ed-bd25-5bc81c4e04df", + "status": "ready", "createdDateTime": "2020-04-13T17:41:16Z", "lastUpdatedDateTime": + "2020-04-13T17:41:24Z"}, {"modelId": "699fd879-f7d2-4e94-bc6a-88ed9fa47af4", + "status": "ready", "createdDateTime": "2020-04-02T17:35:47Z", "lastUpdatedDateTime": + "2020-04-02T17:35:58Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzY5OWZkODc5LWY3ZDItNGU5NC1iYzZhLTg4ZWQ5ZmE0N2FmNC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 5d9550f8-01e5-4451-8cee-0e174a109bd6 + content-length: + - '5680' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:18:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '172' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzY5OWZkODc5LWY3ZDItNGU5NC1iYzZhLTg4ZWQ5ZmE0N2FmNC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "699fd879-f7d2-4e94-bc6a-88ed9fa47af4", + "status": "ready", "createdDateTime": "2020-04-02T17:35:47Z", "lastUpdatedDateTime": + "2020-04-02T17:35:58Z"}, {"modelId": "69ee41be-3916-4d54-b28b-a579ebaa98dc", + "status": "invalid", "createdDateTime": "2020-04-10T20:15:51Z", "lastUpdatedDateTime": + "2020-04-10T20:16:51Z"}, {"modelId": "6a1d79a7-2c75-4257-959a-f89c420fbf66", + "status": "ready", "createdDateTime": "2020-04-10T21:01:19Z", "lastUpdatedDateTime": + "2020-04-10T21:01:28Z"}, {"modelId": "6b0e5399-dffc-4b8c-a8aa-bdc29109913d", + "status": "ready", "createdDateTime": "2020-04-13T16:42:19Z", "lastUpdatedDateTime": + "2020-04-13T16:42:22Z"}, {"modelId": "6c9ffc45-7f53-441b-afa7-7342edde4cd4", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:09:40Z", "lastUpdatedDateTime": "2021-03-01T16:09:43Z"}, + {"modelId": "6cf013cd-208a-4c83-844c-72a86945cf69", "modelName": "labeled", + "status": "invalid", "createdDateTime": "2021-02-26T20:11:41Z", "lastUpdatedDateTime": + "2021-02-26T20:11:42Z"}, {"modelId": "6d2866db-3e68-4cbf-8f95-6d8505354bc7", + "status": "invalid", "createdDateTime": "2020-04-01T02:12:18Z", "lastUpdatedDateTime": + "2020-04-01T02:12:18Z"}, {"modelId": "6e4bedbb-6246-4553-b31e-4959d1ef8f73", + "status": "invalid", "createdDateTime": "2020-04-01T02:15:10Z", "lastUpdatedDateTime": + "2020-04-01T02:15:11Z"}, {"modelId": "6eb745a3-07bc-4d18-8c48-9a0324cfe663", + "status": "ready", "createdDateTime": "2020-03-24T20:39:08Z", "lastUpdatedDateTime": + "2020-03-24T20:39:27Z"}, {"modelId": "6f8cfb3d-c933-4e95-b94d-7c6600d228cb", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-02-26T21:38:04Z", "lastUpdatedDateTime": "2021-02-26T21:38:08Z"}, + {"modelId": "6fd13b54-f34e-421f-a500-4255a000c96a", "attributes": {"isComposed": + false}, "status": "ready", "createdDateTime": "2020-11-20T17:58:30Z", "lastUpdatedDateTime": + "2020-11-20T17:59:32Z"}, {"modelId": "700bf4db-d96f-417c-a512-37a10d4362a2", + "status": "ready", "createdDateTime": "2020-03-30T21:54:06Z", "lastUpdatedDateTime": + "2020-03-30T21:54:14Z"}, {"modelId": "70ccd26d-5041-4407-a630-acdec9271538", + "status": "ready", "createdDateTime": "2020-04-01T23:38:56Z", "lastUpdatedDateTime": + "2020-04-01T23:40:50Z"}, {"modelId": "70e1ec58-43e4-4729-9d7b-587644d86743", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-20T16:47:52Z", + "lastUpdatedDateTime": "2020-11-20T16:48:09Z"}, {"modelId": "717cba6c-81a0-4113-911c-6ee14ecc1c64", + "status": "ready", "createdDateTime": "2020-04-13T16:35:46Z", "lastUpdatedDateTime": + "2020-04-13T16:35:49Z"}, {"modelId": "718e3eab-6f8f-422b-8e54-7932c7fa9ef2", + "status": "ready", "createdDateTime": "2020-04-22T03:13:32Z", "lastUpdatedDateTime": + "2020-04-22T03:13:40Z"}, {"modelId": "729b12ca-fd8d-4a9d-9b76-9554643ec37b", + "status": "ready", "createdDateTime": "2020-03-13T21:34:56Z", "lastUpdatedDateTime": + "2020-03-13T21:36:56Z"}, {"modelId": "731d62de-1b53-4ce6-92ae-48c5459bb1e1", + "status": "ready", "createdDateTime": "2020-04-10T20:29:01Z", "lastUpdatedDateTime": + "2020-04-10T20:29:10Z"}, {"modelId": "733fbb4c-bc74-440f-9809-c7a15c528bcc", + "status": "invalid", "createdDateTime": "2021-03-03T21:36:32Z", "lastUpdatedDateTime": + "2021-03-03T21:36:33Z"}, {"modelId": "73a6647a-c6f6-46fd-9ca7-990cffa615e0", + "status": "invalid", "createdDateTime": "2021-03-03T22:48:38Z", "lastUpdatedDateTime": + "2021-03-03T22:48:40Z"}, {"modelId": "74e60334-9958-4861-a975-96cf443b9425", + "status": "ready", "createdDateTime": "2020-04-13T16:35:39Z", "lastUpdatedDateTime": + "2020-04-13T16:35:49Z"}, {"modelId": "753f87ab-7de3-484a-88ab-989bfee65f48", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T19:05:58Z", "lastUpdatedDateTime": "2021-02-19T19:06:02Z"}, {"modelId": + "75ba63fd-348c-407f-ad77-99b67095786e", "status": "ready", "createdDateTime": + "2020-04-21T05:32:20Z", "lastUpdatedDateTime": "2020-04-21T05:32:29Z"}, {"modelId": + "75c89f8d-0f3e-4b5f-bc25-d44caf5f983b", "status": "ready", "createdDateTime": + "2020-04-02T21:09:43Z", "lastUpdatedDateTime": "2020-04-02T21:11:43Z"}, {"modelId": + "760bf229-1a1f-4aee-b4a1-d29ddad42907", "status": "ready", "createdDateTime": + "2020-04-02T17:42:19Z", "lastUpdatedDateTime": "2020-04-02T17:44:18Z"}, {"modelId": + "765218a9-bd57-4c76-85f2-bb01517e8af5", "status": "invalid", "createdDateTime": + "2021-03-03T21:21:01Z", "lastUpdatedDateTime": "2021-03-03T21:21:02Z"}, {"modelId": + "7713df98-539e-46c5-979c-60b29571495f", "status": "invalid", "createdDateTime": + "2021-02-19T19:05:54Z", "lastUpdatedDateTime": "2021-02-19T19:05:55Z"}, {"modelId": + "7771c362-af0d-43c5-ad7d-a228a75f28c0", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:44:52Z", "lastUpdatedDateTime": + "2021-02-25T22:45:45Z"}, {"modelId": "77ee725d-ab04-4522-b577-3e7a29326fd0", + "status": "ready", "createdDateTime": "2020-04-13T17:40:06Z", "lastUpdatedDateTime": + "2020-04-13T17:40:15Z"}, {"modelId": "785671f9-d058-4542-8d5a-6f08f1715e2a", + "status": "ready", "createdDateTime": "2020-04-06T21:54:09Z", "lastUpdatedDateTime": + "2020-04-06T21:54:18Z"}, {"modelId": "7a28024d-6e36-444f-ae51-3985fa8205f4", + "status": "invalid", "createdDateTime": "2020-04-10T18:17:16Z", "lastUpdatedDateTime": + "2020-04-10T18:17:17Z"}, {"modelId": "7aa01eff-7641-4332-917d-9566484ea249", + "status": "invalid", "createdDateTime": "2020-04-01T01:43:39Z", "lastUpdatedDateTime": + "2020-04-01T01:43:39Z"}, {"modelId": "7aeb48b3-6977-4091-9d69-a681675af360", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "7bb77385-094c-4a9b-be95-3ce02d472c58", + "status": "ready", "createdDateTime": "2020-04-10T21:04:12Z", "lastUpdatedDateTime": + "2020-04-10T21:04:26Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdiYjc3Mzg1LTA5NGMtNGE5Yi1iZTk1LTNjZTAyZDQ3MmM1OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 90eab6fa-46d0-429f-a270-0fd49a39f1a3 + content-length: + - '5870' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:18:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '204' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdiYjc3Mzg1LTA5NGMtNGE5Yi1iZTk1LTNjZTAyZDQ3MmM1OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 23 seconds. Please contact Azure support service if you would + like to further increase the default rate limit."}}' + headers: + apim-request-id: + - 2d1eb6d7-58b6-4b0b-91f0-b1dca5cdc523 + content-length: + - '359' + content-type: + - application/json + date: + - Wed, 03 Mar 2021 23:18:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + status: + code: 429 + message: Too Many Requests +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdiYjc3Mzg1LTA5NGMtNGE5Yi1iZTk1LTNjZTAyZDQ3MmM1OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "7bb77385-094c-4a9b-be95-3ce02d472c58", + "status": "ready", "createdDateTime": "2020-04-10T21:04:12Z", "lastUpdatedDateTime": + "2020-04-10T21:04:26Z"}, {"modelId": "7bc722a1-fffc-4c41-9031-c7bda567bdfa", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:45:27Z", "lastUpdatedDateTime": + "2020-08-11T20:45:27Z"}, {"modelId": "7d061a34-c20b-4794-9c64-1bc6ee918329", + "status": "ready", "createdDateTime": "2020-04-02T02:45:16Z", "lastUpdatedDateTime": + "2020-04-02T02:47:18Z"}, {"modelId": "7e3e36ee-cdf6-406c-869b-3ef3f1d9aad9", + "status": "ready", "createdDateTime": "2020-03-11T03:02:02Z", "lastUpdatedDateTime": + "2020-03-11T03:02:11Z"}, {"modelId": "7e508843-5dd2-48d3-abd1-f542bc9c3c07", + "status": "ready", "createdDateTime": "2020-03-15T20:05:31Z", "lastUpdatedDateTime": + "2020-03-15T20:07:33Z"}, {"modelId": "7e5194c7-390c-4cee-9a0f-96d670e45b5a", + "status": "invalid", "createdDateTime": "2021-03-03T21:50:24Z", "lastUpdatedDateTime": + "2021-03-03T21:50:25Z"}, {"modelId": "7fd94e51-a18f-44f9-bcd0-ce8b84fb4d39", + "status": "ready", "createdDateTime": "2020-03-15T20:04:01Z", "lastUpdatedDateTime": + "2020-03-15T20:06:01Z"}, {"modelId": "80fee662-fd5a-41bf-b4f5-893e0eca4bb2", + "status": "ready", "createdDateTime": "2020-03-15T19:31:28Z", "lastUpdatedDateTime": + "2020-03-15T19:33:30Z"}, {"modelId": "8223dd41-2932-4301-b621-ccf75d6a3c0a", + "status": "ready", "createdDateTime": "2020-05-20T17:49:40Z", "lastUpdatedDateTime": + "2020-05-20T17:49:50Z"}, {"modelId": "824e9f66-031f-4908-9034-8e78e3202caa", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T19:06:00Z", "lastUpdatedDateTime": "2021-02-19T19:06:07Z"}, {"modelId": + "8254411d-a680-4941-ace4-a9524fc9a407", "modelName": "secondcomposedmodel", + "attributes": {"isComposed": true}, "status": "ready", "createdDateTime": + "2020-08-11T19:47:10Z", "lastUpdatedDateTime": "2020-08-11T19:47:10Z"}, {"modelId": + "82e6af94-0235-4f64-8106-cadfb5779124", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-01-21T23:43:43Z", "lastUpdatedDateTime": + "2021-01-21T23:43:46Z"}, {"modelId": "83163519-6d6c-4ba7-b6fe-cfb3a14d7cff", + "status": "ready", "createdDateTime": "2020-03-16T22:13:17Z", "lastUpdatedDateTime": + "2020-03-16T22:15:14Z"}, {"modelId": "83d2fbaa-8629-43f1-8e48-9891ae1858af", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:59:29Z", "lastUpdatedDateTime": + "2020-08-11T19:59:29Z"}, {"modelId": "86119a4f-e48a-4c15-9348-2d300aee1066", + "status": "ready", "createdDateTime": "2020-03-19T01:48:13Z", "lastUpdatedDateTime": + "2020-03-19T01:50:06Z"}, {"modelId": "8615384b-bd35-46c1-a15f-ce29b4687988", + "modelName": "mymodel", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2020-11-19T18:14:30Z", "lastUpdatedDateTime": "2020-11-19T18:14:32Z"}, + {"modelId": "863c1ede-91fd-4d79-88f2-b17b5ab745a7", "modelName": "labeled", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-01-25T20:17:52Z", "lastUpdatedDateTime": "2021-01-25T20:17:55Z"}, {"modelId": + "86761c26-b665-4611-8068-0641be2f5b88", "status": "ready", "createdDateTime": + "2020-04-02T17:11:01Z", "lastUpdatedDateTime": "2020-04-02T17:12:56Z"}, {"modelId": + "8757ab80-77cb-47f5-bf0b-cc12c11f1e3e", "status": "ready", "createdDateTime": + "2021-02-19T19:06:01Z", "lastUpdatedDateTime": "2021-02-19T19:06:33Z"}, {"modelId": + "87f94c1f-a345-4ecd-b440-df1ffffbe4cd", "status": "ready", "createdDateTime": + "2020-04-02T01:52:24Z", "lastUpdatedDateTime": "2020-04-02T01:54:26Z"}, {"modelId": + "8a255b7a-3fcb-4665-8219-c410c34d7d05", "status": "ready", "createdDateTime": + "2020-03-15T20:34:45Z", "lastUpdatedDateTime": "2020-03-15T20:35:00Z"}, {"modelId": + "8a3b905d-d28a-4ab1-bdc1-5919ea8b0699", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-25T19:43:43Z", "lastUpdatedDateTime": + "2021-02-25T19:43:46Z"}, {"modelId": "8aa909fc-b44c-4f00-97ce-fdb1cbcc0be4", + "status": "invalid", "createdDateTime": "2020-03-16T19:21:55Z", "lastUpdatedDateTime": + "2020-03-16T19:21:56Z"}, {"modelId": "8ac25719-613f-4e80-97ed-a3aca7cc4e68", + "modelName": "my unlabeled model", "status": "ready", "createdDateTime": "2021-01-21T18:49:12Z", + "lastUpdatedDateTime": "2021-01-21T18:49:27Z"}, {"modelId": "8b2d0d9c-cb8d-4eea-84b2-713d3fb2ad34", + "status": "ready", "createdDateTime": "2020-04-21T05:34:01Z", "lastUpdatedDateTime": + "2020-04-21T05:34:11Z"}, {"modelId": "8b56c5f8-50ea-4fdd-bfcc-c7ba69153deb", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:03Z", "lastUpdatedDateTime": + "2021-02-22T16:20:03Z"}, {"modelId": "8bcb64c2-1907-441b-9001-2c438efcf44f", + "status": "ready", "createdDateTime": "2020-04-13T17:45:55Z", "lastUpdatedDateTime": + "2020-04-13T17:46:05Z"}, {"modelId": "8df72857-f05e-4576-82cd-1513f972954f", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:11Z", "lastUpdatedDateTime": + "2021-02-19T19:01:11Z"}, {"modelId": "8fe0ebae-2829-407c-8361-bfdb264ec42d", + "status": "ready", "createdDateTime": "2021-03-03T23:18:09Z", "lastUpdatedDateTime": + "2021-03-03T23:18:25Z"}, {"modelId": "900b10e6-34ee-4e3b-8838-a6fcfb18859c", + "status": "invalid", "createdDateTime": "2020-04-01T02:14:08Z", "lastUpdatedDateTime": + "2020-04-01T02:14:09Z"}, {"modelId": "90333c99-9878-47e5-9b75-f886e45947cc", + "status": "invalid", "createdDateTime": "2020-04-01T01:56:53Z", "lastUpdatedDateTime": + "2020-04-01T01:56:53Z"}, {"modelId": "906ca3e2-e6c7-42a6-9ef7-f2132d3f998f", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:09Z", "lastUpdatedDateTime": + "2021-02-19T18:56:11Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwNmNhM2UyLWU2YzctNDJhNi05ZWY3LWYyMTMyZDNmOTk4Zi91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - aa4081be-234a-482c-b481-7abb8019ba11 + content-length: + - '5756' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:18:55 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '156' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwNmNhM2UyLWU2YzctNDJhNi05ZWY3LWYyMTMyZDNmOTk4Zi91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 1 second. Please contact Azure support service if you would like + to further increase the default rate limit."}}' + headers: + apim-request-id: + - 5eed37c8-f4ed-4c41-ae07-73f5f5ce2432 + content-length: + - '357' + content-type: + - application/json + date: + - Wed, 03 Mar 2021 23:18:55 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + status: + code: 429 + message: Too Many Requests +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwNmNhM2UyLWU2YzctNDJhNi05ZWY3LWYyMTMyZDNmOTk4Zi91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "906ca3e2-e6c7-42a6-9ef7-f2132d3f998f", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:09Z", "lastUpdatedDateTime": + "2021-02-19T18:56:11Z"}, {"modelId": "90cf67f6-4bbe-434e-b8e1-8982f392ecd0", + "status": "ready", "createdDateTime": "2020-03-12T20:33:08Z", "lastUpdatedDateTime": + "2020-03-12T20:33:10Z"}, {"modelId": "91024bf0-9316-450e-90a5-9f7b7b4d7c01", + "status": "ready", "createdDateTime": "2020-04-02T02:27:30Z", "lastUpdatedDateTime": + "2020-04-02T02:29:30Z"}, {"modelId": "9228cf03-efdd-4d8e-ba47-d605addc2a17", + "status": "ready", "createdDateTime": "2020-04-02T02:02:40Z", "lastUpdatedDateTime": + "2020-04-02T02:04:34Z"}, {"modelId": "92f6eb1d-c460-426d-9ed7-62c8a8dfacec", + "status": "ready", "createdDateTime": "2020-04-02T17:09:36Z", "lastUpdatedDateTime": + "2020-04-02T17:11:32Z"}, {"modelId": "934e24cc-fe50-4f24-99d0-b0d9f024d78f", + "status": "ready", "createdDateTime": "2020-03-04T17:11:12Z", "lastUpdatedDateTime": + "2020-03-04T17:11:12Z"}, {"modelId": "9383595f-c646-4505-a7c4-d2d2174b0b91", + "status": "ready", "createdDateTime": "2020-04-01T23:18:01Z", "lastUpdatedDateTime": + "2020-04-01T23:20:01Z"}, {"modelId": "94f67d0c-fdc8-46f7-b144-7f763b6181e2", + "status": "invalid", "createdDateTime": "2021-03-03T21:17:25Z", "lastUpdatedDateTime": + "2021-03-03T21:17:26Z"}, {"modelId": "965c2ab6-82a7-4667-a9d0-a7c589c932f9", + "status": "ready", "createdDateTime": "2020-04-01T23:33:59Z", "lastUpdatedDateTime": + "2020-04-01T23:36:01Z"}, {"modelId": "97feeac7-768d-4b10-ac0d-b9a204dc4174", + "status": "ready", "createdDateTime": "2020-03-27T20:10:06Z", "lastUpdatedDateTime": + "2020-03-27T20:10:14Z"}, {"modelId": "986de900-7089-4ba0-9be6-998b9ddcd0e9", + "status": "ready", "createdDateTime": "2020-04-10T20:29:23Z", "lastUpdatedDateTime": + "2020-04-10T20:29:31Z"}, {"modelId": "997750cb-bf7c-45ff-82cc-537060472254", + "status": "ready", "createdDateTime": "2020-11-20T17:54:39Z", "lastUpdatedDateTime": + "2020-11-20T17:54:56Z"}, {"modelId": "99cd7d37-341a-4a91-b6ac-dc70da72e192", + "status": "invalid", "createdDateTime": "2020-04-09T18:20:12Z", "lastUpdatedDateTime": + "2020-04-09T18:20:12Z"}, {"modelId": "9a42543a-2bca-457f-ad05-292488b2fb66", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:52Z", "lastUpdatedDateTime": + "2021-02-19T19:06:52Z"}, {"modelId": "9a79a3af-b996-4cb1-8ea7-7e2895d5a549", + "status": "ready", "createdDateTime": "2020-03-15T19:54:05Z", "lastUpdatedDateTime": + "2020-03-15T19:56:07Z"}, {"modelId": "9ad19f07-4aa0-4a9c-a773-40909d52df0c", + "status": "creating", "createdDateTime": "2020-05-20T00:01:58Z", "lastUpdatedDateTime": + "2020-05-20T00:01:58Z"}, {"modelId": "9adcd72f-4b80-4769-a761-e2e0aa0b7890", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:40:42Z", "lastUpdatedDateTime": + "2020-08-11T20:40:43Z"}, {"modelId": "9b083f54-3cd1-4ddf-b037-53611a9e01c1", + "status": "invalid", "createdDateTime": "2021-03-03T21:54:05Z", "lastUpdatedDateTime": + "2021-03-03T21:54:06Z"}, {"modelId": "9b5132cf-02c1-4ea9-a652-999780507aac", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:13Z", "lastUpdatedDateTime": "2020-11-20T17:56:15Z"}, {"modelId": + "9c18b4fc-78a0-457a-b975-b18361d9f453", "status": "ready", "createdDateTime": + "2020-03-12T18:47:53Z", "lastUpdatedDateTime": "2020-03-12T18:48:00Z"}, {"modelId": + "9c267194-a0dd-4d6c-ab50-4664795b8afc", "status": "invalid", "createdDateTime": + "2020-04-01T01:41:00Z", "lastUpdatedDateTime": "2020-04-01T01:41:00Z"}, {"modelId": + "9c401b5d-1271-4082-ba51-e50e11616efa", "modelName": "labeled", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-02-26T21:38:20Z", + "lastUpdatedDateTime": "2021-02-26T21:38:23Z"}, {"modelId": "9cf82dde-3cad-4fcf-a9a4-0ee76337293c", + "status": "invalid", "createdDateTime": "2020-04-09T17:34:09Z", "lastUpdatedDateTime": + "2020-04-09T17:34:10Z"}, {"modelId": "9d7a4d71-0c59-40ed-be9b-d0630df63b87", + "status": "ready", "createdDateTime": "2020-04-10T20:26:54Z", "lastUpdatedDateTime": + "2020-04-10T20:27:04Z"}, {"modelId": "9eabe36b-a3f8-4bb9-bab7-099cd043caef", + "status": "ready", "createdDateTime": "2020-05-20T21:08:39Z", "lastUpdatedDateTime": + "2020-05-20T21:10:22Z"}, {"modelId": "9f5b094c-879b-49e6-8d1e-35328b916007", + "status": "ready", "createdDateTime": "2020-04-02T16:47:59Z", "lastUpdatedDateTime": + "2020-04-02T16:49:59Z"}, {"modelId": "9fc0ceab-56bb-4715-b484-b81633e7a175", + "status": "ready", "createdDateTime": "2020-04-02T16:24:21Z", "lastUpdatedDateTime": + "2020-04-02T16:26:26Z"}, {"modelId": "a12c98fe-3149-4c79-8aff-c48344d13f9f", + "status": "creating", "createdDateTime": "2020-10-14T19:15:19Z", "lastUpdatedDateTime": + "2020-10-14T19:15:19Z"}, {"modelId": "a18a94fe-436c-4abd-b072-dfacd19e1ec9", + "status": "ready", "createdDateTime": "2020-04-02T19:33:56Z", "lastUpdatedDateTime": + "2020-04-02T19:35:51Z"}, {"modelId": "a193f69c-fe8b-47ce-b04c-4ce0056dae8f", + "status": "ready", "createdDateTime": "2020-04-02T19:55:59Z", "lastUpdatedDateTime": + "2020-04-02T19:56:11Z"}, {"modelId": "a1bb1a0f-2207-4d49-b3f3-fdb1831af610", + "status": "invalid", "createdDateTime": "2020-04-02T19:57:02Z", "lastUpdatedDateTime": + "2020-04-02T20:04:17Z"}, {"modelId": "a1c879cc-5de6-421f-b31f-e43977216ebf", + "status": "ready", "createdDateTime": "2020-04-13T17:43:31Z", "lastUpdatedDateTime": + "2020-04-13T17:43:40Z"}, {"modelId": "a264fe3e-8f7c-4948-82e2-4118642999e5", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T15:57:08Z", + "lastUpdatedDateTime": "2021-02-25T15:57:59Z"}, {"modelId": "a4d48fd6-fd5d-42ff-902f-b7d8102edbd5", + "status": "ready", "createdDateTime": "2020-04-10T21:02:43Z", "lastUpdatedDateTime": + "2020-04-10T21:02:53Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh"}' + headers: + apim-request-id: + - 81c78f5f-ec52-4b72-a634-069c0a863edb + content-length: + - '5833' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:18:56 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '161' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 6 seconds. Please contact Azure support service if you would like + to further increase the default rate limit."}}' + headers: + apim-request-id: + - c74059b6-9af8-4574-a326-b0aa3e0b941b + content-length: + - '358' + content-type: + - application/json + date: + - Wed, 03 Mar 2021 23:18:56 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + status: + code: 429 + message: Too Many Requests +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh + response: + body: + string: '{"modelList": [{"modelId": "a5b9f0ae-ee6e-4b44-8fec-847f2c7301ad", + "status": "ready", "createdDateTime": "2020-03-13T00:25:09Z", "lastUpdatedDateTime": + "2020-03-13T00:25:16Z"}, {"modelId": "a71e2892-980d-413a-8857-91bf1e1c8a08", + "status": "ready", "createdDateTime": "2020-03-15T19:33:11Z", "lastUpdatedDateTime": + "2020-03-15T19:35:14Z"}, {"modelId": "a72386be-2f3c-4316-a11c-00851511c5fe", + "status": "ready", "createdDateTime": "2020-04-13T17:40:56Z", "lastUpdatedDateTime": + "2020-04-13T17:40:59Z"}, {"modelId": "a8572bea-756f-48dd-befb-66091c9dff2d", + "status": "ready", "createdDateTime": "2020-11-20T18:01:56Z", "lastUpdatedDateTime": + "2020-11-20T18:02:11Z"}, {"modelId": "a98ae300-93f0-4856-8344-518bdacb26dc", + "status": "ready", "createdDateTime": "2020-04-07T00:31:54Z", "lastUpdatedDateTime": + "2020-04-07T00:32:03Z"}, {"modelId": "a9c4d509-7a07-4132-b162-375ded6c7bba", + "status": "creating", "createdDateTime": "2020-06-08T21:55:31Z", "lastUpdatedDateTime": + "2020-06-08T21:55:31Z"}, {"modelId": "aae2ed54-5e8f-4591-9cb0-37468e902391", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:04Z", "lastUpdatedDateTime": "2021-02-19T18:56:08Z"}, {"modelId": + "aaf63919-78de-4a88-baea-015034f911b8", "status": "invalid", "createdDateTime": + "2020-03-16T19:20:53Z", "lastUpdatedDateTime": "2020-03-16T19:20:58Z"}, {"modelId": + "ab503fa1-c015-4d0a-bec6-ec00f72b2482", "status": "ready", "createdDateTime": + "2020-04-02T16:28:09Z", "lastUpdatedDateTime": "2020-04-02T16:30:06Z"}, {"modelId": + "aba0e1d3-13d9-4bcd-8cb5-b68ccbffa285", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T20:12:58Z", "lastUpdatedDateTime": + "2021-02-26T20:12:59Z"}, {"modelId": "ad315d9e-93f2-411c-83da-2ab5bfb3e725", + "status": "ready", "createdDateTime": "2020-03-12T18:46:22Z", "lastUpdatedDateTime": + "2020-03-12T18:46:31Z"}, {"modelId": "ad5453c7-54d6-4749-bd15-320dd95d7198", + "status": "ready", "createdDateTime": "2020-04-02T02:43:29Z", "lastUpdatedDateTime": + "2020-04-02T02:45:34Z"}, {"modelId": "ae76c104-9e8f-4a9b-8a57-cbd1ee2b6823", + "status": "creating", "createdDateTime": "2020-10-14T19:12:56Z", "lastUpdatedDateTime": + "2020-10-14T19:12:56Z"}, {"modelId": "aec57ff3-111f-449d-b1ef-f9af2d333d0a", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:05Z", "lastUpdatedDateTime": + "2021-02-19T18:56:06Z"}, {"modelId": "af5236b2-bf8b-4e65-b69f-17bf712fb6c0", + "status": "ready", "createdDateTime": "2020-03-15T19:50:02Z", "lastUpdatedDateTime": + "2020-03-15T19:52:08Z"}, {"modelId": "af9fa4cf-afb9-4530-b926-a1703addd10f", + "modelName": "secondcomposedmodelf", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-12T00:08:44Z", "lastUpdatedDateTime": + "2020-08-12T00:08:44Z"}, {"modelId": "b0b5c95b-3551-4405-bd06-b53b02784bda", + "status": "invalid", "createdDateTime": "2020-03-19T22:15:03Z", "lastUpdatedDateTime": + "2020-03-19T22:15:03Z"}, {"modelId": "b28abd58-a6d9-4210-88f3-d9f06821d5c1", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:43:42Z", "lastUpdatedDateTime": + "2020-08-11T20:43:42Z"}, {"modelId": "b2b410a6-5d9f-40eb-9f8f-e813c890c297", + "status": "ready", "createdDateTime": "2020-03-16T22:13:58Z", "lastUpdatedDateTime": + "2020-03-16T22:15:56Z"}, {"modelId": "b4489523-d1bb-4138-8cbf-c8a865eb0e95", + "status": "ready", "createdDateTime": "2020-04-02T20:04:25Z", "lastUpdatedDateTime": + "2020-04-02T20:06:23Z"}, {"modelId": "b44f86cc-bd71-43e9-80d8-e5b3733d1d63", + "status": "creating", "createdDateTime": "2020-10-14T19:15:01Z", "lastUpdatedDateTime": + "2020-10-14T19:15:01Z"}, {"modelId": "b45b98c0-bdc4-4963-bc22-383d7830d17a", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T15:58:00Z", + "lastUpdatedDateTime": "2021-02-25T15:58:58Z"}, {"modelId": "b4bef7cf-4cd4-41e3-868d-24a7d282f404", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:29Z", "lastUpdatedDateTime": + "2021-02-19T19:06:30Z"}, {"modelId": "b4f44495-ee8c-4921-ac20-da3aaf632799", + "status": "ready", "createdDateTime": "2020-04-10T21:11:10Z", "lastUpdatedDateTime": + "2020-04-10T21:11:19Z"}, {"modelId": "b58d03b4-8c7c-4fba-b2fb-0165b153f82c", + "status": "invalid", "createdDateTime": "2021-03-03T21:36:26Z", "lastUpdatedDateTime": + "2021-03-03T21:36:27Z"}, {"modelId": "b5cc2beb-8d51-4a4a-b539-66c3e8fac56b", + "status": "ready", "createdDateTime": "2020-11-20T17:59:49Z", "lastUpdatedDateTime": + "2020-11-20T18:00:11Z"}, {"modelId": "b63905cd-8304-454b-b841-4c64f224bdc6", + "status": "ready", "createdDateTime": "2020-03-24T20:31:59Z", "lastUpdatedDateTime": + "2020-03-24T20:32:11Z"}, {"modelId": "b6717d58-1f70-474a-b392-2c79a93107cc", + "status": "ready", "createdDateTime": "2020-04-02T16:43:13Z", "lastUpdatedDateTime": + "2020-04-02T16:45:16Z"}, {"modelId": "b7660db7-135c-4c95-ad8f-1aef264b5d48", + "status": "ready", "createdDateTime": "2020-03-15T20:10:10Z", "lastUpdatedDateTime": + "2020-03-15T20:12:10Z"}, {"modelId": "b7e2e66d-2f22-41ca-a6bb-57de0162a989", + "status": "ready", "createdDateTime": "2020-03-24T20:42:34Z", "lastUpdatedDateTime": + "2020-03-24T20:42:49Z"}, {"modelId": "b89d02b6-25de-45c5-b1b4-a9e0875dc74b", + "status": "ready", "createdDateTime": "2020-03-24T20:49:11Z", "lastUpdatedDateTime": + "2020-03-24T20:49:19Z"}, {"modelId": "b8ef57a5-bb47-45f9-a1b0-9c2a7f5d82b5", + "status": "ready", "createdDateTime": "2020-05-01T20:36:34Z", "lastUpdatedDateTime": + "2020-05-01T20:36:43Z"}, {"modelId": "ba866790-da14-4df5-b9c9-20bd8aa99a0a", + "status": "ready", "createdDateTime": "2020-03-19T01:46:22Z", "lastUpdatedDateTime": + "2020-03-19T01:48:21Z"}, {"modelId": "bab3feee-4a43-486d-952b-cc899f18f948", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:03Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - e46bb489-1131-4bb7-9d5e-e59409dc11a5 + content-length: + - '5840' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:19:03 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '194' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 6 seconds. Please contact Azure support service if you would like + to further increase the default rate limit."}}' + headers: + apim-request-id: + - 7eac2163-41b9-4fa2-90dd-dba5125138be + content-length: + - '358' + content-type: + - application/json + date: + - Wed, 03 Mar 2021 23:19:03 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + status: + code: 429 + message: Too Many Requests +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "bab3feee-4a43-486d-952b-cc899f18f948", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:03Z"}, {"modelId": "bab98a94-a8cc-42f9-8bae-fc961f765dce", + "status": "ready", "createdDateTime": "2020-04-09T18:24:06Z", "lastUpdatedDateTime": + "2020-04-09T18:24:16Z"}, {"modelId": "bb94db6a-107f-4d9b-adba-d1f137008bf7", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:44:11Z", "lastUpdatedDateTime": + "2020-08-11T20:44:21Z"}, {"modelId": "bc5f61cd-dc85-402e-98fc-92ce4e5bdb30", + "status": "invalid", "createdDateTime": "2020-03-15T19:24:02Z", "lastUpdatedDateTime": + "2020-03-15T19:24:03Z"}, {"modelId": "bd0e3e04-fded-400b-997b-22fd7d344904", + "status": "ready", "createdDateTime": "2020-03-27T22:52:51Z", "lastUpdatedDateTime": + "2020-03-27T22:52:58Z"}, {"modelId": "bd8e3b06-7a61-4029-a0e3-c4f58a363acc", + "status": "invalid", "createdDateTime": "2020-04-02T19:51:28Z", "lastUpdatedDateTime": + "2020-04-02T19:59:00Z"}, {"modelId": "bddfc2d3-1859-4ac6-be96-c015836bc990", + "status": "ready", "createdDateTime": "2020-08-20T20:40:47Z", "lastUpdatedDateTime": + "2020-08-20T20:40:56Z"}, {"modelId": "be5ecf2a-b609-4dd4-9f03-a0561d483732", + "status": "invalid", "createdDateTime": "2020-04-14T01:44:03Z", "lastUpdatedDateTime": + "2020-04-14T01:44:08Z"}, {"modelId": "bf01fd51-9fdd-4289-a9ed-e077dc5e1f7e", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:33:22Z", "lastUpdatedDateTime": + "2020-08-11T20:33:22Z"}, {"modelId": "bf50a011-2c92-4c97-8b76-957ea44195e1", + "status": "ready", "createdDateTime": "2020-11-20T17:55:12Z", "lastUpdatedDateTime": + "2020-11-20T17:55:28Z"}, {"modelId": "c2a8aee6-ae32-41a1-8237-95798af855d8", + "status": "ready", "createdDateTime": "2020-03-24T20:47:04Z", "lastUpdatedDateTime": + "2020-03-24T20:47:11Z"}, {"modelId": "c2b82463-0baf-4508-bc50-e65963c43d23", + "status": "ready", "createdDateTime": "2021-01-21T22:46:50Z", "lastUpdatedDateTime": + "2021-01-21T22:47:14Z"}, {"modelId": "c2fe85bf-a2c1-4348-9b95-c689a5b273f5", + "status": "ready", "createdDateTime": "2020-04-13T16:41:11Z", "lastUpdatedDateTime": + "2020-04-13T16:41:14Z"}, {"modelId": "c38e7455-34a5-4f9b-a22f-12899ccf5d09", + "status": "ready", "createdDateTime": "2020-04-21T00:11:48Z", "lastUpdatedDateTime": + "2020-04-21T00:11:51Z"}, {"modelId": "c454bdc0-0cbe-4db0-88c3-30693e1123f5", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-08-20T20:41:01Z", "lastUpdatedDateTime": "2020-08-20T20:41:04Z"}, {"modelId": + "c473728b-c3ca-4b7e-93af-662a8e17947d", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-19T18:56:03Z", "lastUpdatedDateTime": + "2021-02-19T18:56:06Z"}, {"modelId": "c4a20ce8-6e06-4c30-b47c-33b474c373ac", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-01-25T20:20:02Z", "lastUpdatedDateTime": "2021-01-25T20:20:04Z"}, + {"modelId": "c661f6da-23ef-4f24-a5ef-e91a14ef4a41", "status": "ready", "createdDateTime": + "2020-08-11T23:19:18Z", "lastUpdatedDateTime": "2020-08-11T23:19:36Z"}, {"modelId": + "c770d56d-79c6-4ccb-b89a-4552ec24056d", "status": "ready", "createdDateTime": + "2020-08-20T21:13:16Z", "lastUpdatedDateTime": "2020-08-20T21:13:25Z"}, {"modelId": + "c8bbf64a-9423-40a1-aac7-72922a6e4801", "status": "invalid", "createdDateTime": + "2020-04-09T18:35:14Z", "lastUpdatedDateTime": "2020-04-09T18:35:15Z"}, {"modelId": + "c9d22995-6965-4b36-8844-00c61879010a", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T19:15:03Z", "lastUpdatedDateTime": + "2021-02-26T19:15:03Z"}, {"modelId": "caac4b3b-23f1-4e53-a3e8-e3c234c79710", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-02-26T21:37:34Z", "lastUpdatedDateTime": "2021-02-26T21:37:38Z"}, + {"modelId": "cb325498-7a1d-4e2b-a80c-c98478231abc", "status": "ready", "createdDateTime": + "2020-04-02T16:20:38Z", "lastUpdatedDateTime": "2020-04-02T16:22:34Z"}, {"modelId": + "cbb86966-cad1-495e-911c-263e477615d1", "status": "ready", "createdDateTime": + "2020-04-10T18:01:12Z", "lastUpdatedDateTime": "2020-04-10T18:01:28Z"}, {"modelId": + "cbc91473-3054-4637-8ca8-967e11bab29a", "status": "invalid", "createdDateTime": + "2020-03-15T19:30:13Z", "lastUpdatedDateTime": "2020-03-15T19:30:14Z"}, {"modelId": + "ccbb04ae-bd77-4e74-9c97-3c39d754dc5d", "status": "ready", "createdDateTime": + "2021-01-21T18:09:35Z", "lastUpdatedDateTime": "2021-01-21T18:10:00Z"}, {"modelId": + "cd33f3fb-88e0-4180-9ce0-7710635d0050", "status": "ready", "createdDateTime": + "2020-04-02T19:46:59Z", "lastUpdatedDateTime": "2020-04-02T19:47:14Z"}, {"modelId": + "ce4cc78e-b084-4af3-b73d-944ec6592da4", "status": "ready", "createdDateTime": + "2020-11-20T18:01:24Z", "lastUpdatedDateTime": "2020-11-20T18:01:39Z"}, {"modelId": + "ce620645-036d-4c69-9601-87d80dd2e56f", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2020-11-20T17:55:57Z", "lastUpdatedDateTime": + "2020-11-20T17:55:59Z"}, {"modelId": "ce8a802c-1e9c-431d-af78-4bb9d368636b", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-01-21T18:14:22Z", "lastUpdatedDateTime": "2021-01-21T18:14:25Z"}, {"modelId": + "ce9a0d9d-1cc2-4c8d-84a0-adfea2a4b00c", "status": "invalid", "createdDateTime": + "2021-02-19T19:05:55Z", "lastUpdatedDateTime": "2021-02-19T19:05:55Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 5933c7cc-fb4e-4ce5-8c69-26d8477542d8 + content-length: + - '5560' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:19:09 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '147' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "ce9a0d9d-1cc2-4c8d-84a0-adfea2a4b00c", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:55Z", "lastUpdatedDateTime": + "2021-02-19T19:05:55Z"}, {"modelId": "cec2a4b0-2b5b-4058-bea7-7162870767fb", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T18:00:33Z", "lastUpdatedDateTime": "2020-11-20T18:00:35Z"}, {"modelId": + "cfdd8245-24b8-4b48-a1de-75731da6a869", "status": "ready", "createdDateTime": + "2020-11-20T17:57:04Z", "lastUpdatedDateTime": "2020-11-20T17:57:28Z"}, {"modelId": + "d02368e2-776b-4e8c-a252-4ffb09a3a2d6", "status": "ready", "createdDateTime": + "2020-04-05T22:13:49Z", "lastUpdatedDateTime": "2020-04-05T22:13:57Z"}, {"modelId": + "d0d94e15-dd9b-471c-8f5f-f5666728022c", "modelName": "my unlabeled model", + "status": "ready", "createdDateTime": "2021-01-22T02:10:08Z", "lastUpdatedDateTime": + "2021-01-22T02:10:23Z"}, {"modelId": "d132b434-376a-42c6-aa03-053bb112327f", + "status": "invalid", "createdDateTime": "2020-04-10T18:14:46Z", "lastUpdatedDateTime": + "2020-04-10T18:14:51Z"}, {"modelId": "d26a76b9-7ff5-4876-a421-433a5514d547", + "status": "ready", "createdDateTime": "2020-03-27T20:14:00Z", "lastUpdatedDateTime": + "2020-03-27T20:14:08Z"}, {"modelId": "d4357872-dce9-4fd3-841a-cee4b0daa3f6", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-19T18:56:00Z", + "lastUpdatedDateTime": "2021-02-19T18:56:00Z"}, {"modelId": "d5b6bb35-1af5-4a3c-9df1-afbe01325b37", + "status": "creating", "createdDateTime": "2020-05-29T16:22:52Z", "lastUpdatedDateTime": + "2020-05-29T16:22:52Z"}, {"modelId": "d719afdc-0ed9-453b-9249-9f5496c1f18b", + "status": "invalid", "createdDateTime": "2021-03-03T22:42:15Z", "lastUpdatedDateTime": + "2021-03-03T22:42:16Z"}, {"modelId": "d7baf796-3374-4102-808f-549e7b2bede3", + "status": "ready", "createdDateTime": "2020-03-16T22:36:18Z", "lastUpdatedDateTime": + "2020-03-16T22:38:16Z"}, {"modelId": "d7fa5a14-3b26-4d60-8a99-d4f2346c1fa2", + "status": "ready", "createdDateTime": "2021-02-19T19:05:57Z", "lastUpdatedDateTime": + "2021-02-19T19:06:27Z"}, {"modelId": "da242fae-bff0-4df3-a573-fb987c28680b", + "status": "ready", "createdDateTime": "2020-03-13T21:36:05Z", "lastUpdatedDateTime": + "2020-03-13T21:38:04Z"}, {"modelId": "dbed6e5d-b638-48dd-b70c-9495fa0b449f", + "status": "ready", "createdDateTime": "2020-03-16T22:51:48Z", "lastUpdatedDateTime": + "2020-03-16T22:52:06Z"}, {"modelId": "dbf56674-d90b-4a6c-8ec0-4e6fcebd282b", + "status": "ready", "createdDateTime": "2020-03-27T23:09:03Z", "lastUpdatedDateTime": + "2020-03-27T23:09:10Z"}, {"modelId": "dc8d5735-3f5a-4cdf-b02d-25af4466780f", + "status": "ready", "createdDateTime": "2020-04-02T00:23:48Z", "lastUpdatedDateTime": + "2020-04-02T00:25:50Z"}, {"modelId": "dd1e53c7-4dd3-4bc0-b17e-598b5b5bd2b5", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:09Z", "lastUpdatedDateTime": + "2021-02-19T19:01:10Z"}, {"modelId": "ddc69cde-4730-40c2-9426-51df12945713", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:07Z"}, {"modelId": "ddeddf4b-f082-44ad-8b42-b11d83e76113", + "status": "invalid", "createdDateTime": "2020-04-01T02:34:54Z", "lastUpdatedDateTime": + "2020-04-01T02:34:54Z"}, {"modelId": "ddf74a7a-9873-414c-bc88-f878022fa022", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:01Z", "lastUpdatedDateTime": + "2021-02-22T16:20:02Z"}, {"modelId": "de01a167-278d-4505-a49f-c79a8e1b3a36", + "status": "ready", "createdDateTime": "2020-03-16T22:26:23Z", "lastUpdatedDateTime": + "2020-03-16T22:28:23Z"}, {"modelId": "de49407c-685a-46aa-afad-5553f2ae05d9", + "status": "ready", "createdDateTime": "2020-04-02T00:26:05Z", "lastUpdatedDateTime": + "2020-04-02T00:28:05Z"}, {"modelId": "de58c08e-5f14-4db0-afd9-75615bbff0d2", + "status": "ready", "createdDateTime": "2020-04-02T16:51:56Z", "lastUpdatedDateTime": + "2020-04-02T16:53:52Z"}, {"modelId": "de92a78c-35bb-4aea-a9b1-62ec8f98fe03", + "status": "ready", "createdDateTime": "2020-03-27T20:17:58Z", "lastUpdatedDateTime": + "2020-03-27T20:18:05Z"}, {"modelId": "de92aa7f-7353-4e2b-a19b-bb37de3b3e8f", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-10-15T20:31:54Z", "lastUpdatedDateTime": "2020-10-15T20:31:57Z"}, {"modelId": + "dea616c5-7cce-4359-ae2a-7ef793cf77d8", "status": "ready", "createdDateTime": + "2020-04-13T16:40:33Z", "lastUpdatedDateTime": "2020-04-13T16:40:42Z"}, {"modelId": + "df5e4ab4-08cd-4e21-8a4f-ba0962023327", "status": "ready", "createdDateTime": + "2020-11-20T17:02:50Z", "lastUpdatedDateTime": "2020-11-20T17:03:05Z"}, {"modelId": + "dfd1e091-2bf5-48ba-9f57-a5b22786b622", "status": "ready", "createdDateTime": + "2020-04-01T23:22:11Z", "lastUpdatedDateTime": "2020-04-01T23:24:06Z"}, {"modelId": + "e072e2d3-04ce-44ce-9fbb-4d5ed06ca85f", "status": "invalid", "createdDateTime": + "2021-02-19T18:56:10Z", "lastUpdatedDateTime": "2021-02-19T18:56:11Z"}, {"modelId": + "e09252cb-4a52-4e90-b448-3f50077b8e38", "status": "creating", "createdDateTime": + "2021-02-19T19:06:23Z", "lastUpdatedDateTime": "2021-02-19T19:06:23Z"}, {"modelId": + "e167387b-a667-4784-9f41-b3f63dc378ed", "status": "ready", "createdDateTime": + "2020-03-20T00:22:58Z", "lastUpdatedDateTime": "2020-03-20T00:23:05Z"}, {"modelId": + "e2a0113e-0f8e-48d0-b67a-dcde86a914cd", "status": "ready", "createdDateTime": + "2020-11-20T17:57:47Z", "lastUpdatedDateTime": "2020-11-20T17:58:09Z"}, {"modelId": + "e2c172e6-2850-4df2-b2a6-07aba8a5ea91", "status": "ready", "createdDateTime": + "2020-04-13T16:49:51Z", "lastUpdatedDateTime": "2020-04-13T16:49:59Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - 17c9ec60-d5e5-4535-b7cc-cf32133b637a + content-length: + - '5595' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:19:09 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '175' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "e2c172e6-2850-4df2-b2a6-07aba8a5ea91", + "status": "ready", "createdDateTime": "2020-04-13T16:49:51Z", "lastUpdatedDateTime": + "2020-04-13T16:49:59Z"}, {"modelId": "e388d036-13f7-4374-af72-7aa7380108e7", + "status": "invalid", "createdDateTime": "2020-04-13T19:46:38Z", "lastUpdatedDateTime": + "2020-04-13T19:48:38Z"}, {"modelId": "e3eb7756-2c2b-4296-a9a0-a563b35d7ccb", + "status": "invalid", "createdDateTime": "2020-04-10T18:08:31Z", "lastUpdatedDateTime": + "2020-04-10T18:08:32Z"}, {"modelId": "e422873e-43c2-4f14-b557-0d775a5b037b", + "status": "invalid", "createdDateTime": "2021-02-19T18:55:57Z", "lastUpdatedDateTime": + "2021-02-19T18:55:58Z"}, {"modelId": "e461875d-77ca-421e-aa2b-8a787f5735ff", + "status": "ready", "createdDateTime": "2020-04-05T21:53:21Z", "lastUpdatedDateTime": + "2020-04-05T21:53:28Z"}, {"modelId": "e519f7e6-96e8-476b-b7a6-557f6f48bfaa", + "status": "invalid", "createdDateTime": "2020-04-09T18:17:31Z", "lastUpdatedDateTime": + "2020-04-09T18:17:31Z"}, {"modelId": "e5a2a123-af7a-4234-936a-d2ca9cd641c1", + "status": "ready", "createdDateTime": "2020-04-13T16:51:05Z", "lastUpdatedDateTime": + "2020-04-13T16:51:13Z"}, {"modelId": "e6417003-61c9-4de0-a889-3e0483a012fb", + "status": "invalid", "createdDateTime": "2021-03-03T21:17:31Z", "lastUpdatedDateTime": + "2021-03-03T21:17:32Z"}, {"modelId": "e6518ac6-6645-4cfd-9dd4-12df31de1eb4", + "status": "ready", "createdDateTime": "2020-03-19T22:16:55Z", "lastUpdatedDateTime": + "2020-03-19T22:18:55Z"}, {"modelId": "e6e06c93-42d4-49df-a506-d32ea982cd53", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:46Z", "lastUpdatedDateTime": + "2021-02-19T19:06:46Z"}, {"modelId": "e8c09d1b-d5b6-4a7e-a28e-9466f5679160", + "status": "ready", "createdDateTime": "2020-03-05T18:08:04Z", "lastUpdatedDateTime": + "2020-03-05T18:08:12Z"}, {"modelId": "e90ecd74-081f-4887-95c0-7002cefd4bdf", + "status": "invalid", "createdDateTime": "2020-03-19T22:08:57Z", "lastUpdatedDateTime": + "2020-03-19T22:08:58Z"}, {"modelId": "e95cef9a-c99b-411c-b39a-8af574dc5111", + "status": "ready", "createdDateTime": "2020-04-13T16:33:31Z", "lastUpdatedDateTime": + "2020-04-13T16:33:40Z"}, {"modelId": "e9d7df21-3ea9-4028-b13f-373c6a248aee", + "modelName": "firstcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T17:51:58Z", "lastUpdatedDateTime": + "2020-08-11T17:51:59Z"}, {"modelId": "ea24ba4a-8565-47cf-a5b6-752d717230bb", + "modelName": "my unlabeled model", "status": "ready", "createdDateTime": "2020-11-19T17:33:51Z", + "lastUpdatedDateTime": "2020-11-19T17:34:08Z"}, {"modelId": "eaaab65d-21f2-46c1-83b7-19b90415ecee", + "status": "ready", "createdDateTime": "2020-04-02T19:31:36Z", "lastUpdatedDateTime": + "2020-04-02T19:33:33Z"}, {"modelId": "eb5ff00f-b1d8-49c2-9958-fa1f4da9b629", + "status": "invalid", "createdDateTime": "2020-04-13T19:41:32Z", "lastUpdatedDateTime": + "2020-04-13T19:44:32Z"}, {"modelId": "ebc527e6-3243-4467-a72e-fe6892eb5216", + "status": "ready", "createdDateTime": "2020-03-15T19:31:47Z", "lastUpdatedDateTime": + "2020-03-15T19:33:47Z"}, {"modelId": "ebfde9f8-1278-4b81-ae76-14b96100d08d", + "status": "ready", "createdDateTime": "2020-04-13T16:41:08Z", "lastUpdatedDateTime": + "2020-04-13T16:41:22Z"}, {"modelId": "ec7345b4-6545-4b37-898a-56564505f6aa", + "status": "ready", "createdDateTime": "2020-03-16T22:25:28Z", "lastUpdatedDateTime": + "2020-03-16T22:27:25Z"}, {"modelId": "ed06d91f-96f8-4229-8896-644aa2ec76d9", + "status": "ready", "createdDateTime": "2020-03-19T22:21:33Z", "lastUpdatedDateTime": + "2020-03-19T22:21:40Z"}, {"modelId": "eed4b417-f6a5-4327-8707-20bdc4d82ffe", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2020-11-20T17:55:39Z", "lastUpdatedDateTime": "2020-11-20T17:55:42Z"}, + {"modelId": "eef0cf2f-0b15-46c1-8149-256cc57bdf71", "status": "ready", "createdDateTime": + "2020-03-20T00:22:11Z", "lastUpdatedDateTime": "2020-03-20T00:22:18Z"}, {"modelId": + "efd796a2-3362-41a2-849e-31609f91efcc", "status": "ready", "createdDateTime": + "2020-04-02T00:23:22Z", "lastUpdatedDateTime": "2020-04-02T00:25:24Z"}, {"modelId": + "f0f1400c-7fe3-42bb-8494-7a2c46716af5", "status": "invalid", "createdDateTime": + "2021-02-19T19:06:40Z", "lastUpdatedDateTime": "2021-02-19T19:06:41Z"}, {"modelId": + "f20de4fc-5ee9-4512-b124-d4d7556329c7", "status": "invalid", "createdDateTime": + "2021-02-19T19:06:35Z", "lastUpdatedDateTime": "2021-02-19T19:06:35Z"}, {"modelId": + "f296a007-a7bd-4206-bbbb-c5b88dd59c7d", "status": "invalid", "createdDateTime": + "2021-02-19T18:56:07Z", "lastUpdatedDateTime": "2021-02-19T18:56:07Z"}, {"modelId": + "f2e4f2ec-3571-4aef-836b-89ba255f50eb", "status": "invalid", "createdDateTime": + "2020-04-09T18:23:11Z", "lastUpdatedDateTime": "2020-04-09T18:23:11Z"}, {"modelId": + "f3023093-98d2-4e32-b496-b1470249649d", "status": "ready", "createdDateTime": + "2020-11-20T18:00:50Z", "lastUpdatedDateTime": "2020-11-20T18:01:08Z"}, {"modelId": + "f3691c75-c53b-4d1c-8618-1223d071ee9a", "status": "invalid", "createdDateTime": + "2021-02-25T19:41:51Z", "lastUpdatedDateTime": "2021-02-25T19:41:51Z"}, {"modelId": + "f3890bc0-50b9-4344-857a-f3defa8dafc1", "status": "ready", "createdDateTime": + "2020-04-01T23:29:45Z", "lastUpdatedDateTime": "2020-04-01T23:31:48Z"}, {"modelId": + "f39f66b2-69d9-4e38-bf5f-ba08450bbc01", "status": "ready", "createdDateTime": + "2020-04-13T16:42:32Z", "lastUpdatedDateTime": "2020-04-13T16:42:40Z"}, {"modelId": + "f3db1202-a69b-4ddb-84e5-80c9b5077197", "status": "invalid", "createdDateTime": + "2020-04-09T18:22:00Z", "lastUpdatedDateTime": "2020-04-09T18:22:01Z"}, {"modelId": + "f3dbfe5d-94e4-4953-b7fc-f185b606aee2", "status": "ready", "createdDateTime": + "2020-03-13T16:40:28Z", "lastUpdatedDateTime": "2020-03-13T16:40:45Z"}, {"modelId": + "f40282a5-c2b8-4383-86c1-7d64d498cc60", "status": "ready", "createdDateTime": + "2020-04-02T19:28:59Z", "lastUpdatedDateTime": "2020-04-02T19:30:59Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: + - fe8158e6-8050-4a2f-b042-81499c421199 + content-length: + - '5971' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:19:09 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '186' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 21 seconds. Please contact Azure support service if you would + like to further increase the default rate limit."}}' + headers: + apim-request-id: + - 66996118-39de-49c9-b9de-2603e315b2fa + content-length: + - '359' + content-type: + - application/json + date: + - Wed, 03 Mar 2021 23:19:09 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + status: + code: 429 + message: Too Many Requests +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "f409d651-6fe4-4fb9-a999-c35cd29eeac2", + "status": "invalid", "createdDateTime": "2021-03-03T22:30:05Z", "lastUpdatedDateTime": + "2021-03-03T22:30:06Z"}, {"modelId": "f47bb380-72a1-46ea-9a18-ab2449b18764", + "status": "invalid", "createdDateTime": "2021-02-19T18:55:59Z", "lastUpdatedDateTime": + "2021-02-19T18:55:59Z"}, {"modelId": "f5900931-ba09-4f92-904a-57666b5ca8cd", + "status": "invalid", "createdDateTime": "2020-04-01T02:30:51Z", "lastUpdatedDateTime": + "2020-04-01T02:30:53Z"}, {"modelId": "f5a2180b-341b-4410-889c-ae96b8a0d262", + "status": "ready", "createdDateTime": "2020-04-13T16:50:37Z", "lastUpdatedDateTime": + "2020-04-13T16:50:44Z"}, {"modelId": "f5d30229-3961-4553-a085-dab82f5c30c8", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:41:07Z", "lastUpdatedDateTime": + "2020-08-11T19:41:07Z"}, {"modelId": "f6124582-9fe1-46ab-a0b3-a9c84ebf5ec1", + "status": "ready", "createdDateTime": "2020-04-10T20:36:10Z", "lastUpdatedDateTime": + "2020-04-10T20:36:25Z"}, {"modelId": "f69db1c5-0480-4689-b393-f100f30efaac", + "status": "ready", "createdDateTime": "2020-04-02T20:47:54Z", "lastUpdatedDateTime": + "2020-04-02T20:49:48Z"}, {"modelId": "f6b91b15-e67b-4624-b585-c31c4671c33d", + "status": "ready", "createdDateTime": "2020-04-10T21:06:19Z", "lastUpdatedDateTime": + "2020-04-10T21:06:28Z"}, {"modelId": "f75b67df-e8ca-4406-815d-097046f8a4b7", + "status": "invalid", "createdDateTime": "2020-03-16T19:18:06Z", "lastUpdatedDateTime": + "2020-03-16T19:18:07Z"}, {"modelId": "f797ccfe-cbdd-4528-ab8c-b37924f72967", + "status": "invalid", "createdDateTime": "2020-03-05T18:22:08Z", "lastUpdatedDateTime": + "2020-03-05T18:22:08Z"}, {"modelId": "f83a8716-dfc4-4df5-be8b-2e7df43b7272", + "status": "invalid", "createdDateTime": "2020-04-09T18:28:33Z", "lastUpdatedDateTime": + "2020-04-09T18:28:35Z"}, {"modelId": "f8c3a2da-7d51-47f6-a6e0-3d8bbd823cc2", + "status": "ready", "createdDateTime": "2020-03-24T20:38:07Z", "lastUpdatedDateTime": + "2020-03-24T20:38:18Z"}, {"modelId": "f9afe989-cc62-4f3c-b9e0-b6a2923d4578", + "status": "ready", "createdDateTime": "2020-03-15T20:26:57Z", "lastUpdatedDateTime": + "2020-03-15T20:29:00Z"}, {"modelId": "fb3eeb7f-adef-4622-a137-dd17599f0f6b", + "status": "ready", "createdDateTime": "2020-04-02T17:27:49Z", "lastUpdatedDateTime": + "2020-04-02T17:29:45Z"}, {"modelId": "fbcdd5e6-475c-4361-a3fc-d3b43bb75de1", + "status": "invalid", "createdDateTime": "2021-03-03T22:24:53Z", "lastUpdatedDateTime": + "2021-03-03T22:24:54Z"}, {"modelId": "fc4fdcb2-0f84-49cb-b860-5e22cd17c44f", + "status": "ready", "createdDateTime": "2020-04-02T17:52:07Z", "lastUpdatedDateTime": + "2020-04-02T17:54:10Z"}, {"modelId": "fd3ba569-e24a-4342-a508-d9d58054a0e7", + "status": "invalid", "createdDateTime": "2021-03-01T21:11:26Z", "lastUpdatedDateTime": + "2021-03-01T21:11:26Z"}, {"modelId": "fd662a46-ee95-42b9-8fa2-bed6d1b29592", + "status": "ready", "createdDateTime": "2020-04-21T05:35:20Z", "lastUpdatedDateTime": + "2020-04-21T05:35:23Z"}, {"modelId": "fd744fab-3f7b-4ba5-a108-9a9b59ecc73b", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:01Z", "lastUpdatedDateTime": "2021-02-19T18:56:04Z"}, {"modelId": + "fddc5f4d-06da-4bac-b368-15522b733c73", "status": "ready", "createdDateTime": + "2020-03-05T18:10:41Z", "lastUpdatedDateTime": "2020-03-05T18:10:49Z"}, {"modelId": + "fe3b2759-5703-4bef-8300-e0cdd3fe45a2", "status": "ready", "createdDateTime": + "2020-04-10T20:39:48Z", "lastUpdatedDateTime": "2020-04-10T20:39:56Z"}, {"modelId": + "fe4858ef-b3f1-4ba0-ad54-8aa644564b75", "status": "ready", "createdDateTime": + "2020-11-19T18:02:49Z", "lastUpdatedDateTime": "2020-11-19T18:03:05Z"}, {"modelId": + "fe811743-1b2d-468e-898b-09234da8b3bc", "status": "ready", "createdDateTime": + "2020-03-16T16:00:29Z", "lastUpdatedDateTime": "2020-03-16T16:02:34Z"}], "nextLink": + ""}' + headers: + apim-request-id: + - 21a2207f-3526-4027-a5de-3a262476fec0 + content-length: + - '3688' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 03 Mar 2021 23:19:31 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '185' status: code: 200 message: OK @@ -250,19 +1754,19 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/04735689-16fa-4515-a2fa-5b1fd3ff244c + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/8fe0ebae-2829-407c-8361-bfdb264ec42d response: body: string: '' headers: apim-request-id: - - f863fe8a-5d9f-4b29-9d67-64fc9230235f + - dc96ab0f-a561-4963-a8d8-15550e90f394 content-length: - '0' date: - - Fri, 30 Oct 2020 01:19:34 GMT + - Wed, 03 Mar 2021 23:19:31 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: @@ -282,28 +1786,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/04735689-16fa-4515-a2fa-5b1fd3ff244c?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/8fe0ebae-2829-407c-8361-bfdb264ec42d?includeKeys=true response: body: - string: '{"error": {"code": "1022", "message": "Model with ''id=04735689-16fa-4515-a2fa-5b1fd3ff244c'' + string: '{"error": {"code": "1022", "message": "Model with ''id=8fe0ebae-2829-407c-8361-bfdb264ec42d'' not found."}}' headers: apim-request-id: - - dfd5ecd5-9ea6-477a-a6cd-6d14a8a83f91 + - fa101c95-1167-4699-8ed3-a1db0ff581b9 + content-length: + - '101' content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2020 01:19:34 GMT + - Wed, 03 Mar 2021 23:19:31 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '13' status: code: 404 message: Not Found diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_account_properties.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_account_properties.yaml index a30882e3a8ab..f92288b0d9bc 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_account_properties.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_account_properties.yaml @@ -5,22 +5,22 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=summary + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary response: body: - string: '{"summary": {"count": 0, "limit": 5000, "lastUpdatedDateTime": "2020-10-30T01:25:41Z"}}' + string: '{"summary": {"count": 412, "limit": 5000, "lastUpdatedDateTime": "2021-03-03T23:09:56Z"}}' headers: - apim-request-id: 6df7d902-f0ff-4f49-876d-bd6a01732886 + apim-request-id: 40236437-c4a5-411f-9fd8-c61e7e5c323e + content-length: '83' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:25:40 GMT + date: Wed, 03 Mar 2021 23:09:56 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '102' + x-envoy-upstream-service-time: '35' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models?op=summary + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_account_properties_auth_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_account_properties_auth_bad_key.yaml index 6c16b6cf3b4a..db8f3f5f934e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_account_properties_auth_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_account_properties_auth_bad_key.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=summary + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -15,9 +15,9 @@ interactions: an active subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Fri, 30 Oct 2020 01:25:41 GMT + date: Wed, 03 Mar 2021 23:09:56 GMT status: code: 401 message: PermissionDenied - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models?op=summary + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_delete_model_auth_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_delete_model_auth_bad_key.yaml index 5e9b5291c258..d86027d8c243 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_delete_model_auth_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_delete_model_auth_bad_key.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/xx + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/xx response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -15,9 +15,9 @@ interactions: an active subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Fri, 30 Oct 2020 01:25:48 GMT + date: Wed, 03 Mar 2021 23:09:56 GMT status: code: 401 message: PermissionDenied - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models/xx + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/xx version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_get_form_recognizer_client.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_get_form_recognizer_client.yaml index 6580d50c7ec1..268926c51e48 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_get_form_recognizer_client.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_get_form_recognizer_client.yaml @@ -5,74 +5,74 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=summary + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary response: body: - string: '{"summary": {"count": 0, "limit": 5000, "lastUpdatedDateTime": "2020-11-11T20:29:28Z"}}' + string: '{"summary": {"count": 412, "limit": 5000, "lastUpdatedDateTime": "2021-03-03T23:09:57Z"}}' headers: - apim-request-id: 2d26b289-ea15-41d0-96bb-e73f61845a20 - content-length: '81' + apim-request-id: 54094d25-dee5-4e24-866f-cff7c133cda3 + content-length: '83' content-type: application/json; charset=utf-8 - date: Wed, 11 Nov 2020 20:29:28 GMT + date: Wed, 03 Mar 2021 23:09:56 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '43' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models?op=summary + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary - request: - body: 'b''{"source": "https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/tests/sample_forms/receipt/contoso-allinone.jpg"}''' + body: 'b''{"source": "blob_sas_url"}''' headers: Accept: - application/json Content-Length: - - '172' + - '223' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: 8939c453-b904-43e5-9429-67f0c5d34455 + apim-request-id: f3b11f37-b2bb-4038-b4ab-c3d8b0569224 content-length: '0' - date: Wed, 11 Nov 2020 20:29:29 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/8939c453-b904-43e5-9429-67f0c5d34455 + date: Wed, 03 Mar 2021 23:09:57 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/f3b11f37-b2bb-4038-b4ab-c3d8b0569224 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '755' + x-envoy-upstream-service-time: '660' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=summary + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary response: body: - string: '{"summary": {"count": 0, "limit": 5000, "lastUpdatedDateTime": "2020-11-11T20:29:29Z"}}' + string: '{"summary": {"count": 412, "limit": 5000, "lastUpdatedDateTime": "2021-03-03T23:09:58Z"}}' headers: - apim-request-id: 3608a6b7-2b9c-4a50-92d4-dfc937bff403 - content-length: '81' + apim-request-id: a686157e-b7e3-4050-b980-b8559d5dc3a5 + content-length: '83' content-type: application/json; charset=utf-8 - date: Wed, 11 Nov 2020 20:29:29 GMT + date: Wed, 03 Mar 2021 23:09:57 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '35' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models?op=summary + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=summary version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_get_model_auth_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_get_model_auth_bad_key.yaml index e7a7bdb135c4..addaea819074 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_get_model_auth_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_get_model_auth_bad_key.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/xx?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/xx?includeKeys=true response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -15,9 +15,9 @@ interactions: an active subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Fri, 30 Oct 2020 01:25:48 GMT + date: Wed, 03 Mar 2021 23:09:57 GMT status: code: 401 message: PermissionDenied - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models/xx?includeKeys=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/xx?includeKeys=true version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_list_model_auth_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_list_model_auth_bad_key.yaml index 16de0529a76a..6eb9ad10b995 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_list_model_auth_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_list_model_auth_bad_key.yaml @@ -5,9 +5,9 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=full + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=full response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -15,9 +15,9 @@ interactions: an active subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Fri, 30 Oct 2020 01:25:49 GMT + date: Wed, 03 Mar 2021 23:09:58 GMT status: code: 401 message: PermissionDenied - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models?op=full + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=full version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_mgmt_model_labeled.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_mgmt_model_labeled.yaml index c652c62401b7..c4f0b4c1c834 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_mgmt_model_labeled.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_mgmt_model_labeled.yaml @@ -1,184 +1,2002 @@ interactions: - request: - body: 'b''{"source": "containersasurl", "sourceFilter": {"prefix": "", "includeSubFolders": + body: 'b''{"source": "container_sas_url", "sourceFilter": {"prefix": "", "includeSubFolders": false}, "useLabelFile": true}''' headers: Accept: - application/json Content-Length: - - '287' + - '283' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models response: body: string: '' headers: - apim-request-id: b2f2c1a8-b5a9-4394-836c-8efc2e5d565c + apim-request-id: a522fed8-6009-48a5-bfcb-b73b1f5c22eb content-length: '0' - date: Fri, 30 Oct 2020 01:25:49 GMT - location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/8a53846f-af9d-423b-bcb8-0b0abc3bb410 + date: Wed, 03 Mar 2021 23:10:03 GMT + location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '43' + x-envoy-upstream-service-time: '4229' status: code: 201 message: Created - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/8a53846f-af9d-423b-bcb8-0b0abc3bb410?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "8a53846f-af9d-423b-bcb8-0b0abc3bb410", "attributes": - {"isComposed": false}, "status": "ready", "createdDateTime": "2020-10-30T01:25:49Z", - "lastUpdatedDateTime": "2020-10-30T01:25:51Z"}, "trainResult": {"averageModelAccuracy": + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 2b04b6ba-5c3d-47b4-a341-07d03cddf3a8 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:07 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '19' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 0bf311d1-214f-4751-a57f-4767113b84ae + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:12 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '13' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 34905302-886d-45e0-ad7d-36f9f1444778 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:18 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '12' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 9c0a6719-6741-4555-a3f7-c66799db66c7 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: a8e2cf58-aa99-465b-bdbb-96b31ed54791 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:28 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 57c5e1b2-8056-46eb-a944-d5adb56cbe3f + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: af9140c1-e323-4454-bf3b-c2997356856f + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:38 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '77' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: f3ad0912-f961-44b8-a823-ff8bb9c244aa + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:43 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '16' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 824d4a51-8b3e-431c-aaff-defbccb0df59 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:48 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '15' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: e24b93db-39c1-4503-b301-72339d58a13a + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:54 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '13' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: b3eca23c-b0c7-43fd-85b6-70a717b3f4e9 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:10:58 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: e72ec160-8475-48f9-a3c5-75afbdad3ef0 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:04 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 7ae9a699-190c-4b79-b9f2-e7fd1c8cc5ed + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:09 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '16' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: d28f4f0c-242b-4115-b3c6-ff3a2a713699 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '12' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: aab8a996-82fc-4802-80a2-485c372c61fa + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:18 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '12' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 64b84e39-84ed-482d-ae44-d1af1d6f9cf9 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:24 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '16' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 12d33070-6b12-40db-b633-73cfe424bce3 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:30 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '15' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: f22d6162-7a55-4c3c-8bb0-fd9e6949a383 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:35 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 209a6bd3-818f-4df3-b30a-42117fdc68ad + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 4449b2c4-2e45-4826-8188-7c7e9e8a9066 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:45 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 0032c566-1026-4a3f-b3f0-418c03ba3668 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:50 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 1b41d7e4-5e44-47eb-b5ff-e3bb88db132e + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:11:55 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '13' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 2e99d555-6b36-4214-926d-298db38118c7 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:00 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '12' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 09c958d4-d142-4261-8ece-d19187ceb7cc + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:04 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: fbaf9cba-8a50-4fc7-9a12-c4884e3c2533 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:10 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '13' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "status": + "creating", "createdDateTime": "2021-03-03T23:10:03Z", "lastUpdatedDateTime": + "2021-03-03T23:10:03Z"}}' + headers: + apim-request-id: 61cb89c1-0899-45fb-b21e-5936ea71bf55 + content-length: '170' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:15 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true + response: + body: + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-03-03T23:10:03Z", + "lastUpdatedDateTime": "2021-03-03T23:12:18Z"}, "trainResult": {"averageModelAccuracy": 0.96, "trainingDocuments": [{"documentName": "Form_1.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_2.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_3.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_4.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_5.jpg", "pages": 1, "status": "succeeded"}], "fields": [{"fieldName": "CompanyAddress", - "accuracy": 0.8}, {"fieldName": "CompanyName", "accuracy": 1.0}, {"fieldName": - "CompanyPhoneNumber", "accuracy": 1.0}, {"fieldName": "DatedAs", "accuracy": - 1.0}, {"fieldName": "Email", "accuracy": 0.8}, {"fieldName": "Merchant", "accuracy": - 1.0}, {"fieldName": "PhoneNumber", "accuracy": 1.0}, {"fieldName": "PurchaseOrderNumber", - "accuracy": 1.0}, {"fieldName": "Quantity", "accuracy": 1.0}, {"fieldName": - "Signature", "accuracy": 0.8}, {"fieldName": "Subtotal", "accuracy": 1.0}, - {"fieldName": "Tax", "accuracy": 1.0}, {"fieldName": "Total", "accuracy": - 1.0}, {"fieldName": "VendorName", "accuracy": 1.0}, {"fieldName": "Website", - "accuracy": 1.0}], "errors": []}}' + "accuracy": 0.8}, {"fieldName": "CompanyName", "accuracy": 0.995}, {"fieldName": + "CompanyPhoneNumber", "accuracy": 0.995}, {"fieldName": "DatedAs", "accuracy": + 0.995}, {"fieldName": "Email", "accuracy": 0.8}, {"fieldName": "Merchant", + "accuracy": 0.995}, {"fieldName": "PhoneNumber", "accuracy": 0.995}, {"fieldName": + "PurchaseOrderNumber", "accuracy": 0.995}, {"fieldName": "Quantity", "accuracy": + 0.995}, {"fieldName": "Signature", "accuracy": 0.8}, {"fieldName": "Subtotal", + "accuracy": 0.995}, {"fieldName": "Tax", "accuracy": 0.995}, {"fieldName": + "Total", "accuracy": 0.995}, {"fieldName": "VendorName", "accuracy": 0.995}, + {"fieldName": "Website", "accuracy": 0.995}], "errors": []}}' headers: - apim-request-id: 8fead920-a53c-4589-96ae-2adaec0bd741 + apim-request-id: ceac822b-ac98-4f8c-a3a3-e801c83b85c0 + content-length: '1242' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:25:54 GMT + date: Wed, 03 Mar 2021 23:12:20 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '151' + x-envoy-upstream-service-time: '13' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/8a53846f-af9d-423b-bcb8-0b0abc3bb410?includeKeys=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/8a53846f-af9d-423b-bcb8-0b0abc3bb410?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "8a53846f-af9d-423b-bcb8-0b0abc3bb410", "attributes": - {"isComposed": false}, "status": "ready", "createdDateTime": "2020-10-30T01:25:49Z", - "lastUpdatedDateTime": "2020-10-30T01:25:51Z"}, "trainResult": {"averageModelAccuracy": + string: '{"modelInfo": {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-03-03T23:10:03Z", + "lastUpdatedDateTime": "2021-03-03T23:12:18Z"}, "trainResult": {"averageModelAccuracy": 0.96, "trainingDocuments": [{"documentName": "Form_1.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_2.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_3.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_4.jpg", "pages": 1, "status": "succeeded"}, {"documentName": "Form_5.jpg", "pages": 1, "status": "succeeded"}], "fields": [{"fieldName": "CompanyAddress", - "accuracy": 0.8}, {"fieldName": "CompanyName", "accuracy": 1.0}, {"fieldName": - "CompanyPhoneNumber", "accuracy": 1.0}, {"fieldName": "DatedAs", "accuracy": - 1.0}, {"fieldName": "Email", "accuracy": 0.8}, {"fieldName": "Merchant", "accuracy": - 1.0}, {"fieldName": "PhoneNumber", "accuracy": 1.0}, {"fieldName": "PurchaseOrderNumber", - "accuracy": 1.0}, {"fieldName": "Quantity", "accuracy": 1.0}, {"fieldName": - "Signature", "accuracy": 0.8}, {"fieldName": "Subtotal", "accuracy": 1.0}, - {"fieldName": "Tax", "accuracy": 1.0}, {"fieldName": "Total", "accuracy": - 1.0}, {"fieldName": "VendorName", "accuracy": 1.0}, {"fieldName": "Website", - "accuracy": 1.0}], "errors": []}}' + "accuracy": 0.8}, {"fieldName": "CompanyName", "accuracy": 0.995}, {"fieldName": + "CompanyPhoneNumber", "accuracy": 0.995}, {"fieldName": "DatedAs", "accuracy": + 0.995}, {"fieldName": "Email", "accuracy": 0.8}, {"fieldName": "Merchant", + "accuracy": 0.995}, {"fieldName": "PhoneNumber", "accuracy": 0.995}, {"fieldName": + "PurchaseOrderNumber", "accuracy": 0.995}, {"fieldName": "Quantity", "accuracy": + 0.995}, {"fieldName": "Signature", "accuracy": 0.8}, {"fieldName": "Subtotal", + "accuracy": 0.995}, {"fieldName": "Tax", "accuracy": 0.995}, {"fieldName": + "Total", "accuracy": 0.995}, {"fieldName": "VendorName", "accuracy": 0.995}, + {"fieldName": "Website", "accuracy": 0.995}], "errors": []}}' + headers: + apim-request-id: 198d3ce3-a817-46c2-862a-2d9b8857003d + content-length: '1242' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:20 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=full + response: + body: + string: '{"modelList": [{"modelId": "027cae79-768f-4ecd-8376-cfdcfe86b6dc", + "status": "invalid", "createdDateTime": "2021-03-03T22:17:25Z", "lastUpdatedDateTime": + "2021-03-03T22:17:25Z"}, {"modelId": "0349ec84-1570-43cf-be3c-ce753fdfb98f", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:47Z", "lastUpdatedDateTime": "2020-11-20T17:56:50Z"}, {"modelId": + "03608263-829e-41b3-a080-f471c165809b", "status": "ready", "createdDateTime": + "2020-04-02T01:35:33Z", "lastUpdatedDateTime": "2020-04-02T01:37:36Z"}, {"modelId": + "046720f8-2956-4b31-9153-915048e815e5", "modelName": "model1", "status": "invalid", + "createdDateTime": "2021-02-19T19:06:57Z", "lastUpdatedDateTime": "2021-02-19T19:06:58Z"}, + {"modelId": "05cfe98b-5315-4de8-bbf0-cbc97aa05857", "attributes": {"isComposed": + false}, "status": "ready", "createdDateTime": "2021-02-19T19:05:57Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "05d8dd77-177c-4f27-ab8e-53d5f6856d4c", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-25T15:54:54Z", + "lastUpdatedDateTime": "2021-02-25T15:54:57Z"}, {"modelId": "06250af1-6a8f-4f6d-8432-4964338e0033", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-19T18:08:35Z", + "lastUpdatedDateTime": "2020-11-19T18:08:51Z"}, {"modelId": "06829eaa-56f7-42c2-8c48-0060e58a7c47", + "status": "ready", "createdDateTime": "2020-04-02T17:48:45Z", "lastUpdatedDateTime": + "2020-04-02T17:50:46Z"}, {"modelId": "07a9d365-0629-4b5c-b913-6dd3e1f2e617", + "status": "invalid", "createdDateTime": "2020-04-09T18:19:12Z", "lastUpdatedDateTime": + "2020-04-09T18:19:12Z"}, {"modelId": "08d21ef4-e9c4-425b-a22e-e5070ecd04b8", + "status": "ready", "createdDateTime": "2020-04-20T19:50:17Z", "lastUpdatedDateTime": + "2020-04-20T19:50:24Z"}, {"modelId": "09a6923d-425d-49f6-a967-6cb78a718b10", + "status": "ready", "createdDateTime": "2020-04-02T19:06:24Z", "lastUpdatedDateTime": + "2020-04-02T19:08:26Z"}, {"modelId": "0a0a321b-5a0a-40c7-8178-88d478aa8bc8", + "status": "ready", "createdDateTime": "2020-03-12T22:35:52Z", "lastUpdatedDateTime": + "2020-03-12T22:36:04Z"}, {"modelId": "0a9f53c0-6a42-43a9-aec1-8f897d23a2e0", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:36:47Z", "lastUpdatedDateTime": + "2020-08-11T19:36:47Z"}, {"modelId": "0af45f1a-2639-4cce-aaa8-d522088af823", + "status": "invalid", "createdDateTime": "2021-03-03T22:51:37Z", "lastUpdatedDateTime": + "2021-03-03T22:51:37Z"}, {"modelId": "0b4e3b6f-e257-4bea-8fbe-f1a36cbb9c34", + "status": "ready", "createdDateTime": "2020-11-19T17:16:30Z", "lastUpdatedDateTime": + "2020-11-19T17:16:46Z"}, {"modelId": "0bbb06e5-027d-4852-ba03-34c210a8b37d", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:23Z", "lastUpdatedDateTime": + "2021-02-19T19:06:24Z"}, {"modelId": "0c23fe9c-8c37-496d-a730-b4345d98efa1", + "status": "invalid", "createdDateTime": "2020-04-01T01:39:24Z", "lastUpdatedDateTime": + "2020-04-01T01:39:25Z"}, {"modelId": "0c253e30-4d5d-4eb3-a511-9954117b2ad6", + "status": "ready", "createdDateTime": "2020-04-06T21:51:35Z", "lastUpdatedDateTime": + "2020-04-06T21:51:37Z"}, {"modelId": "0c262f88-6b96-463a-b117-c8c05b1f283a", + "status": "ready", "createdDateTime": "2020-04-13T16:51:25Z", "lastUpdatedDateTime": + "2020-04-13T16:51:28Z"}, {"modelId": "0c751614-bf54-485d-a7e3-bdeae944cacf", + "modelName": "mymodel", "status": "invalid", "createdDateTime": "2021-02-19T19:07:03Z", + "lastUpdatedDateTime": "2021-02-19T19:07:03Z"}, {"modelId": "0cd58150-a8ab-4dc6-b6c4-c38fb3cb4a72", + "status": "creating", "createdDateTime": "2020-05-29T16:04:30Z", "lastUpdatedDateTime": + "2020-05-29T16:04:30Z"}, {"modelId": "0d90db32-948c-48b6-a0b6-d55aceea3f1b", + "status": "invalid", "createdDateTime": "2020-04-02T22:12:27Z", "lastUpdatedDateTime": + "2020-04-02T22:12:28Z"}, {"modelId": "0d983956-58a2-4eb9-88cd-b21babb53b81", + "status": "ready", "createdDateTime": "2020-04-02T01:43:12Z", "lastUpdatedDateTime": + "2020-04-02T01:45:12Z"}, {"modelId": "0fa1a763-9fca-4b2c-a836-2c735bfc04e1", + "status": "ready", "createdDateTime": "2020-11-19T21:19:07Z", "lastUpdatedDateTime": + "2020-11-19T21:19:23Z"}, {"modelId": "1032c1fb-d21e-4a62-b243-81b566d14cd4", + "status": "ready", "createdDateTime": "2021-02-19T19:05:58Z", "lastUpdatedDateTime": + "2021-02-19T19:06:27Z"}, {"modelId": "103f3d33-52a4-44f9-ace9-f02af6d9ba05", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:15:44Z", "lastUpdatedDateTime": + "2020-08-11T19:15:49Z"}, {"modelId": "11035dc7-1d65-4854-8448-6b398400ad76", + "modelName": "unlabeled", "status": "invalid", "createdDateTime": "2021-02-26T20:14:56Z", + "lastUpdatedDateTime": "2021-02-26T20:14:56Z"}, {"modelId": "11e430a0-6d91-415d-9d55-0a5e85caeb03", + "status": "ready", "createdDateTime": "2020-04-21T05:31:24Z", "lastUpdatedDateTime": + "2020-04-21T05:31:32Z"}, {"modelId": "11fbb12b-08ba-4366-81a6-201e2ad5e7b2", + "status": "ready", "createdDateTime": "2021-02-19T18:56:02Z", "lastUpdatedDateTime": + "2021-02-19T18:56:29Z"}, {"modelId": "121189b0-b26b-4993-8043-1c5edb12bea9", + "status": "invalid", "createdDateTime": "2021-03-03T20:09:55Z", "lastUpdatedDateTime": + "2021-03-03T20:09:55Z"}, {"modelId": "128f86f1-8257-42c2-acf0-151eca2f42ec", + "status": "ready", "createdDateTime": "2020-04-13T17:42:23Z", "lastUpdatedDateTime": + "2020-04-13T17:42:31Z"}, {"modelId": "13bac5a8-dc61-4ab2-b523-14afcdaff04b", + "status": "invalid", "createdDateTime": "2021-03-03T22:26:07Z", "lastUpdatedDateTime": + "2021-03-03T22:26:07Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!212!MDAwMTEzIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzEzYmFjNWE4LWRjNjEtNGFiMi1iNTIzLTE0YWZjZGFmZjA0Yi92ZXJzaW9uLXYyLjEtcHJldmlldy4zITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ--"}' + headers: + apim-request-id: 6e3b6474-c0ea-42de-a07a-39a0881c504d + content-length: '5642' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '180' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=full +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!212!MDAwMTEzIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzEzYmFjNWE4LWRjNjEtNGFiMi1iNTIzLTE0YWZjZGFmZjA0Yi92ZXJzaW9uLXYyLjEtcHJldmlldy4zITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ-- + response: + body: + string: '{"modelList": [{"modelId": "13bac5a8-dc61-4ab2-b523-14afcdaff04b", + "status": "invalid", "createdDateTime": "2021-03-03T22:26:07Z", "lastUpdatedDateTime": + "2021-03-03T22:26:07Z"}, {"modelId": "1407631e-cce1-49fc-8868-2bc95932c157", + "status": "ready", "createdDateTime": "2020-03-27T20:11:07Z", "lastUpdatedDateTime": + "2020-03-27T20:11:15Z"}, {"modelId": "15f25afa-b250-4d26-b375-f05aa70e3278", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T21:55:29Z", "lastUpdatedDateTime": + "2020-08-11T21:55:29Z"}, {"modelId": "16e581dd-4947-439c-9b19-411ef7734700", + "status": "ready", "createdDateTime": "2020-04-10T20:45:47Z", "lastUpdatedDateTime": + "2020-04-10T20:45:56Z"}, {"modelId": "178c93a0-c522-4862-a8c8-57ef873c6168", + "status": "ready", "createdDateTime": "2020-03-05T18:25:03Z", "lastUpdatedDateTime": + "2020-03-05T18:25:05Z"}, {"modelId": "18066853-86a6-410a-991d-4ce0312df101", + "status": "invalid", "createdDateTime": "2020-04-10T18:09:23Z", "lastUpdatedDateTime": + "2020-04-10T18:09:24Z"}, {"modelId": "180a64b8-d1da-4b03-8822-6f1bbf10682c", + "status": "ready", "createdDateTime": "2020-03-30T21:16:27Z", "lastUpdatedDateTime": + "2020-03-30T21:18:28Z"}, {"modelId": "1925120a-534b-4978-9fa7-79e9d0968200", + "status": "invalid", "createdDateTime": "2020-04-02T19:59:19Z", "lastUpdatedDateTime": + "2020-04-02T19:59:19Z"}, {"modelId": "1b18185c-90f8-4416-b9a4-de734b8a3cbd", + "status": "creating", "createdDateTime": "2020-07-02T19:29:54Z", "lastUpdatedDateTime": + "2020-07-02T19:29:54Z"}, {"modelId": "1b9f130b-e3c1-4b11-8c38-e6b42f0cceaf", + "status": "invalid", "createdDateTime": "2021-03-03T20:09:49Z", "lastUpdatedDateTime": + "2021-03-03T20:09:50Z"}, {"modelId": "1be78ab6-f6b1-40d1-a92e-c248b6fd8beb", + "status": "invalid", "createdDateTime": "2021-03-03T21:50:30Z", "lastUpdatedDateTime": + "2021-03-03T21:50:30Z"}, {"modelId": "1d9dcd3e-d60d-4e77-8982-14a34c43aed8", + "status": "ready", "createdDateTime": "2020-04-10T16:56:22Z", "lastUpdatedDateTime": + "2020-04-10T16:56:31Z"}, {"modelId": "1e44c0b5-7549-4344-8f09-7cee4e2fb7f2", + "status": "ready", "createdDateTime": "2020-04-02T19:11:08Z", "lastUpdatedDateTime": + "2020-04-02T19:13:12Z"}, {"modelId": "1e48d82a-91d9-4b03-84cb-e980475bec0c", + "status": "invalid", "createdDateTime": "2020-04-01T17:38:00Z", "lastUpdatedDateTime": + "2020-04-01T17:38:01Z"}, {"modelId": "1ea71d96-9a89-48a5-bd1f-9c08c7bef5b4", + "status": "invalid", "createdDateTime": "2021-03-01T21:15:25Z", "lastUpdatedDateTime": + "2021-03-01T21:15:25Z"}, {"modelId": "1f12f046-941f-4a1c-9c55-df6070c2a0a3", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:46:07Z", "lastUpdatedDateTime": + "2020-08-11T19:46:07Z"}, {"modelId": "20229c83-bb46-4e83-8175-cd6814e564b5", + "status": "invalid", "createdDateTime": "2020-04-02T19:41:06Z", "lastUpdatedDateTime": + "2020-04-02T19:42:07Z"}, {"modelId": "20741f36-3cbc-43e3-9198-973bcf810e38", + "status": "ready", "createdDateTime": "2020-04-02T19:09:18Z", "lastUpdatedDateTime": + "2020-04-02T19:11:22Z"}, {"modelId": "217ac7d5-09a9-428c-9e71-c2936c3758cc", + "status": "invalid", "createdDateTime": "2021-03-03T22:17:31Z", "lastUpdatedDateTime": + "2021-03-03T22:17:31Z"}, {"modelId": "21a7199f-527b-44a5-9e53-40df23e817b8", + "status": "invalid", "createdDateTime": "2021-03-03T21:43:09Z", "lastUpdatedDateTime": + "2021-03-03T21:43:10Z"}, {"modelId": "229dc8b9-574f-4fb3-9130-47c6ba79966e", + "status": "ready", "createdDateTime": "2020-04-01T23:25:34Z", "lastUpdatedDateTime": + "2020-04-01T23:27:36Z"}, {"modelId": "2374f501-67ac-450b-be23-4d12b300940a", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-03-01T16:04:55Z", + "lastUpdatedDateTime": "2021-03-01T16:04:56Z"}, {"modelId": "24bd010b-0f58-4808-854f-ae18d69a097e", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:01Z", "lastUpdatedDateTime": + "2021-02-19T18:56:02Z"}, {"modelId": "252f2c01-3305-4ef1-a625-2eed6f43d08a", + "status": "ready", "createdDateTime": "2020-04-01T23:01:25Z", "lastUpdatedDateTime": + "2020-04-01T23:03:25Z"}, {"modelId": "2598bc24-2d79-475e-a44a-351251d544c7", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "25d83018-a1d1-42ea-aaab-db80101e72f0", + "status": "invalid", "createdDateTime": "2021-03-01T21:12:29Z", "lastUpdatedDateTime": + "2021-03-01T21:12:30Z"}, {"modelId": "27533222-4f99-41e2-bd54-b3598918639e", + "status": "ready", "createdDateTime": "2020-11-19T21:37:41Z", "lastUpdatedDateTime": + "2020-11-19T21:38:18Z"}, {"modelId": "293a38ba-6fb2-424f-8290-4b0bbe73e820", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-26T18:54:00Z", + "lastUpdatedDateTime": "2021-02-26T18:54:51Z"}, {"modelId": "297766a7-8028-4548-83bd-c4af696fa9c4", + "status": "ready", "createdDateTime": "2020-03-19T22:15:58Z", "lastUpdatedDateTime": + "2020-03-19T22:16:15Z"}, {"modelId": "2b84f4f2-a0d2-4e31-8c4b-4c102f521e59", + "status": "ready", "createdDateTime": "2020-04-05T22:26:42Z", "lastUpdatedDateTime": + "2020-04-05T22:26:49Z"}, {"modelId": "2c1aee9f-c495-4412-aa51-b7e9dad2681c", + "status": "invalid", "createdDateTime": "2021-03-03T21:21:07Z", "lastUpdatedDateTime": + "2021-03-03T21:21:08Z"}, {"modelId": "2c2d9b81-1166-4dfc-b2c6-f5f40523887c", + "status": "invalid", "createdDateTime": "2020-03-16T19:18:56Z", "lastUpdatedDateTime": + "2020-03-16T19:18:57Z"}, {"modelId": "2c47ef69-7c97-4291-86f0-158d9eb82e3b", + "modelName": "mymodel", "status": "invalid", "createdDateTime": "2021-02-19T19:07:09Z", + "lastUpdatedDateTime": "2021-02-19T19:07:09Z"}, {"modelId": "2c8d5479-1486-4557-a41c-10aac7e30cad", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "2de6a454-2901-4b2b-82cf-ae7dcf9f8231", + "status": "invalid", "createdDateTime": "2020-03-05T18:05:36Z", "lastUpdatedDateTime": + "2020-03-05T18:05:39Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzJlMzJiYWNjLWRhZWMtNGVlMS04OTZlLTUyMWJiODBiMzg3Yy8yZTMyYmFjYy1kYWVjLTRlZTEtODk2ZS01MjFiYjgwYjM4N2MuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 9f4c7c35-4e1d-464d-8495-57e1d43fb74f + content-length: '6027' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '264' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!212!MDAwMTEzIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzEzYmFjNWE4LWRjNjEtNGFiMi1iNTIzLTE0YWZjZGFmZjA0Yi92ZXJzaW9uLXYyLjEtcHJldmlldy4zITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ-- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzJlMzJiYWNjLWRhZWMtNGVlMS04OTZlLTUyMWJiODBiMzg3Yy8yZTMyYmFjYy1kYWVjLTRlZTEtODk2ZS01MjFiYjgwYjM4N2MuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "2e32bacc-daec-4ee1-896e-521bb80b387c", + "status": "creating", "createdDateTime": "2020-05-20T00:03:01Z", "lastUpdatedDateTime": + "2020-05-20T00:03:01Z"}, {"modelId": "2fb69599-fb4b-4e48-81f5-80fec8cbd40e", + "status": "invalid", "createdDateTime": "2021-03-03T22:19:03Z", "lastUpdatedDateTime": + "2021-03-03T22:19:04Z"}, {"modelId": "30e01d7e-fc14-4894-b325-ff9c2c299dee", + "status": "ready", "createdDateTime": "2020-11-19T18:06:01Z", "lastUpdatedDateTime": + "2020-11-19T18:06:18Z"}, {"modelId": "319704f8-f5e0-4b80-a94a-4a37c7bd45c1", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "31c62d2e-aaea-4ce2-b63f-e7ca4ca219df", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:02Z", "lastUpdatedDateTime": + "2021-02-22T16:20:19Z"}, {"modelId": "31f7c2b6-6e4f-45db-ae54-7be3492141ee", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:03Z", "lastUpdatedDateTime": + "2021-02-22T16:20:03Z"}, {"modelId": "325b479e-a871-48dc-a027-03000a3c5d83", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:56Z", "lastUpdatedDateTime": + "2021-02-19T19:05:57Z"}, {"modelId": "33486c04-5819-4fdf-931a-d4f8100c8293", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:11Z", "lastUpdatedDateTime": + "2021-02-19T19:01:12Z"}, {"modelId": "3392a433-a09d-4d92-ae6b-e563c1384542", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:46:29Z", "lastUpdatedDateTime": + "2020-08-11T19:46:29Z"}, {"modelId": "33c8e981-f08a-42b5-a43f-f81806c4a2b5", + "status": "ready", "createdDateTime": "2020-04-10T21:08:38Z", "lastUpdatedDateTime": + "2020-04-10T21:08:47Z"}, {"modelId": "33f9b89e-ef67-4c0f-b726-1cd9d19cbcb6", + "status": "ready", "createdDateTime": "2020-04-02T19:15:32Z", "lastUpdatedDateTime": + "2020-04-02T19:17:28Z"}, {"modelId": "34688789-9891-4bba-b91d-37dd357661f7", + "status": "invalid", "createdDateTime": "2020-03-05T18:22:55Z", "lastUpdatedDateTime": + "2020-03-05T18:22:55Z"}, {"modelId": "356fc9f8-1bd3-4427-b6fa-4ca46a12812a", + "status": "ready", "createdDateTime": "2020-04-02T00:28:44Z", "lastUpdatedDateTime": + "2020-04-02T00:30:45Z"}, {"modelId": "3725e29d-308c-49be-9904-1ce5e085b87b", + "status": "ready", "createdDateTime": "2020-04-09T17:36:08Z", "lastUpdatedDateTime": + "2020-04-09T17:36:17Z"}, {"modelId": "373ab10b-ea40-4689-9dd7-5fb4d028ccde", + "status": "ready", "createdDateTime": "2020-11-20T17:37:25Z", "lastUpdatedDateTime": + "2020-11-20T17:37:41Z"}, {"modelId": "374e5862-9360-4429-a5c2-55c5cc3a66ac", + "status": "ready", "createdDateTime": "2020-03-27T23:00:23Z", "lastUpdatedDateTime": + "2020-03-27T23:00:32Z"}, {"modelId": "380a10fb-85b3-42ec-81ee-f4a7a8ef5f1e", + "status": "ready", "createdDateTime": "2020-04-02T00:07:12Z", "lastUpdatedDateTime": + "2020-04-02T00:09:15Z"}, {"modelId": "3851b84e-5b43-49d1-b98a-00c636f780c1", + "status": "ready", "createdDateTime": "2020-11-19T21:34:53Z", "lastUpdatedDateTime": + "2020-11-19T21:35:09Z"}, {"modelId": "3b71c908-f4b0-4245-9f2c-fcab3320d6c0", + "status": "invalid", "createdDateTime": "2020-03-13T21:38:42Z", "lastUpdatedDateTime": + "2020-03-13T21:38:43Z"}, {"modelId": "3c4089a9-afc3-4080-aa41-c0efedf9029a", + "status": "ready", "createdDateTime": "2020-04-02T16:57:36Z", "lastUpdatedDateTime": + "2020-04-02T16:59:42Z"}, {"modelId": "3c436ebc-7a07-4748-8f0d-0a9ea53dc624", + "status": "invalid", "createdDateTime": "2020-04-01T01:53:34Z", "lastUpdatedDateTime": + "2020-04-01T01:53:35Z"}, {"modelId": "3c70b5cf-2e6f-4eff-ba98-370c5178f9e6", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:00Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "3d9d94bc-ae95-46df-821d-613a58adbe92", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:08Z", "lastUpdatedDateTime": "2021-02-19T18:56:11Z"}, {"modelId": + "3e4fce16-793c-442a-8c35-84fc716734a2", "status": "invalid", "createdDateTime": + "2020-04-13T19:42:52Z", "lastUpdatedDateTime": "2020-04-13T19:45:52Z"}, {"modelId": + "3e931bc9-94bb-4c05-bd28-f3af1023a78f", "status": "ready", "createdDateTime": + "2020-11-20T16:49:47Z", "lastUpdatedDateTime": "2020-11-20T16:50:04Z"}, {"modelId": + "3ec666a5-0267-4caf-9c09-ef8bfdf234da", "status": "ready", "createdDateTime": + "2020-04-02T17:30:06Z", "lastUpdatedDateTime": "2020-04-02T17:32:03Z"}, {"modelId": + "3f005482-fff7-4003-8e01-bcfe625f7648", "modelName": "mycomposedmodel", "attributes": + {"isComposed": true}, "status": "ready", "createdDateTime": "2020-09-15T00:28:40Z", + "lastUpdatedDateTime": "2020-09-15T00:28:41Z"}, {"modelId": "3f20291f-8372-4db1-a46c-2a69bbe493cf", + "status": "ready", "createdDateTime": "2020-03-16T16:28:19Z", "lastUpdatedDateTime": + "2020-03-16T16:30:23Z"}, {"modelId": "41a711cd-9c4e-48f7-be80-b166ac0c9a91", + "status": "ready", "createdDateTime": "2020-03-24T20:41:33Z", "lastUpdatedDateTime": + "2020-03-24T20:41:53Z"}, {"modelId": "4211beb5-40f4-4433-a41f-f710da174195", + "status": "invalid", "createdDateTime": "2020-04-02T17:17:14Z", "lastUpdatedDateTime": + "2020-04-02T17:18:12Z"}, {"modelId": "428b2349-e0a2-4d1e-87d0-20f9f43326a8", + "status": "ready", "createdDateTime": "2020-04-21T05:39:12Z", "lastUpdatedDateTime": + "2020-04-21T05:39:20Z"}, {"modelId": "4294bb2d-e168-4edf-970a-efd2c689b9b5", + "status": "ready", "createdDateTime": "2021-02-19T18:56:08Z", "lastUpdatedDateTime": + "2021-02-19T18:56:38Z"}, {"modelId": "42e285f7-fd3d-4440-bd44-6b9af13b259b", + "status": "invalid", "createdDateTime": "2020-04-13T19:44:25Z", "lastUpdatedDateTime": + "2020-04-13T19:44:25Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzQzMTY0YTE3LWYyOTItNGNmYy05NDk2LTkyYTJmNmI5MDIyMi80MzE2NGExNy1mMjkyLTRjZmMtOTQ5Ni05MmEyZjZiOTAyMjIuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh"}' + headers: + apim-request-id: f8d41160-294e-4e57-b5b5-69e9ff836eaa + content-length: '5667' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '157' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzJlMzJiYWNjLWRhZWMtNGVlMS04OTZlLTUyMWJiODBiMzg3Yy8yZTMyYmFjYy1kYWVjLTRlZTEtODk2ZS01MjFiYjgwYjM4N2MuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzQzMTY0YTE3LWYyOTItNGNmYy05NDk2LTkyYTJmNmI5MDIyMi80MzE2NGExNy1mMjkyLTRjZmMtOTQ5Ni05MmEyZjZiOTAyMjIuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh + response: + body: + string: '{"modelList": [{"modelId": "43164a17-f292-4cfc-9496-92a2f6b90222", + "status": "ready", "createdDateTime": "2020-03-27T22:59:36Z", "lastUpdatedDateTime": + "2020-03-27T22:59:45Z"}, {"modelId": "4351b6b3-3d21-4055-b138-1d280ef7b04b", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:34:49Z", "lastUpdatedDateTime": + "2020-08-11T20:34:54Z"}, {"modelId": "436a33e3-9c49-448e-94f8-3cf50dfca85f", + "status": "ready", "createdDateTime": "2020-03-12T19:20:27Z", "lastUpdatedDateTime": + "2020-03-12T19:20:28Z"}, {"modelId": "44dc9184-14ed-4474-ba62-93372ade56ec", + "status": "ready", "createdDateTime": "2020-03-24T01:45:18Z", "lastUpdatedDateTime": + "2020-03-24T01:45:25Z"}, {"modelId": "4503978d-f8c0-46e7-a5b1-6ddb28408c55", + "status": "invalid", "createdDateTime": "2020-04-09T18:19:55Z", "lastUpdatedDateTime": + "2020-04-09T18:19:56Z"}, {"modelId": "46e71ccc-c18c-4a9b-9e40-d36aa2752344", + "status": "creating", "createdDateTime": "2021-03-01T22:00:11Z", "lastUpdatedDateTime": + "2021-03-01T22:00:11Z"}, {"modelId": "47452604-2359-4d23-b952-ffa76f81f862", + "status": "ready", "createdDateTime": "2020-04-02T16:41:13Z", "lastUpdatedDateTime": + "2020-04-02T16:43:16Z"}, {"modelId": "475be9d7-a574-4c89-987d-e94a2193c9d8", + "status": "ready", "createdDateTime": "2020-04-01T02:02:01Z", "lastUpdatedDateTime": + "2020-04-01T02:02:10Z"}, {"modelId": "487b1b31-df87-40a7-9e93-5e21cad3b3f4", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:05:58Z", "lastUpdatedDateTime": "2021-03-01T16:06:02Z"}, + {"modelId": "493729ed-9bc9-4c18-8171-5b33fed6682e", "status": "ready", "createdDateTime": + "2020-04-11T19:41:14Z", "lastUpdatedDateTime": "2020-04-11T19:41:23Z"}, {"modelId": + "49d702f7-d4fd-48e6-b74f-2fad73494ae6", "status": "ready", "createdDateTime": + "2020-03-15T19:49:07Z", "lastUpdatedDateTime": "2020-03-15T19:51:02Z"}, {"modelId": + "49f3015b-0745-44b2-8a2a-180eed885c16", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:42:12Z", "lastUpdatedDateTime": + "2021-02-25T22:43:05Z"}, {"modelId": "4a85d6aa-84e9-4235-82a0-fd9698ef79c9", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:38:21Z", "lastUpdatedDateTime": + "2020-08-11T19:38:21Z"}, {"modelId": "4a93478e-9dd8-4fa2-afcb-260445275a40", + "status": "invalid", "createdDateTime": "2021-03-03T22:46:22Z", "lastUpdatedDateTime": + "2021-03-03T22:46:23Z"}, {"modelId": "4b8c7140-933f-4554-9d70-9b9ef6894501", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-19T17:18:56Z", + "lastUpdatedDateTime": "2020-11-19T17:19:14Z"}, {"modelId": "4bfe2202-aa36-4b59-a816-45e9ad2d1e2d", + "status": "ready", "createdDateTime": "2020-04-02T16:46:46Z", "lastUpdatedDateTime": + "2020-04-02T16:48:50Z"}, {"modelId": "4c7ce365-3e78-4379-8b3c-b7e01b2731cf", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:31Z", "lastUpdatedDateTime": "2020-11-20T17:56:33Z"}, {"modelId": + "4cba7332-5ea7-4453-996f-52d550d3341d", "modelName": "labeled", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-03-01T16:10:38Z", + "lastUpdatedDateTime": "2021-03-01T16:10:41Z"}, {"modelId": "4d14b6f2-f630-43a0-81b9-c7d4601eb582", + "status": "ready", "createdDateTime": "2021-01-21T23:40:43Z", "lastUpdatedDateTime": + "2021-01-21T23:41:08Z"}, {"modelId": "4d68c598-b03a-48f0-a1e1-2bf6fd9e1628", + "status": "invalid", "createdDateTime": "2020-04-01T23:51:37Z", "lastUpdatedDateTime": + "2020-04-01T23:52:33Z"}, {"modelId": "4daafb45-08e5-4369-bebd-2436cd531e11", + "status": "ready", "createdDateTime": "2020-04-02T02:19:17Z", "lastUpdatedDateTime": + "2020-04-02T02:21:18Z"}, {"modelId": "4dd5ded6-e44f-4ff4-9b6f-be48bd8420d1", + "status": "ready", "createdDateTime": "2020-03-13T16:53:03Z", "lastUpdatedDateTime": + "2020-03-13T16:55:06Z"}, {"modelId": "4e4f8e5a-0a31-4905-be65-8ba880d51815", + "status": "ready", "createdDateTime": "2020-04-01T23:03:58Z", "lastUpdatedDateTime": + "2020-04-01T23:06:01Z"}, {"modelId": "4e90eff6-eafb-4fd9-97cd-3c91a5073293", + "status": "invalid", "createdDateTime": "2021-03-03T21:54:11Z", "lastUpdatedDateTime": + "2021-03-03T21:54:11Z"}, {"modelId": "4eabb2b8-1186-437c-a365-adb55cbc11f2", + "status": "invalid", "createdDateTime": "2020-03-13T21:39:42Z", "lastUpdatedDateTime": + "2020-03-13T21:39:43Z"}, {"modelId": "4f687db5-feee-46fe-b17a-8e188ba82652", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-03-03T23:10:03Z", "lastUpdatedDateTime": "2021-03-03T23:12:18Z"}, {"modelId": + "4fd29344-db36-42ab-88fd-45928a922837", "modelName": "labeled", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-03-01T16:08:48Z", + "lastUpdatedDateTime": "2021-03-01T16:08:50Z"}, {"modelId": "5069bfd7-047c-4b60-bb9e-b2fe42be4eb8", + "status": "ready", "createdDateTime": "2020-04-02T19:14:24Z", "lastUpdatedDateTime": + "2020-04-02T19:16:27Z"}, {"modelId": "5153fca1-691c-4d29-9155-6cd0680e29c5", + "status": "ready", "createdDateTime": "2020-08-13T23:09:30Z", "lastUpdatedDateTime": + "2020-08-13T23:09:43Z"}, {"modelId": "536444c1-d804-4b6f-9f19-9ba41b697c75", + "status": "invalid", "createdDateTime": "2020-03-30T21:51:08Z", "lastUpdatedDateTime": + "2020-03-30T21:51:08Z"}, {"modelId": "53cc3e0b-eec1-467e-a261-9c26a9fa6244", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "54cf155c-db2d-443b-83c3-ca31190fa6e8", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T22:43:51Z", + "lastUpdatedDateTime": "2021-02-25T22:44:49Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzU0Y2YxNTVjLWRiMmQtNDQzYi04M2MzLWNhMzExOTBmYTZlOC81NGNmMTU1Yy1kYjJkLTQ0M2ItODNjMy1jYTMxMTkwZmE2ZTguanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: c6d163be-21b3-4122-8dfb-b029a666fe2f + content-length: '5781' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '181' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzQzMTY0YTE3LWYyOTItNGNmYy05NDk2LTkyYTJmNmI5MDIyMi80MzE2NGExNy1mMjkyLTRjZmMtOTQ5Ni05MmEyZjZiOTAyMjIuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzU0Y2YxNTVjLWRiMmQtNDQzYi04M2MzLWNhMzExOTBmYTZlOC81NGNmMTU1Yy1kYjJkLTQ0M2ItODNjMy1jYTMxMTkwZmE2ZTguanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "54cf155c-db2d-443b-83c3-ca31190fa6e8", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T22:43:51Z", + "lastUpdatedDateTime": "2021-02-25T22:44:49Z"}, {"modelId": "5516a93e-4cd8-4906-9ea9-26eb1bc855dd", + "status": "ready", "createdDateTime": "2020-04-10T20:41:35Z", "lastUpdatedDateTime": + "2020-04-10T20:41:43Z"}, {"modelId": "553c1c17-bd46-416e-96d5-4b8b15c2ab02", + "status": "invalid", "createdDateTime": "2021-03-01T21:11:20Z", "lastUpdatedDateTime": + "2021-03-01T21:11:20Z"}, {"modelId": "555aa4d1-0824-40f3-a693-e33ee522669c", + "status": "ready", "createdDateTime": "2020-04-10T20:30:47Z", "lastUpdatedDateTime": + "2020-04-10T20:30:57Z"}, {"modelId": "5650adb1-1387-41b3-a5dd-6e9833d2b33b", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:59Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "5654bd4b-e85c-41ed-b8f6-c77780d06551", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:07:47Z", "lastUpdatedDateTime": "2021-03-01T16:07:51Z"}, + {"modelId": "572b5e8c-125b-4f63-b9bc-a9de922abbd4", "status": "ready", "createdDateTime": + "2020-04-02T16:46:04Z", "lastUpdatedDateTime": "2020-04-02T16:48:04Z"}, {"modelId": + "57a8b733-80db-446e-92c9-110148ded1b7", "status": "ready", "createdDateTime": + "2020-03-30T21:14:25Z", "lastUpdatedDateTime": "2020-03-30T21:14:34Z"}, {"modelId": + "5821a84d-d13d-462c-b40c-6b90793b6565", "status": "ready", "createdDateTime": + "2020-04-20T19:46:37Z", "lastUpdatedDateTime": "2020-04-20T19:46:45Z"}, {"modelId": + "5924f18d-a26f-4653-b610-223b9594ca9b", "status": "ready", "createdDateTime": + "2020-03-15T19:34:12Z", "lastUpdatedDateTime": "2020-03-15T19:36:07Z"}, {"modelId": + "597701b0-5e5a-4594-bfbc-48ce5e31965f", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-19T19:05:59Z", "lastUpdatedDateTime": + "2021-02-19T19:06:05Z"}, {"modelId": "5b19288d-9048-4f40-a0e9-f4ef3c65795c", + "status": "ready", "createdDateTime": "2020-03-15T20:18:39Z", "lastUpdatedDateTime": + "2020-03-15T20:20:34Z"}, {"modelId": "5b973420-f850-4020-a2bc-6e9a14f6bbd0", + "status": "ready", "createdDateTime": "2020-04-01T23:27:46Z", "lastUpdatedDateTime": + "2020-04-01T23:29:46Z"}, {"modelId": "5c74c941-32d0-47cb-b65e-c5f7fb8ecac7", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T22:41:10Z", + "lastUpdatedDateTime": "2021-02-25T22:42:09Z"}, {"modelId": "5d90e99d-da95-4125-8c0c-a349e35a33d7", + "status": "invalid", "createdDateTime": "2021-03-03T22:24:07Z", "lastUpdatedDateTime": + "2021-03-03T22:24:08Z"}, {"modelId": "5ef66b5d-0ead-4031-a7d3-d46ba9673207", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "5f5eacbf-e45c-494d-96b1-38c785f19cc7", + "status": "ready", "createdDateTime": "2020-03-15T19:37:44Z", "lastUpdatedDateTime": + "2020-03-15T19:39:44Z"}, {"modelId": "5fd9558b-82e1-4443-b201-09486ce65d11", + "status": "ready", "createdDateTime": "2020-03-12T18:47:21Z", "lastUpdatedDateTime": + "2020-03-12T18:47:29Z"}, {"modelId": "61fcb11f-3bab-4edd-8264-b2ffbcc35869", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-01-25T19:54:26Z", "lastUpdatedDateTime": "2021-01-25T19:54:28Z"}, + {"modelId": "6271a9e4-90b5-45c2-ae09-85726535cf98", "status": "ready", "createdDateTime": + "2020-04-02T17:37:21Z", "lastUpdatedDateTime": "2020-04-02T17:37:37Z"}, {"modelId": + "62c71745-fd52-4f87-ba68-a66660e5398a", "status": "invalid", "createdDateTime": + "2020-03-15T19:29:14Z", "lastUpdatedDateTime": "2020-03-15T19:29:15Z"}, {"modelId": + "62f23b41-b5b0-4f15-b2da-a7fa33d83db7", "status": "ready", "createdDateTime": + "2020-04-09T01:41:38Z", "lastUpdatedDateTime": "2020-04-09T01:41:41Z"}, {"modelId": + "633eb385-0688-487d-98ec-23a981bda670", "status": "ready", "createdDateTime": + "2020-04-13T16:46:55Z", "lastUpdatedDateTime": "2020-04-13T16:47:04Z"}, {"modelId": + "634d2ef4-04c0-49ef-b10b-2356e68f7c8b", "status": "ready", "createdDateTime": + "2020-04-05T21:52:01Z", "lastUpdatedDateTime": "2020-04-05T21:52:02Z"}, {"modelId": + "63dd7c31-d7d2-4f72-84aa-9413b7cf04f7", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T19:10:27Z", "lastUpdatedDateTime": + "2021-02-26T19:10:30Z"}, {"modelId": "6408aa30-a1ab-4172-921e-dc71c26c028b", + "status": "invalid", "createdDateTime": "2021-03-01T21:13:25Z", "lastUpdatedDateTime": + "2021-03-01T21:13:26Z"}, {"modelId": "64d41333-9489-412e-af02-6664bb297e55", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:12Z", "lastUpdatedDateTime": + "2021-02-19T19:01:12Z"}, {"modelId": "65844abd-fb99-4b3c-b5c7-34e3b7c4db6c", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-19T19:05:56Z", + "lastUpdatedDateTime": "2021-02-19T19:05:56Z"}, {"modelId": "663b5cc9-97a3-472b-8c35-49728633ccd9", + "status": "ready", "createdDateTime": "2021-02-19T18:56:04Z", "lastUpdatedDateTime": + "2021-02-19T18:56:34Z"}, {"modelId": "67951586-1a2b-4957-bfef-8a963ef0e07d", + "status": "ready", "createdDateTime": "2020-04-02T17:00:05Z", "lastUpdatedDateTime": + "2020-04-02T17:02:03Z"}, {"modelId": "67d1e903-cc92-4294-9b03-8547eeb9d988", + "status": "ready", "createdDateTime": "2020-04-02T19:37:34Z", "lastUpdatedDateTime": + "2020-04-02T19:39:29Z"}, {"modelId": "68cb2ba6-e7d6-4e79-a50d-ee4c248d4156", + "status": "invalid", "createdDateTime": "2020-04-10T19:48:43Z", "lastUpdatedDateTime": + "2020-04-10T19:49:43Z"}, {"modelId": "6933b09c-30f1-46ed-bd25-5bc81c4e04df", + "status": "ready", "createdDateTime": "2020-04-13T17:41:16Z", "lastUpdatedDateTime": + "2020-04-13T17:41:24Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzY5MzNiMDljLTMwZjEtNDZlZC1iZDI1LTViYzgxYzRlMDRkZi82OTMzYjA5Yy0zMGYxLTQ2ZWQtYmQyNS01YmM4MWM0ZTA0ZGYuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 3e1fbca4-1b00-4ea5-9e33-ebe9288da4b6 + content-length: '5736' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '190' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzU0Y2YxNTVjLWRiMmQtNDQzYi04M2MzLWNhMzExOTBmYTZlOC81NGNmMTU1Yy1kYjJkLTQ0M2ItODNjMy1jYTMxMTkwZmE2ZTguanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzY5MzNiMDljLTMwZjEtNDZlZC1iZDI1LTViYzgxYzRlMDRkZi82OTMzYjA5Yy0zMGYxLTQ2ZWQtYmQyNS01YmM4MWM0ZTA0ZGYuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "6933b09c-30f1-46ed-bd25-5bc81c4e04df", + "status": "ready", "createdDateTime": "2020-04-13T17:41:16Z", "lastUpdatedDateTime": + "2020-04-13T17:41:24Z"}, {"modelId": "699fd879-f7d2-4e94-bc6a-88ed9fa47af4", + "status": "ready", "createdDateTime": "2020-04-02T17:35:47Z", "lastUpdatedDateTime": + "2020-04-02T17:35:58Z"}, {"modelId": "69ee41be-3916-4d54-b28b-a579ebaa98dc", + "status": "invalid", "createdDateTime": "2020-04-10T20:15:51Z", "lastUpdatedDateTime": + "2020-04-10T20:16:51Z"}, {"modelId": "6a1d79a7-2c75-4257-959a-f89c420fbf66", + "status": "ready", "createdDateTime": "2020-04-10T21:01:19Z", "lastUpdatedDateTime": + "2020-04-10T21:01:28Z"}, {"modelId": "6b0e5399-dffc-4b8c-a8aa-bdc29109913d", + "status": "ready", "createdDateTime": "2020-04-13T16:42:19Z", "lastUpdatedDateTime": + "2020-04-13T16:42:22Z"}, {"modelId": "6c9ffc45-7f53-441b-afa7-7342edde4cd4", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:09:40Z", "lastUpdatedDateTime": "2021-03-01T16:09:43Z"}, + {"modelId": "6cf013cd-208a-4c83-844c-72a86945cf69", "modelName": "labeled", + "status": "invalid", "createdDateTime": "2021-02-26T20:11:41Z", "lastUpdatedDateTime": + "2021-02-26T20:11:42Z"}, {"modelId": "6d2866db-3e68-4cbf-8f95-6d8505354bc7", + "status": "invalid", "createdDateTime": "2020-04-01T02:12:18Z", "lastUpdatedDateTime": + "2020-04-01T02:12:18Z"}, {"modelId": "6e4bedbb-6246-4553-b31e-4959d1ef8f73", + "status": "invalid", "createdDateTime": "2020-04-01T02:15:10Z", "lastUpdatedDateTime": + "2020-04-01T02:15:11Z"}, {"modelId": "6eb745a3-07bc-4d18-8c48-9a0324cfe663", + "status": "ready", "createdDateTime": "2020-03-24T20:39:08Z", "lastUpdatedDateTime": + "2020-03-24T20:39:27Z"}, {"modelId": "6f8cfb3d-c933-4e95-b94d-7c6600d228cb", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-02-26T21:38:04Z", "lastUpdatedDateTime": "2021-02-26T21:38:08Z"}, + {"modelId": "6fd13b54-f34e-421f-a500-4255a000c96a", "attributes": {"isComposed": + false}, "status": "ready", "createdDateTime": "2020-11-20T17:58:30Z", "lastUpdatedDateTime": + "2020-11-20T17:59:32Z"}, {"modelId": "700bf4db-d96f-417c-a512-37a10d4362a2", + "status": "ready", "createdDateTime": "2020-03-30T21:54:06Z", "lastUpdatedDateTime": + "2020-03-30T21:54:14Z"}, {"modelId": "70ccd26d-5041-4407-a630-acdec9271538", + "status": "ready", "createdDateTime": "2020-04-01T23:38:56Z", "lastUpdatedDateTime": + "2020-04-01T23:40:50Z"}, {"modelId": "70e1ec58-43e4-4729-9d7b-587644d86743", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-20T16:47:52Z", + "lastUpdatedDateTime": "2020-11-20T16:48:09Z"}, {"modelId": "717cba6c-81a0-4113-911c-6ee14ecc1c64", + "status": "ready", "createdDateTime": "2020-04-13T16:35:46Z", "lastUpdatedDateTime": + "2020-04-13T16:35:49Z"}, {"modelId": "718e3eab-6f8f-422b-8e54-7932c7fa9ef2", + "status": "ready", "createdDateTime": "2020-04-22T03:13:32Z", "lastUpdatedDateTime": + "2020-04-22T03:13:40Z"}, {"modelId": "729b12ca-fd8d-4a9d-9b76-9554643ec37b", + "status": "ready", "createdDateTime": "2020-03-13T21:34:56Z", "lastUpdatedDateTime": + "2020-03-13T21:36:56Z"}, {"modelId": "731d62de-1b53-4ce6-92ae-48c5459bb1e1", + "status": "ready", "createdDateTime": "2020-04-10T20:29:01Z", "lastUpdatedDateTime": + "2020-04-10T20:29:10Z"}, {"modelId": "733fbb4c-bc74-440f-9809-c7a15c528bcc", + "status": "invalid", "createdDateTime": "2021-03-03T21:36:32Z", "lastUpdatedDateTime": + "2021-03-03T21:36:33Z"}, {"modelId": "73a6647a-c6f6-46fd-9ca7-990cffa615e0", + "status": "invalid", "createdDateTime": "2021-03-03T22:48:38Z", "lastUpdatedDateTime": + "2021-03-03T22:48:40Z"}, {"modelId": "74e60334-9958-4861-a975-96cf443b9425", + "status": "ready", "createdDateTime": "2020-04-13T16:35:39Z", "lastUpdatedDateTime": + "2020-04-13T16:35:49Z"}, {"modelId": "753f87ab-7de3-484a-88ab-989bfee65f48", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T19:05:58Z", "lastUpdatedDateTime": "2021-02-19T19:06:02Z"}, {"modelId": + "75ba63fd-348c-407f-ad77-99b67095786e", "status": "ready", "createdDateTime": + "2020-04-21T05:32:20Z", "lastUpdatedDateTime": "2020-04-21T05:32:29Z"}, {"modelId": + "75c89f8d-0f3e-4b5f-bc25-d44caf5f983b", "status": "ready", "createdDateTime": + "2020-04-02T21:09:43Z", "lastUpdatedDateTime": "2020-04-02T21:11:43Z"}, {"modelId": + "760bf229-1a1f-4aee-b4a1-d29ddad42907", "status": "ready", "createdDateTime": + "2020-04-02T17:42:19Z", "lastUpdatedDateTime": "2020-04-02T17:44:18Z"}, {"modelId": + "765218a9-bd57-4c76-85f2-bb01517e8af5", "status": "invalid", "createdDateTime": + "2021-03-03T21:21:01Z", "lastUpdatedDateTime": "2021-03-03T21:21:02Z"}, {"modelId": + "7713df98-539e-46c5-979c-60b29571495f", "status": "invalid", "createdDateTime": + "2021-02-19T19:05:54Z", "lastUpdatedDateTime": "2021-02-19T19:05:55Z"}, {"modelId": + "7771c362-af0d-43c5-ad7d-a228a75f28c0", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:44:52Z", "lastUpdatedDateTime": + "2021-02-25T22:45:45Z"}, {"modelId": "77ee725d-ab04-4522-b577-3e7a29326fd0", + "status": "ready", "createdDateTime": "2020-04-13T17:40:06Z", "lastUpdatedDateTime": + "2020-04-13T17:40:15Z"}, {"modelId": "785671f9-d058-4542-8d5a-6f08f1715e2a", + "status": "ready", "createdDateTime": "2020-04-06T21:54:09Z", "lastUpdatedDateTime": + "2020-04-06T21:54:18Z"}, {"modelId": "7a28024d-6e36-444f-ae51-3985fa8205f4", + "status": "invalid", "createdDateTime": "2020-04-10T18:17:16Z", "lastUpdatedDateTime": + "2020-04-10T18:17:17Z"}, {"modelId": "7aa01eff-7641-4332-917d-9566484ea249", + "status": "invalid", "createdDateTime": "2020-04-01T01:43:39Z", "lastUpdatedDateTime": + "2020-04-01T01:43:39Z"}, {"modelId": "7aeb48b3-6977-4091-9d69-a681675af360", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdhZWI0OGIzLTY5NzctNDA5MS05ZDY5LWE2ODE2NzVhZjM2MC83YWViNDhiMy02OTc3LTQwOTEtOWQ2OS1hNjgxNjc1YWYzNjAuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 253bf245-00e2-4653-8f1b-faf62e477c44 + content-length: '5902' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '173' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzY5MzNiMDljLTMwZjEtNDZlZC1iZDI1LTViYzgxYzRlMDRkZi82OTMzYjA5Yy0zMGYxLTQ2ZWQtYmQyNS01YmM4MWM0ZTA0ZGYuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdhZWI0OGIzLTY5NzctNDA5MS05ZDY5LWE2ODE2NzVhZjM2MC83YWViNDhiMy02OTc3LTQwOTEtOWQ2OS1hNjgxNjc1YWYzNjAuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "7aeb48b3-6977-4091-9d69-a681675af360", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "7bb77385-094c-4a9b-be95-3ce02d472c58", + "status": "ready", "createdDateTime": "2020-04-10T21:04:12Z", "lastUpdatedDateTime": + "2020-04-10T21:04:26Z"}, {"modelId": "7bc722a1-fffc-4c41-9031-c7bda567bdfa", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:45:27Z", "lastUpdatedDateTime": + "2020-08-11T20:45:27Z"}, {"modelId": "7d061a34-c20b-4794-9c64-1bc6ee918329", + "status": "ready", "createdDateTime": "2020-04-02T02:45:16Z", "lastUpdatedDateTime": + "2020-04-02T02:47:18Z"}, {"modelId": "7e3e36ee-cdf6-406c-869b-3ef3f1d9aad9", + "status": "ready", "createdDateTime": "2020-03-11T03:02:02Z", "lastUpdatedDateTime": + "2020-03-11T03:02:11Z"}, {"modelId": "7e508843-5dd2-48d3-abd1-f542bc9c3c07", + "status": "ready", "createdDateTime": "2020-03-15T20:05:31Z", "lastUpdatedDateTime": + "2020-03-15T20:07:33Z"}, {"modelId": "7e5194c7-390c-4cee-9a0f-96d670e45b5a", + "status": "invalid", "createdDateTime": "2021-03-03T21:50:24Z", "lastUpdatedDateTime": + "2021-03-03T21:50:25Z"}, {"modelId": "7fd94e51-a18f-44f9-bcd0-ce8b84fb4d39", + "status": "ready", "createdDateTime": "2020-03-15T20:04:01Z", "lastUpdatedDateTime": + "2020-03-15T20:06:01Z"}, {"modelId": "80fee662-fd5a-41bf-b4f5-893e0eca4bb2", + "status": "ready", "createdDateTime": "2020-03-15T19:31:28Z", "lastUpdatedDateTime": + "2020-03-15T19:33:30Z"}, {"modelId": "8223dd41-2932-4301-b621-ccf75d6a3c0a", + "status": "ready", "createdDateTime": "2020-05-20T17:49:40Z", "lastUpdatedDateTime": + "2020-05-20T17:49:50Z"}, {"modelId": "824e9f66-031f-4908-9034-8e78e3202caa", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T19:06:00Z", "lastUpdatedDateTime": "2021-02-19T19:06:07Z"}, {"modelId": + "8254411d-a680-4941-ace4-a9524fc9a407", "modelName": "secondcomposedmodel", + "attributes": {"isComposed": true}, "status": "ready", "createdDateTime": + "2020-08-11T19:47:10Z", "lastUpdatedDateTime": "2020-08-11T19:47:10Z"}, {"modelId": + "82e6af94-0235-4f64-8106-cadfb5779124", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-01-21T23:43:43Z", "lastUpdatedDateTime": + "2021-01-21T23:43:46Z"}, {"modelId": "83163519-6d6c-4ba7-b6fe-cfb3a14d7cff", + "status": "ready", "createdDateTime": "2020-03-16T22:13:17Z", "lastUpdatedDateTime": + "2020-03-16T22:15:14Z"}, {"modelId": "83d2fbaa-8629-43f1-8e48-9891ae1858af", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:59:29Z", "lastUpdatedDateTime": + "2020-08-11T19:59:29Z"}, {"modelId": "86119a4f-e48a-4c15-9348-2d300aee1066", + "status": "ready", "createdDateTime": "2020-03-19T01:48:13Z", "lastUpdatedDateTime": + "2020-03-19T01:50:06Z"}, {"modelId": "8615384b-bd35-46c1-a15f-ce29b4687988", + "modelName": "mymodel", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2020-11-19T18:14:30Z", "lastUpdatedDateTime": "2020-11-19T18:14:32Z"}, + {"modelId": "863c1ede-91fd-4d79-88f2-b17b5ab745a7", "modelName": "labeled", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-01-25T20:17:52Z", "lastUpdatedDateTime": "2021-01-25T20:17:55Z"}, {"modelId": + "86761c26-b665-4611-8068-0641be2f5b88", "status": "ready", "createdDateTime": + "2020-04-02T17:11:01Z", "lastUpdatedDateTime": "2020-04-02T17:12:56Z"}, {"modelId": + "8757ab80-77cb-47f5-bf0b-cc12c11f1e3e", "status": "ready", "createdDateTime": + "2021-02-19T19:06:01Z", "lastUpdatedDateTime": "2021-02-19T19:06:33Z"}, {"modelId": + "87f94c1f-a345-4ecd-b440-df1ffffbe4cd", "status": "ready", "createdDateTime": + "2020-04-02T01:52:24Z", "lastUpdatedDateTime": "2020-04-02T01:54:26Z"}, {"modelId": + "8a255b7a-3fcb-4665-8219-c410c34d7d05", "status": "ready", "createdDateTime": + "2020-03-15T20:34:45Z", "lastUpdatedDateTime": "2020-03-15T20:35:00Z"}, {"modelId": + "8a3b905d-d28a-4ab1-bdc1-5919ea8b0699", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-25T19:43:43Z", "lastUpdatedDateTime": + "2021-02-25T19:43:46Z"}, {"modelId": "8aa909fc-b44c-4f00-97ce-fdb1cbcc0be4", + "status": "invalid", "createdDateTime": "2020-03-16T19:21:55Z", "lastUpdatedDateTime": + "2020-03-16T19:21:56Z"}, {"modelId": "8ac25719-613f-4e80-97ed-a3aca7cc4e68", + "modelName": "my unlabeled model", "status": "ready", "createdDateTime": "2021-01-21T18:49:12Z", + "lastUpdatedDateTime": "2021-01-21T18:49:27Z"}, {"modelId": "8b2d0d9c-cb8d-4eea-84b2-713d3fb2ad34", + "status": "ready", "createdDateTime": "2020-04-21T05:34:01Z", "lastUpdatedDateTime": + "2020-04-21T05:34:11Z"}, {"modelId": "8b56c5f8-50ea-4fdd-bfcc-c7ba69153deb", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:03Z", "lastUpdatedDateTime": + "2021-02-22T16:20:03Z"}, {"modelId": "8bcb64c2-1907-441b-9001-2c438efcf44f", + "status": "ready", "createdDateTime": "2020-04-13T17:45:55Z", "lastUpdatedDateTime": + "2020-04-13T17:46:05Z"}, {"modelId": "8df72857-f05e-4576-82cd-1513f972954f", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:11Z", "lastUpdatedDateTime": + "2021-02-19T19:01:11Z"}, {"modelId": "900b10e6-34ee-4e3b-8838-a6fcfb18859c", + "status": "invalid", "createdDateTime": "2020-04-01T02:14:08Z", "lastUpdatedDateTime": + "2020-04-01T02:14:09Z"}, {"modelId": "90333c99-9878-47e5-9b75-f886e45947cc", + "status": "invalid", "createdDateTime": "2020-04-01T01:56:53Z", "lastUpdatedDateTime": + "2020-04-01T01:56:53Z"}, {"modelId": "906ca3e2-e6c7-42a6-9ef7-f2132d3f998f", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:09Z", "lastUpdatedDateTime": + "2021-02-19T18:56:11Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwNmNhM2UyLWU2YzctNDJhNi05ZWY3LWYyMTMyZDNmOTk4Zi91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 195c4295-5be0-4103-82c7-bea04cffec7a + content-length: '5756' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '194' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdhZWI0OGIzLTY5NzctNDA5MS05ZDY5LWE2ODE2NzVhZjM2MC83YWViNDhiMy02OTc3LTQwOTEtOWQ2OS1hNjgxNjc1YWYzNjAuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwNmNhM2UyLWU2YzctNDJhNi05ZWY3LWYyMTMyZDNmOTk4Zi91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "906ca3e2-e6c7-42a6-9ef7-f2132d3f998f", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:09Z", "lastUpdatedDateTime": + "2021-02-19T18:56:11Z"}, {"modelId": "90cf67f6-4bbe-434e-b8e1-8982f392ecd0", + "status": "ready", "createdDateTime": "2020-03-12T20:33:08Z", "lastUpdatedDateTime": + "2020-03-12T20:33:10Z"}, {"modelId": "91024bf0-9316-450e-90a5-9f7b7b4d7c01", + "status": "ready", "createdDateTime": "2020-04-02T02:27:30Z", "lastUpdatedDateTime": + "2020-04-02T02:29:30Z"}, {"modelId": "9228cf03-efdd-4d8e-ba47-d605addc2a17", + "status": "ready", "createdDateTime": "2020-04-02T02:02:40Z", "lastUpdatedDateTime": + "2020-04-02T02:04:34Z"}, {"modelId": "92f6eb1d-c460-426d-9ed7-62c8a8dfacec", + "status": "ready", "createdDateTime": "2020-04-02T17:09:36Z", "lastUpdatedDateTime": + "2020-04-02T17:11:32Z"}, {"modelId": "934e24cc-fe50-4f24-99d0-b0d9f024d78f", + "status": "ready", "createdDateTime": "2020-03-04T17:11:12Z", "lastUpdatedDateTime": + "2020-03-04T17:11:12Z"}, {"modelId": "9383595f-c646-4505-a7c4-d2d2174b0b91", + "status": "ready", "createdDateTime": "2020-04-01T23:18:01Z", "lastUpdatedDateTime": + "2020-04-01T23:20:01Z"}, {"modelId": "94f67d0c-fdc8-46f7-b144-7f763b6181e2", + "status": "invalid", "createdDateTime": "2021-03-03T21:17:25Z", "lastUpdatedDateTime": + "2021-03-03T21:17:26Z"}, {"modelId": "965c2ab6-82a7-4667-a9d0-a7c589c932f9", + "status": "ready", "createdDateTime": "2020-04-01T23:33:59Z", "lastUpdatedDateTime": + "2020-04-01T23:36:01Z"}, {"modelId": "97feeac7-768d-4b10-ac0d-b9a204dc4174", + "status": "ready", "createdDateTime": "2020-03-27T20:10:06Z", "lastUpdatedDateTime": + "2020-03-27T20:10:14Z"}, {"modelId": "986de900-7089-4ba0-9be6-998b9ddcd0e9", + "status": "ready", "createdDateTime": "2020-04-10T20:29:23Z", "lastUpdatedDateTime": + "2020-04-10T20:29:31Z"}, {"modelId": "997750cb-bf7c-45ff-82cc-537060472254", + "status": "ready", "createdDateTime": "2020-11-20T17:54:39Z", "lastUpdatedDateTime": + "2020-11-20T17:54:56Z"}, {"modelId": "99cd7d37-341a-4a91-b6ac-dc70da72e192", + "status": "invalid", "createdDateTime": "2020-04-09T18:20:12Z", "lastUpdatedDateTime": + "2020-04-09T18:20:12Z"}, {"modelId": "9a42543a-2bca-457f-ad05-292488b2fb66", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:52Z", "lastUpdatedDateTime": + "2021-02-19T19:06:52Z"}, {"modelId": "9a79a3af-b996-4cb1-8ea7-7e2895d5a549", + "status": "ready", "createdDateTime": "2020-03-15T19:54:05Z", "lastUpdatedDateTime": + "2020-03-15T19:56:07Z"}, {"modelId": "9ad19f07-4aa0-4a9c-a773-40909d52df0c", + "status": "creating", "createdDateTime": "2020-05-20T00:01:58Z", "lastUpdatedDateTime": + "2020-05-20T00:01:58Z"}, {"modelId": "9adcd72f-4b80-4769-a761-e2e0aa0b7890", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:40:42Z", "lastUpdatedDateTime": + "2020-08-11T20:40:43Z"}, {"modelId": "9b083f54-3cd1-4ddf-b037-53611a9e01c1", + "status": "invalid", "createdDateTime": "2021-03-03T21:54:05Z", "lastUpdatedDateTime": + "2021-03-03T21:54:06Z"}, {"modelId": "9b5132cf-02c1-4ea9-a652-999780507aac", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:13Z", "lastUpdatedDateTime": "2020-11-20T17:56:15Z"}, {"modelId": + "9c18b4fc-78a0-457a-b975-b18361d9f453", "status": "ready", "createdDateTime": + "2020-03-12T18:47:53Z", "lastUpdatedDateTime": "2020-03-12T18:48:00Z"}, {"modelId": + "9c267194-a0dd-4d6c-ab50-4664795b8afc", "status": "invalid", "createdDateTime": + "2020-04-01T01:41:00Z", "lastUpdatedDateTime": "2020-04-01T01:41:00Z"}, {"modelId": + "9c401b5d-1271-4082-ba51-e50e11616efa", "modelName": "labeled", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-02-26T21:38:20Z", + "lastUpdatedDateTime": "2021-02-26T21:38:23Z"}, {"modelId": "9cf82dde-3cad-4fcf-a9a4-0ee76337293c", + "status": "invalid", "createdDateTime": "2020-04-09T17:34:09Z", "lastUpdatedDateTime": + "2020-04-09T17:34:10Z"}, {"modelId": "9d7a4d71-0c59-40ed-be9b-d0630df63b87", + "status": "ready", "createdDateTime": "2020-04-10T20:26:54Z", "lastUpdatedDateTime": + "2020-04-10T20:27:04Z"}, {"modelId": "9eabe36b-a3f8-4bb9-bab7-099cd043caef", + "status": "ready", "createdDateTime": "2020-05-20T21:08:39Z", "lastUpdatedDateTime": + "2020-05-20T21:10:22Z"}, {"modelId": "9f5b094c-879b-49e6-8d1e-35328b916007", + "status": "ready", "createdDateTime": "2020-04-02T16:47:59Z", "lastUpdatedDateTime": + "2020-04-02T16:49:59Z"}, {"modelId": "9fc0ceab-56bb-4715-b484-b81633e7a175", + "status": "ready", "createdDateTime": "2020-04-02T16:24:21Z", "lastUpdatedDateTime": + "2020-04-02T16:26:26Z"}, {"modelId": "a12c98fe-3149-4c79-8aff-c48344d13f9f", + "status": "creating", "createdDateTime": "2020-10-14T19:15:19Z", "lastUpdatedDateTime": + "2020-10-14T19:15:19Z"}, {"modelId": "a18a94fe-436c-4abd-b072-dfacd19e1ec9", + "status": "ready", "createdDateTime": "2020-04-02T19:33:56Z", "lastUpdatedDateTime": + "2020-04-02T19:35:51Z"}, {"modelId": "a193f69c-fe8b-47ce-b04c-4ce0056dae8f", + "status": "ready", "createdDateTime": "2020-04-02T19:55:59Z", "lastUpdatedDateTime": + "2020-04-02T19:56:11Z"}, {"modelId": "a1bb1a0f-2207-4d49-b3f3-fdb1831af610", + "status": "invalid", "createdDateTime": "2020-04-02T19:57:02Z", "lastUpdatedDateTime": + "2020-04-02T20:04:17Z"}, {"modelId": "a1c879cc-5de6-421f-b31f-e43977216ebf", + "status": "ready", "createdDateTime": "2020-04-13T17:43:31Z", "lastUpdatedDateTime": + "2020-04-13T17:43:40Z"}, {"modelId": "a264fe3e-8f7c-4948-82e2-4118642999e5", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T15:57:08Z", + "lastUpdatedDateTime": "2021-02-25T15:57:59Z"}, {"modelId": "a4d48fd6-fd5d-42ff-902f-b7d8102edbd5", + "status": "ready", "createdDateTime": "2020-04-10T21:02:43Z", "lastUpdatedDateTime": + "2020-04-10T21:02:53Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh"}' + headers: + apim-request-id: dacb3ca5-fa41-4b1c-baa4-4cee56717ac5 + content-length: '5833' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:22 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '187' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwNmNhM2UyLWU2YzctNDJhNi05ZWY3LWYyMTMyZDNmOTk4Zi91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh + response: + body: + string: '{"modelList": [{"modelId": "a5b9f0ae-ee6e-4b44-8fec-847f2c7301ad", + "status": "ready", "createdDateTime": "2020-03-13T00:25:09Z", "lastUpdatedDateTime": + "2020-03-13T00:25:16Z"}, {"modelId": "a71e2892-980d-413a-8857-91bf1e1c8a08", + "status": "ready", "createdDateTime": "2020-03-15T19:33:11Z", "lastUpdatedDateTime": + "2020-03-15T19:35:14Z"}, {"modelId": "a72386be-2f3c-4316-a11c-00851511c5fe", + "status": "ready", "createdDateTime": "2020-04-13T17:40:56Z", "lastUpdatedDateTime": + "2020-04-13T17:40:59Z"}, {"modelId": "a8572bea-756f-48dd-befb-66091c9dff2d", + "status": "ready", "createdDateTime": "2020-11-20T18:01:56Z", "lastUpdatedDateTime": + "2020-11-20T18:02:11Z"}, {"modelId": "a98ae300-93f0-4856-8344-518bdacb26dc", + "status": "ready", "createdDateTime": "2020-04-07T00:31:54Z", "lastUpdatedDateTime": + "2020-04-07T00:32:03Z"}, {"modelId": "a9c4d509-7a07-4132-b162-375ded6c7bba", + "status": "creating", "createdDateTime": "2020-06-08T21:55:31Z", "lastUpdatedDateTime": + "2020-06-08T21:55:31Z"}, {"modelId": "aae2ed54-5e8f-4591-9cb0-37468e902391", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:04Z", "lastUpdatedDateTime": "2021-02-19T18:56:08Z"}, {"modelId": + "aaf63919-78de-4a88-baea-015034f911b8", "status": "invalid", "createdDateTime": + "2020-03-16T19:20:53Z", "lastUpdatedDateTime": "2020-03-16T19:20:58Z"}, {"modelId": + "ab503fa1-c015-4d0a-bec6-ec00f72b2482", "status": "ready", "createdDateTime": + "2020-04-02T16:28:09Z", "lastUpdatedDateTime": "2020-04-02T16:30:06Z"}, {"modelId": + "aba0e1d3-13d9-4bcd-8cb5-b68ccbffa285", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T20:12:58Z", "lastUpdatedDateTime": + "2021-02-26T20:12:59Z"}, {"modelId": "ad315d9e-93f2-411c-83da-2ab5bfb3e725", + "status": "ready", "createdDateTime": "2020-03-12T18:46:22Z", "lastUpdatedDateTime": + "2020-03-12T18:46:31Z"}, {"modelId": "ad5453c7-54d6-4749-bd15-320dd95d7198", + "status": "ready", "createdDateTime": "2020-04-02T02:43:29Z", "lastUpdatedDateTime": + "2020-04-02T02:45:34Z"}, {"modelId": "ae76c104-9e8f-4a9b-8a57-cbd1ee2b6823", + "status": "creating", "createdDateTime": "2020-10-14T19:12:56Z", "lastUpdatedDateTime": + "2020-10-14T19:12:56Z"}, {"modelId": "aec57ff3-111f-449d-b1ef-f9af2d333d0a", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:05Z", "lastUpdatedDateTime": + "2021-02-19T18:56:06Z"}, {"modelId": "af5236b2-bf8b-4e65-b69f-17bf712fb6c0", + "status": "ready", "createdDateTime": "2020-03-15T19:50:02Z", "lastUpdatedDateTime": + "2020-03-15T19:52:08Z"}, {"modelId": "af9fa4cf-afb9-4530-b926-a1703addd10f", + "modelName": "secondcomposedmodelf", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-12T00:08:44Z", "lastUpdatedDateTime": + "2020-08-12T00:08:44Z"}, {"modelId": "b0b5c95b-3551-4405-bd06-b53b02784bda", + "status": "invalid", "createdDateTime": "2020-03-19T22:15:03Z", "lastUpdatedDateTime": + "2020-03-19T22:15:03Z"}, {"modelId": "b28abd58-a6d9-4210-88f3-d9f06821d5c1", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:43:42Z", "lastUpdatedDateTime": + "2020-08-11T20:43:42Z"}, {"modelId": "b2b410a6-5d9f-40eb-9f8f-e813c890c297", + "status": "ready", "createdDateTime": "2020-03-16T22:13:58Z", "lastUpdatedDateTime": + "2020-03-16T22:15:56Z"}, {"modelId": "b4489523-d1bb-4138-8cbf-c8a865eb0e95", + "status": "ready", "createdDateTime": "2020-04-02T20:04:25Z", "lastUpdatedDateTime": + "2020-04-02T20:06:23Z"}, {"modelId": "b44f86cc-bd71-43e9-80d8-e5b3733d1d63", + "status": "creating", "createdDateTime": "2020-10-14T19:15:01Z", "lastUpdatedDateTime": + "2020-10-14T19:15:01Z"}, {"modelId": "b45b98c0-bdc4-4963-bc22-383d7830d17a", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T15:58:00Z", + "lastUpdatedDateTime": "2021-02-25T15:58:58Z"}, {"modelId": "b4bef7cf-4cd4-41e3-868d-24a7d282f404", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:29Z", "lastUpdatedDateTime": + "2021-02-19T19:06:30Z"}, {"modelId": "b4f44495-ee8c-4921-ac20-da3aaf632799", + "status": "ready", "createdDateTime": "2020-04-10T21:11:10Z", "lastUpdatedDateTime": + "2020-04-10T21:11:19Z"}, {"modelId": "b58d03b4-8c7c-4fba-b2fb-0165b153f82c", + "status": "invalid", "createdDateTime": "2021-03-03T21:36:26Z", "lastUpdatedDateTime": + "2021-03-03T21:36:27Z"}, {"modelId": "b5cc2beb-8d51-4a4a-b539-66c3e8fac56b", + "status": "ready", "createdDateTime": "2020-11-20T17:59:49Z", "lastUpdatedDateTime": + "2020-11-20T18:00:11Z"}, {"modelId": "b63905cd-8304-454b-b841-4c64f224bdc6", + "status": "ready", "createdDateTime": "2020-03-24T20:31:59Z", "lastUpdatedDateTime": + "2020-03-24T20:32:11Z"}, {"modelId": "b6717d58-1f70-474a-b392-2c79a93107cc", + "status": "ready", "createdDateTime": "2020-04-02T16:43:13Z", "lastUpdatedDateTime": + "2020-04-02T16:45:16Z"}, {"modelId": "b7660db7-135c-4c95-ad8f-1aef264b5d48", + "status": "ready", "createdDateTime": "2020-03-15T20:10:10Z", "lastUpdatedDateTime": + "2020-03-15T20:12:10Z"}, {"modelId": "b7e2e66d-2f22-41ca-a6bb-57de0162a989", + "status": "ready", "createdDateTime": "2020-03-24T20:42:34Z", "lastUpdatedDateTime": + "2020-03-24T20:42:49Z"}, {"modelId": "b89d02b6-25de-45c5-b1b4-a9e0875dc74b", + "status": "ready", "createdDateTime": "2020-03-24T20:49:11Z", "lastUpdatedDateTime": + "2020-03-24T20:49:19Z"}, {"modelId": "b8ef57a5-bb47-45f9-a1b0-9c2a7f5d82b5", + "status": "ready", "createdDateTime": "2020-05-01T20:36:34Z", "lastUpdatedDateTime": + "2020-05-01T20:36:43Z"}, {"modelId": "ba866790-da14-4df5-b9c9-20bd8aa99a0a", + "status": "ready", "createdDateTime": "2020-03-19T01:46:22Z", "lastUpdatedDateTime": + "2020-03-19T01:48:21Z"}, {"modelId": "bab3feee-4a43-486d-952b-cc899f18f948", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:03Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: e7e94727-812a-4a67-a182-288a5448cfdf + content-length: '5840' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '167' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "bab3feee-4a43-486d-952b-cc899f18f948", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:03Z"}, {"modelId": "bab98a94-a8cc-42f9-8bae-fc961f765dce", + "status": "ready", "createdDateTime": "2020-04-09T18:24:06Z", "lastUpdatedDateTime": + "2020-04-09T18:24:16Z"}, {"modelId": "bb94db6a-107f-4d9b-adba-d1f137008bf7", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:44:11Z", "lastUpdatedDateTime": + "2020-08-11T20:44:21Z"}, {"modelId": "bc5f61cd-dc85-402e-98fc-92ce4e5bdb30", + "status": "invalid", "createdDateTime": "2020-03-15T19:24:02Z", "lastUpdatedDateTime": + "2020-03-15T19:24:03Z"}, {"modelId": "bd0e3e04-fded-400b-997b-22fd7d344904", + "status": "ready", "createdDateTime": "2020-03-27T22:52:51Z", "lastUpdatedDateTime": + "2020-03-27T22:52:58Z"}, {"modelId": "bd8e3b06-7a61-4029-a0e3-c4f58a363acc", + "status": "invalid", "createdDateTime": "2020-04-02T19:51:28Z", "lastUpdatedDateTime": + "2020-04-02T19:59:00Z"}, {"modelId": "bddfc2d3-1859-4ac6-be96-c015836bc990", + "status": "ready", "createdDateTime": "2020-08-20T20:40:47Z", "lastUpdatedDateTime": + "2020-08-20T20:40:56Z"}, {"modelId": "be5ecf2a-b609-4dd4-9f03-a0561d483732", + "status": "invalid", "createdDateTime": "2020-04-14T01:44:03Z", "lastUpdatedDateTime": + "2020-04-14T01:44:08Z"}, {"modelId": "bf01fd51-9fdd-4289-a9ed-e077dc5e1f7e", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:33:22Z", "lastUpdatedDateTime": + "2020-08-11T20:33:22Z"}, {"modelId": "bf50a011-2c92-4c97-8b76-957ea44195e1", + "status": "ready", "createdDateTime": "2020-11-20T17:55:12Z", "lastUpdatedDateTime": + "2020-11-20T17:55:28Z"}, {"modelId": "c2a8aee6-ae32-41a1-8237-95798af855d8", + "status": "ready", "createdDateTime": "2020-03-24T20:47:04Z", "lastUpdatedDateTime": + "2020-03-24T20:47:11Z"}, {"modelId": "c2b82463-0baf-4508-bc50-e65963c43d23", + "status": "ready", "createdDateTime": "2021-01-21T22:46:50Z", "lastUpdatedDateTime": + "2021-01-21T22:47:14Z"}, {"modelId": "c2fe85bf-a2c1-4348-9b95-c689a5b273f5", + "status": "ready", "createdDateTime": "2020-04-13T16:41:11Z", "lastUpdatedDateTime": + "2020-04-13T16:41:14Z"}, {"modelId": "c38e7455-34a5-4f9b-a22f-12899ccf5d09", + "status": "ready", "createdDateTime": "2020-04-21T00:11:48Z", "lastUpdatedDateTime": + "2020-04-21T00:11:51Z"}, {"modelId": "c454bdc0-0cbe-4db0-88c3-30693e1123f5", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-08-20T20:41:01Z", "lastUpdatedDateTime": "2020-08-20T20:41:04Z"}, {"modelId": + "c473728b-c3ca-4b7e-93af-662a8e17947d", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-19T18:56:03Z", "lastUpdatedDateTime": + "2021-02-19T18:56:06Z"}, {"modelId": "c4a20ce8-6e06-4c30-b47c-33b474c373ac", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-01-25T20:20:02Z", "lastUpdatedDateTime": "2021-01-25T20:20:04Z"}, + {"modelId": "c661f6da-23ef-4f24-a5ef-e91a14ef4a41", "status": "ready", "createdDateTime": + "2020-08-11T23:19:18Z", "lastUpdatedDateTime": "2020-08-11T23:19:36Z"}, {"modelId": + "c770d56d-79c6-4ccb-b89a-4552ec24056d", "status": "ready", "createdDateTime": + "2020-08-20T21:13:16Z", "lastUpdatedDateTime": "2020-08-20T21:13:25Z"}, {"modelId": + "c8bbf64a-9423-40a1-aac7-72922a6e4801", "status": "invalid", "createdDateTime": + "2020-04-09T18:35:14Z", "lastUpdatedDateTime": "2020-04-09T18:35:15Z"}, {"modelId": + "c9d22995-6965-4b36-8844-00c61879010a", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T19:15:03Z", "lastUpdatedDateTime": + "2021-02-26T19:15:03Z"}, {"modelId": "caac4b3b-23f1-4e53-a3e8-e3c234c79710", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-02-26T21:37:34Z", "lastUpdatedDateTime": "2021-02-26T21:37:38Z"}, + {"modelId": "cb325498-7a1d-4e2b-a80c-c98478231abc", "status": "ready", "createdDateTime": + "2020-04-02T16:20:38Z", "lastUpdatedDateTime": "2020-04-02T16:22:34Z"}, {"modelId": + "cbb86966-cad1-495e-911c-263e477615d1", "status": "ready", "createdDateTime": + "2020-04-10T18:01:12Z", "lastUpdatedDateTime": "2020-04-10T18:01:28Z"}, {"modelId": + "cbc91473-3054-4637-8ca8-967e11bab29a", "status": "invalid", "createdDateTime": + "2020-03-15T19:30:13Z", "lastUpdatedDateTime": "2020-03-15T19:30:14Z"}, {"modelId": + "ccbb04ae-bd77-4e74-9c97-3c39d754dc5d", "status": "ready", "createdDateTime": + "2021-01-21T18:09:35Z", "lastUpdatedDateTime": "2021-01-21T18:10:00Z"}, {"modelId": + "cd33f3fb-88e0-4180-9ce0-7710635d0050", "status": "ready", "createdDateTime": + "2020-04-02T19:46:59Z", "lastUpdatedDateTime": "2020-04-02T19:47:14Z"}, {"modelId": + "ce4cc78e-b084-4af3-b73d-944ec6592da4", "status": "ready", "createdDateTime": + "2020-11-20T18:01:24Z", "lastUpdatedDateTime": "2020-11-20T18:01:39Z"}, {"modelId": + "ce620645-036d-4c69-9601-87d80dd2e56f", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2020-11-20T17:55:57Z", "lastUpdatedDateTime": + "2020-11-20T17:55:59Z"}, {"modelId": "ce8a802c-1e9c-431d-af78-4bb9d368636b", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-01-21T18:14:22Z", "lastUpdatedDateTime": "2021-01-21T18:14:25Z"}, {"modelId": + "ce9a0d9d-1cc2-4c8d-84a0-adfea2a4b00c", "status": "invalid", "createdDateTime": + "2021-02-19T19:05:55Z", "lastUpdatedDateTime": "2021-02-19T19:05:55Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 4b368fb6-6618-487d-abec-076c6022ddef + content-length: '5560' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '135' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "ce9a0d9d-1cc2-4c8d-84a0-adfea2a4b00c", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:55Z", "lastUpdatedDateTime": + "2021-02-19T19:05:55Z"}, {"modelId": "cec2a4b0-2b5b-4058-bea7-7162870767fb", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T18:00:33Z", "lastUpdatedDateTime": "2020-11-20T18:00:35Z"}, {"modelId": + "cfdd8245-24b8-4b48-a1de-75731da6a869", "status": "ready", "createdDateTime": + "2020-11-20T17:57:04Z", "lastUpdatedDateTime": "2020-11-20T17:57:28Z"}, {"modelId": + "d02368e2-776b-4e8c-a252-4ffb09a3a2d6", "status": "ready", "createdDateTime": + "2020-04-05T22:13:49Z", "lastUpdatedDateTime": "2020-04-05T22:13:57Z"}, {"modelId": + "d0d94e15-dd9b-471c-8f5f-f5666728022c", "modelName": "my unlabeled model", + "status": "ready", "createdDateTime": "2021-01-22T02:10:08Z", "lastUpdatedDateTime": + "2021-01-22T02:10:23Z"}, {"modelId": "d132b434-376a-42c6-aa03-053bb112327f", + "status": "invalid", "createdDateTime": "2020-04-10T18:14:46Z", "lastUpdatedDateTime": + "2020-04-10T18:14:51Z"}, {"modelId": "d26a76b9-7ff5-4876-a421-433a5514d547", + "status": "ready", "createdDateTime": "2020-03-27T20:14:00Z", "lastUpdatedDateTime": + "2020-03-27T20:14:08Z"}, {"modelId": "d4357872-dce9-4fd3-841a-cee4b0daa3f6", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-19T18:56:00Z", + "lastUpdatedDateTime": "2021-02-19T18:56:00Z"}, {"modelId": "d5b6bb35-1af5-4a3c-9df1-afbe01325b37", + "status": "creating", "createdDateTime": "2020-05-29T16:22:52Z", "lastUpdatedDateTime": + "2020-05-29T16:22:52Z"}, {"modelId": "d719afdc-0ed9-453b-9249-9f5496c1f18b", + "status": "invalid", "createdDateTime": "2021-03-03T22:42:15Z", "lastUpdatedDateTime": + "2021-03-03T22:42:16Z"}, {"modelId": "d7baf796-3374-4102-808f-549e7b2bede3", + "status": "ready", "createdDateTime": "2020-03-16T22:36:18Z", "lastUpdatedDateTime": + "2020-03-16T22:38:16Z"}, {"modelId": "d7fa5a14-3b26-4d60-8a99-d4f2346c1fa2", + "status": "ready", "createdDateTime": "2021-02-19T19:05:57Z", "lastUpdatedDateTime": + "2021-02-19T19:06:27Z"}, {"modelId": "da242fae-bff0-4df3-a573-fb987c28680b", + "status": "ready", "createdDateTime": "2020-03-13T21:36:05Z", "lastUpdatedDateTime": + "2020-03-13T21:38:04Z"}, {"modelId": "dbed6e5d-b638-48dd-b70c-9495fa0b449f", + "status": "ready", "createdDateTime": "2020-03-16T22:51:48Z", "lastUpdatedDateTime": + "2020-03-16T22:52:06Z"}, {"modelId": "dbf56674-d90b-4a6c-8ec0-4e6fcebd282b", + "status": "ready", "createdDateTime": "2020-03-27T23:09:03Z", "lastUpdatedDateTime": + "2020-03-27T23:09:10Z"}, {"modelId": "dc8d5735-3f5a-4cdf-b02d-25af4466780f", + "status": "ready", "createdDateTime": "2020-04-02T00:23:48Z", "lastUpdatedDateTime": + "2020-04-02T00:25:50Z"}, {"modelId": "dd1e53c7-4dd3-4bc0-b17e-598b5b5bd2b5", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:09Z", "lastUpdatedDateTime": + "2021-02-19T19:01:10Z"}, {"modelId": "ddc69cde-4730-40c2-9426-51df12945713", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:07Z"}, {"modelId": "ddeddf4b-f082-44ad-8b42-b11d83e76113", + "status": "invalid", "createdDateTime": "2020-04-01T02:34:54Z", "lastUpdatedDateTime": + "2020-04-01T02:34:54Z"}, {"modelId": "ddf74a7a-9873-414c-bc88-f878022fa022", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:01Z", "lastUpdatedDateTime": + "2021-02-22T16:20:02Z"}, {"modelId": "de01a167-278d-4505-a49f-c79a8e1b3a36", + "status": "ready", "createdDateTime": "2020-03-16T22:26:23Z", "lastUpdatedDateTime": + "2020-03-16T22:28:23Z"}, {"modelId": "de49407c-685a-46aa-afad-5553f2ae05d9", + "status": "ready", "createdDateTime": "2020-04-02T00:26:05Z", "lastUpdatedDateTime": + "2020-04-02T00:28:05Z"}, {"modelId": "de58c08e-5f14-4db0-afd9-75615bbff0d2", + "status": "ready", "createdDateTime": "2020-04-02T16:51:56Z", "lastUpdatedDateTime": + "2020-04-02T16:53:52Z"}, {"modelId": "de92a78c-35bb-4aea-a9b1-62ec8f98fe03", + "status": "ready", "createdDateTime": "2020-03-27T20:17:58Z", "lastUpdatedDateTime": + "2020-03-27T20:18:05Z"}, {"modelId": "de92aa7f-7353-4e2b-a19b-bb37de3b3e8f", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-10-15T20:31:54Z", "lastUpdatedDateTime": "2020-10-15T20:31:57Z"}, {"modelId": + "dea616c5-7cce-4359-ae2a-7ef793cf77d8", "status": "ready", "createdDateTime": + "2020-04-13T16:40:33Z", "lastUpdatedDateTime": "2020-04-13T16:40:42Z"}, {"modelId": + "df5e4ab4-08cd-4e21-8a4f-ba0962023327", "status": "ready", "createdDateTime": + "2020-11-20T17:02:50Z", "lastUpdatedDateTime": "2020-11-20T17:03:05Z"}, {"modelId": + "dfd1e091-2bf5-48ba-9f57-a5b22786b622", "status": "ready", "createdDateTime": + "2020-04-01T23:22:11Z", "lastUpdatedDateTime": "2020-04-01T23:24:06Z"}, {"modelId": + "e072e2d3-04ce-44ce-9fbb-4d5ed06ca85f", "status": "invalid", "createdDateTime": + "2021-02-19T18:56:10Z", "lastUpdatedDateTime": "2021-02-19T18:56:11Z"}, {"modelId": + "e09252cb-4a52-4e90-b448-3f50077b8e38", "status": "creating", "createdDateTime": + "2021-02-19T19:06:23Z", "lastUpdatedDateTime": "2021-02-19T19:06:23Z"}, {"modelId": + "e167387b-a667-4784-9f41-b3f63dc378ed", "status": "ready", "createdDateTime": + "2020-03-20T00:22:58Z", "lastUpdatedDateTime": "2020-03-20T00:23:05Z"}, {"modelId": + "e2a0113e-0f8e-48d0-b67a-dcde86a914cd", "status": "ready", "createdDateTime": + "2020-11-20T17:57:47Z", "lastUpdatedDateTime": "2020-11-20T17:58:09Z"}, {"modelId": + "e2c172e6-2850-4df2-b2a6-07aba8a5ea91", "status": "ready", "createdDateTime": + "2020-04-13T16:49:51Z", "lastUpdatedDateTime": "2020-04-13T16:49:59Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 61104909-8529-4135-93ef-78f4a7696ff9 + content-length: '5595' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:12:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '156' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 58 seconds. Please contact Azure support service if you would + like to further increase the default rate limit."}}' + headers: + apim-request-id: 174f7efc-581c-487f-8fce-41fa387a7c7d + content-length: '359' + content-type: application/json + date: Wed, 03 Mar 2021 23:12:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + status: + code: 429 + message: Too Many Requests + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "e2c172e6-2850-4df2-b2a6-07aba8a5ea91", + "status": "ready", "createdDateTime": "2020-04-13T16:49:51Z", "lastUpdatedDateTime": + "2020-04-13T16:49:59Z"}, {"modelId": "e388d036-13f7-4374-af72-7aa7380108e7", + "status": "invalid", "createdDateTime": "2020-04-13T19:46:38Z", "lastUpdatedDateTime": + "2020-04-13T19:48:38Z"}, {"modelId": "e3eb7756-2c2b-4296-a9a0-a563b35d7ccb", + "status": "invalid", "createdDateTime": "2020-04-10T18:08:31Z", "lastUpdatedDateTime": + "2020-04-10T18:08:32Z"}, {"modelId": "e422873e-43c2-4f14-b557-0d775a5b037b", + "status": "invalid", "createdDateTime": "2021-02-19T18:55:57Z", "lastUpdatedDateTime": + "2021-02-19T18:55:58Z"}, {"modelId": "e461875d-77ca-421e-aa2b-8a787f5735ff", + "status": "ready", "createdDateTime": "2020-04-05T21:53:21Z", "lastUpdatedDateTime": + "2020-04-05T21:53:28Z"}, {"modelId": "e519f7e6-96e8-476b-b7a6-557f6f48bfaa", + "status": "invalid", "createdDateTime": "2020-04-09T18:17:31Z", "lastUpdatedDateTime": + "2020-04-09T18:17:31Z"}, {"modelId": "e5a2a123-af7a-4234-936a-d2ca9cd641c1", + "status": "ready", "createdDateTime": "2020-04-13T16:51:05Z", "lastUpdatedDateTime": + "2020-04-13T16:51:13Z"}, {"modelId": "e6417003-61c9-4de0-a889-3e0483a012fb", + "status": "invalid", "createdDateTime": "2021-03-03T21:17:31Z", "lastUpdatedDateTime": + "2021-03-03T21:17:32Z"}, {"modelId": "e6518ac6-6645-4cfd-9dd4-12df31de1eb4", + "status": "ready", "createdDateTime": "2020-03-19T22:16:55Z", "lastUpdatedDateTime": + "2020-03-19T22:18:55Z"}, {"modelId": "e6e06c93-42d4-49df-a506-d32ea982cd53", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:46Z", "lastUpdatedDateTime": + "2021-02-19T19:06:46Z"}, {"modelId": "e8c09d1b-d5b6-4a7e-a28e-9466f5679160", + "status": "ready", "createdDateTime": "2020-03-05T18:08:04Z", "lastUpdatedDateTime": + "2020-03-05T18:08:12Z"}, {"modelId": "e90ecd74-081f-4887-95c0-7002cefd4bdf", + "status": "invalid", "createdDateTime": "2020-03-19T22:08:57Z", "lastUpdatedDateTime": + "2020-03-19T22:08:58Z"}, {"modelId": "e95cef9a-c99b-411c-b39a-8af574dc5111", + "status": "ready", "createdDateTime": "2020-04-13T16:33:31Z", "lastUpdatedDateTime": + "2020-04-13T16:33:40Z"}, {"modelId": "e9d7df21-3ea9-4028-b13f-373c6a248aee", + "modelName": "firstcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T17:51:58Z", "lastUpdatedDateTime": + "2020-08-11T17:51:59Z"}, {"modelId": "ea24ba4a-8565-47cf-a5b6-752d717230bb", + "modelName": "my unlabeled model", "status": "ready", "createdDateTime": "2020-11-19T17:33:51Z", + "lastUpdatedDateTime": "2020-11-19T17:34:08Z"}, {"modelId": "eaaab65d-21f2-46c1-83b7-19b90415ecee", + "status": "ready", "createdDateTime": "2020-04-02T19:31:36Z", "lastUpdatedDateTime": + "2020-04-02T19:33:33Z"}, {"modelId": "eb5ff00f-b1d8-49c2-9958-fa1f4da9b629", + "status": "invalid", "createdDateTime": "2020-04-13T19:41:32Z", "lastUpdatedDateTime": + "2020-04-13T19:44:32Z"}, {"modelId": "ebc527e6-3243-4467-a72e-fe6892eb5216", + "status": "ready", "createdDateTime": "2020-03-15T19:31:47Z", "lastUpdatedDateTime": + "2020-03-15T19:33:47Z"}, {"modelId": "ebfde9f8-1278-4b81-ae76-14b96100d08d", + "status": "ready", "createdDateTime": "2020-04-13T16:41:08Z", "lastUpdatedDateTime": + "2020-04-13T16:41:22Z"}, {"modelId": "ec7345b4-6545-4b37-898a-56564505f6aa", + "status": "ready", "createdDateTime": "2020-03-16T22:25:28Z", "lastUpdatedDateTime": + "2020-03-16T22:27:25Z"}, {"modelId": "ed06d91f-96f8-4229-8896-644aa2ec76d9", + "status": "ready", "createdDateTime": "2020-03-19T22:21:33Z", "lastUpdatedDateTime": + "2020-03-19T22:21:40Z"}, {"modelId": "eed4b417-f6a5-4327-8707-20bdc4d82ffe", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2020-11-20T17:55:39Z", "lastUpdatedDateTime": "2020-11-20T17:55:42Z"}, + {"modelId": "eef0cf2f-0b15-46c1-8149-256cc57bdf71", "status": "ready", "createdDateTime": + "2020-03-20T00:22:11Z", "lastUpdatedDateTime": "2020-03-20T00:22:18Z"}, {"modelId": + "efd796a2-3362-41a2-849e-31609f91efcc", "status": "ready", "createdDateTime": + "2020-04-02T00:23:22Z", "lastUpdatedDateTime": "2020-04-02T00:25:24Z"}, {"modelId": + "f0f1400c-7fe3-42bb-8494-7a2c46716af5", "status": "invalid", "createdDateTime": + "2021-02-19T19:06:40Z", "lastUpdatedDateTime": "2021-02-19T19:06:41Z"}, {"modelId": + "f20de4fc-5ee9-4512-b124-d4d7556329c7", "status": "invalid", "createdDateTime": + "2021-02-19T19:06:35Z", "lastUpdatedDateTime": "2021-02-19T19:06:35Z"}, {"modelId": + "f296a007-a7bd-4206-bbbb-c5b88dd59c7d", "status": "invalid", "createdDateTime": + "2021-02-19T18:56:07Z", "lastUpdatedDateTime": "2021-02-19T18:56:07Z"}, {"modelId": + "f2e4f2ec-3571-4aef-836b-89ba255f50eb", "status": "invalid", "createdDateTime": + "2020-04-09T18:23:11Z", "lastUpdatedDateTime": "2020-04-09T18:23:11Z"}, {"modelId": + "f3023093-98d2-4e32-b496-b1470249649d", "status": "ready", "createdDateTime": + "2020-11-20T18:00:50Z", "lastUpdatedDateTime": "2020-11-20T18:01:08Z"}, {"modelId": + "f3691c75-c53b-4d1c-8618-1223d071ee9a", "status": "invalid", "createdDateTime": + "2021-02-25T19:41:51Z", "lastUpdatedDateTime": "2021-02-25T19:41:51Z"}, {"modelId": + "f3890bc0-50b9-4344-857a-f3defa8dafc1", "status": "ready", "createdDateTime": + "2020-04-01T23:29:45Z", "lastUpdatedDateTime": "2020-04-01T23:31:48Z"}, {"modelId": + "f39f66b2-69d9-4e38-bf5f-ba08450bbc01", "status": "ready", "createdDateTime": + "2020-04-13T16:42:32Z", "lastUpdatedDateTime": "2020-04-13T16:42:40Z"}, {"modelId": + "f3db1202-a69b-4ddb-84e5-80c9b5077197", "status": "invalid", "createdDateTime": + "2020-04-09T18:22:00Z", "lastUpdatedDateTime": "2020-04-09T18:22:01Z"}, {"modelId": + "f3dbfe5d-94e4-4953-b7fc-f185b606aee2", "status": "ready", "createdDateTime": + "2020-03-13T16:40:28Z", "lastUpdatedDateTime": "2020-03-13T16:40:45Z"}, {"modelId": + "f40282a5-c2b8-4383-86c1-7d64d498cc60", "status": "ready", "createdDateTime": + "2020-04-02T19:28:59Z", "lastUpdatedDateTime": "2020-04-02T19:30:59Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' headers: - apim-request-id: 975ebae6-2a00-4475-82b3-e8830d641e48 + apim-request-id: 4683adae-ba52-44af-a011-1fcb5580400b + content-length: '5971' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:25:54 GMT + date: Wed, 03 Mar 2021 23:13:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '219' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models/8a53846f-af9d-423b-bcb8-0b0abc3bb410?includeKeys=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=full + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- response: body: - string: '{"modelList": [{"modelId": "8a53846f-af9d-423b-bcb8-0b0abc3bb410", + string: '{"modelList": [{"modelId": "f409d651-6fe4-4fb9-a999-c35cd29eeac2", + "status": "invalid", "createdDateTime": "2021-03-03T22:30:05Z", "lastUpdatedDateTime": + "2021-03-03T22:30:06Z"}, {"modelId": "f47bb380-72a1-46ea-9a18-ab2449b18764", + "status": "invalid", "createdDateTime": "2021-02-19T18:55:59Z", "lastUpdatedDateTime": + "2021-02-19T18:55:59Z"}, {"modelId": "f5900931-ba09-4f92-904a-57666b5ca8cd", + "status": "invalid", "createdDateTime": "2020-04-01T02:30:51Z", "lastUpdatedDateTime": + "2020-04-01T02:30:53Z"}, {"modelId": "f5a2180b-341b-4410-889c-ae96b8a0d262", + "status": "ready", "createdDateTime": "2020-04-13T16:50:37Z", "lastUpdatedDateTime": + "2020-04-13T16:50:44Z"}, {"modelId": "f5d30229-3961-4553-a085-dab82f5c30c8", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:41:07Z", "lastUpdatedDateTime": + "2020-08-11T19:41:07Z"}, {"modelId": "f6124582-9fe1-46ab-a0b3-a9c84ebf5ec1", + "status": "ready", "createdDateTime": "2020-04-10T20:36:10Z", "lastUpdatedDateTime": + "2020-04-10T20:36:25Z"}, {"modelId": "f69db1c5-0480-4689-b393-f100f30efaac", + "status": "ready", "createdDateTime": "2020-04-02T20:47:54Z", "lastUpdatedDateTime": + "2020-04-02T20:49:48Z"}, {"modelId": "f6b91b15-e67b-4624-b585-c31c4671c33d", + "status": "ready", "createdDateTime": "2020-04-10T21:06:19Z", "lastUpdatedDateTime": + "2020-04-10T21:06:28Z"}, {"modelId": "f75b67df-e8ca-4406-815d-097046f8a4b7", + "status": "invalid", "createdDateTime": "2020-03-16T19:18:06Z", "lastUpdatedDateTime": + "2020-03-16T19:18:07Z"}, {"modelId": "f797ccfe-cbdd-4528-ab8c-b37924f72967", + "status": "invalid", "createdDateTime": "2020-03-05T18:22:08Z", "lastUpdatedDateTime": + "2020-03-05T18:22:08Z"}, {"modelId": "f83a8716-dfc4-4df5-be8b-2e7df43b7272", + "status": "invalid", "createdDateTime": "2020-04-09T18:28:33Z", "lastUpdatedDateTime": + "2020-04-09T18:28:35Z"}, {"modelId": "f8c3a2da-7d51-47f6-a6e0-3d8bbd823cc2", + "status": "ready", "createdDateTime": "2020-03-24T20:38:07Z", "lastUpdatedDateTime": + "2020-03-24T20:38:18Z"}, {"modelId": "f9afe989-cc62-4f3c-b9e0-b6a2923d4578", + "status": "ready", "createdDateTime": "2020-03-15T20:26:57Z", "lastUpdatedDateTime": + "2020-03-15T20:29:00Z"}, {"modelId": "fb3eeb7f-adef-4622-a137-dd17599f0f6b", + "status": "ready", "createdDateTime": "2020-04-02T17:27:49Z", "lastUpdatedDateTime": + "2020-04-02T17:29:45Z"}, {"modelId": "fbcdd5e6-475c-4361-a3fc-d3b43bb75de1", + "status": "invalid", "createdDateTime": "2021-03-03T22:24:53Z", "lastUpdatedDateTime": + "2021-03-03T22:24:54Z"}, {"modelId": "fc4fdcb2-0f84-49cb-b860-5e22cd17c44f", + "status": "ready", "createdDateTime": "2020-04-02T17:52:07Z", "lastUpdatedDateTime": + "2020-04-02T17:54:10Z"}, {"modelId": "fd3ba569-e24a-4342-a508-d9d58054a0e7", + "status": "invalid", "createdDateTime": "2021-03-01T21:11:26Z", "lastUpdatedDateTime": + "2021-03-01T21:11:26Z"}, {"modelId": "fd662a46-ee95-42b9-8fa2-bed6d1b29592", + "status": "ready", "createdDateTime": "2020-04-21T05:35:20Z", "lastUpdatedDateTime": + "2020-04-21T05:35:23Z"}, {"modelId": "fd744fab-3f7b-4ba5-a108-9a9b59ecc73b", "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": - "2020-10-30T01:25:49Z", "lastUpdatedDateTime": "2020-10-30T01:25:51Z"}], "nextLink": + "2021-02-19T18:56:01Z", "lastUpdatedDateTime": "2021-02-19T18:56:04Z"}, {"modelId": + "fddc5f4d-06da-4bac-b368-15522b733c73", "status": "ready", "createdDateTime": + "2020-03-05T18:10:41Z", "lastUpdatedDateTime": "2020-03-05T18:10:49Z"}, {"modelId": + "fe3b2759-5703-4bef-8300-e0cdd3fe45a2", "status": "ready", "createdDateTime": + "2020-04-10T20:39:48Z", "lastUpdatedDateTime": "2020-04-10T20:39:56Z"}, {"modelId": + "fe4858ef-b3f1-4ba0-ad54-8aa644564b75", "status": "ready", "createdDateTime": + "2020-11-19T18:02:49Z", "lastUpdatedDateTime": "2020-11-19T18:03:05Z"}, {"modelId": + "fe811743-1b2d-468e-898b-09234da8b3bc", "status": "ready", "createdDateTime": + "2020-03-16T16:00:29Z", "lastUpdatedDateTime": "2020-03-16T16:02:34Z"}], "nextLink": ""}' headers: - apim-request-id: df86eee6-84bd-480d-9460-ad0f6c1c05f7 + apim-request-id: 9f9eda43-5b08-446d-bdb9-75cae1accce4 + content-length: '3688' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:25:54 GMT + date: Wed, 03 Mar 2021 23:13:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '107' + x-envoy-upstream-service-time: '150' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models?op=full + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/8a53846f-af9d-423b-bcb8-0b0abc3bb410 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652 response: body: string: '' headers: - apim-request-id: 81294db9-6695-49f6-abf2-5b56ee9d75d0 + apim-request-id: 215c0db1-a03d-4253-9132-f9452ba0167b content-length: '0' - date: Fri, 30 Oct 2020 01:25:55 GMT + date: Wed, 03 Mar 2021 23:13:23 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '29' + x-envoy-upstream-service-time: '21' status: code: 204 message: No Content - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models/8a53846f-af9d-423b-bcb8-0b0abc3bb410 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/8a53846f-af9d-423b-bcb8-0b0abc3bb410?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true response: body: - string: '{"error": {"code": "1022", "message": "Model with ''id=8a53846f-af9d-423b-bcb8-0b0abc3bb410'' + string: '{"error": {"code": "1022", "message": "Model with ''id=4f687db5-feee-46fe-b17a-8e188ba82652'' not found."}}' headers: - apim-request-id: f26dc329-22a5-410b-994a-cfbddbdf821d + apim-request-id: 6ccb90fc-2307-4d81-8bdf-9bcdf55c65f1 + content-length: '101' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:25:55 GMT + date: Wed, 03 Mar 2021 23:13:23 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '14' status: code: 404 message: Not Found - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models/8a53846f-af9d-423b-bcb8-0b0abc3bb410?includeKeys=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/4f687db5-feee-46fe-b17a-8e188ba82652?includeKeys=true version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_mgmt_model_unlabeled.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_mgmt_model_unlabeled.yaml index aa9ba8bde7bb..73302434d17b 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_mgmt_model_unlabeled.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_mgmt_async.test_mgmt_model_unlabeled.yaml @@ -1,223 +1,1447 @@ interactions: - request: - body: 'b''{"source": "containersasurl", "sourceFilter": {"prefix": "", "includeSubFolders": + body: 'b''{"source": "container_sas_url", "sourceFilter": {"prefix": "", "includeSubFolders": false}, "useLabelFile": false}''' headers: Accept: - application/json Content-Length: - - '288' + - '284' Content-Type: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models response: body: string: '' headers: - apim-request-id: 88e7a0b6-dd98-4fa6-9ee8-2de4b7135783 + apim-request-id: 0d63da02-0f22-4487-8033-53d9fc5870b1 content-length: '0' - date: Fri, 30 Oct 2020 01:25:55 GMT - location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f + date: Wed, 03 Mar 2021 23:13:23 GMT + location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '51' + x-envoy-upstream-service-time: '494' status: code: 201 message: Created - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "b626ac41-4383-4e60-bdd4-37c400a5416f", "status": - "creating", "createdDateTime": "2020-10-30T01:25:56Z", "lastUpdatedDateTime": - "2020-10-30T01:25:56Z"}}' + string: '{"modelInfo": {"modelId": "412d5914-4fa9-4d2c-8d4b-4759cf1187ae", "status": + "creating", "createdDateTime": "2021-03-03T23:13:24Z", "lastUpdatedDateTime": + "2021-03-03T23:13:24Z"}}' headers: - apim-request-id: 265e6cb5-3851-41d3-88db-3cfd71780a6b + apim-request-id: 30e6e494-229e-475e-aec0-b9d4cd9ea363 + content-length: '170' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:26:01 GMT + date: Wed, 03 Mar 2021 23:13:29 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '14' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f?includeKeys=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae?includeKeys=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "b626ac41-4383-4e60-bdd4-37c400a5416f", "status": - "creating", "createdDateTime": "2020-10-30T01:25:56Z", "lastUpdatedDateTime": - "2020-10-30T01:25:56Z"}}' + string: '{"modelInfo": {"modelId": "412d5914-4fa9-4d2c-8d4b-4759cf1187ae", "status": + "creating", "createdDateTime": "2021-03-03T23:13:24Z", "lastUpdatedDateTime": + "2021-03-03T23:13:24Z"}}' headers: - apim-request-id: f9560747-1a29-4d89-897b-2eddc6ff18ed + apim-request-id: 5ca757c5-9f20-4ab0-a5ba-fa90d45213f4 + content-length: '170' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:26:06 GMT + date: Wed, 03 Mar 2021 23:13:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '34' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f?includeKeys=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae?includeKeys=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "b626ac41-4383-4e60-bdd4-37c400a5416f", "status": - "ready", "createdDateTime": "2020-10-30T01:25:56Z", "lastUpdatedDateTime": - "2020-10-30T01:26:11Z"}, "keys": {"clusters": {"0": ["Additional Notes:", + string: '{"modelInfo": {"modelId": "412d5914-4fa9-4d2c-8d4b-4759cf1187ae", "status": + "ready", "createdDateTime": "2021-03-03T23:13:24Z", "lastUpdatedDateTime": + "2021-03-03T23:13:38Z"}, "keys": {"clusters": {"0": ["Additional Notes:", "Address:", "Company Name:", "Company Phone:", "Dated As:", "Details", "Email:", - "Ft Lauderdale, FL Phone:", "Hero Limited", "Name:", "Phone:", "Purchase Order", - "Purchase Order #:", "Quantity", "SUBTOTAL", "Seattle, WA 93849 Phone:", "Shipped - From", "Shipped To", "TAX", "TOTAL", "Total", "Unit Price", "Vendor Name:", - "Website:"]}}, "trainResult": {"trainingDocuments": [{"documentName": "Form_1.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_2.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_3.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_4.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_5.jpg", - "pages": 1, "errors": [], "status": "succeeded"}], "errors": []}}' + "Hero Limited", "Name:", "Phone:", "Purchase Order", "Purchase Order #:", + "Quantity", "SUBTOTAL", "Seattle, WA 93849 Phone:", "Shipped From", "Shipped + To", "TAX", "TOTAL", "Total", "Unit Price", "Vendor Name:", "Website:"]}}, + "trainResult": {"trainingDocuments": [{"documentName": "Form_1.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_2.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_3.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_4.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_5.jpg", "pages": + 1, "errors": [], "status": "succeeded"}], "errors": []}}' headers: - apim-request-id: 5e01d648-8edd-493b-b383-e81b4ff7d6ca + apim-request-id: 2b4f56bf-bbd7-4f94-b33c-6007354a9708 + content-length: '912' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:26:10 GMT + date: Wed, 03 Mar 2021 23:13:39 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.1/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f?includeKeys=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae?includeKeys=true - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae?includeKeys=true response: body: - string: '{"modelInfo": {"modelId": "b626ac41-4383-4e60-bdd4-37c400a5416f", "status": - "ready", "createdDateTime": "2020-10-30T01:25:56Z", "lastUpdatedDateTime": - "2020-10-30T01:26:11Z"}, "keys": {"clusters": {"0": ["Additional Notes:", + string: '{"modelInfo": {"modelId": "412d5914-4fa9-4d2c-8d4b-4759cf1187ae", "status": + "ready", "createdDateTime": "2021-03-03T23:13:24Z", "lastUpdatedDateTime": + "2021-03-03T23:13:38Z"}, "keys": {"clusters": {"0": ["Additional Notes:", "Address:", "Company Name:", "Company Phone:", "Dated As:", "Details", "Email:", - "Ft Lauderdale, FL Phone:", "Hero Limited", "Name:", "Phone:", "Purchase Order", - "Purchase Order #:", "Quantity", "SUBTOTAL", "Seattle, WA 93849 Phone:", "Shipped - From", "Shipped To", "TAX", "TOTAL", "Total", "Unit Price", "Vendor Name:", - "Website:"]}}, "trainResult": {"trainingDocuments": [{"documentName": "Form_1.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_2.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_3.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_4.jpg", - "pages": 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_5.jpg", - "pages": 1, "errors": [], "status": "succeeded"}], "errors": []}}' + "Hero Limited", "Name:", "Phone:", "Purchase Order", "Purchase Order #:", + "Quantity", "SUBTOTAL", "Seattle, WA 93849 Phone:", "Shipped From", "Shipped + To", "TAX", "TOTAL", "Total", "Unit Price", "Vendor Name:", "Website:"]}}, + "trainResult": {"trainingDocuments": [{"documentName": "Form_1.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_2.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_3.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_4.jpg", "pages": + 1, "errors": [], "status": "succeeded"}, {"documentName": "Form_5.jpg", "pages": + 1, "errors": [], "status": "succeeded"}], "errors": []}}' headers: - apim-request-id: d8146df7-f377-4548-96e7-2642ab955916 + apim-request-id: 4845127b-52af-49d1-a74a-c668990fd5e9 + content-length: '912' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:26:10 GMT + date: Wed, 03 Mar 2021 23:13:39 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f?includeKeys=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae?includeKeys=true - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models?op=full + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=full response: body: - string: '{"modelList": [{"modelId": "b626ac41-4383-4e60-bdd4-37c400a5416f", - "status": "ready", "createdDateTime": "2020-10-30T01:25:56Z", "lastUpdatedDateTime": - "2020-10-30T01:26:11Z"}], "nextLink": ""}' + string: '{"modelList": [{"modelId": "027cae79-768f-4ecd-8376-cfdcfe86b6dc", + "status": "invalid", "createdDateTime": "2021-03-03T22:17:25Z", "lastUpdatedDateTime": + "2021-03-03T22:17:25Z"}, {"modelId": "0349ec84-1570-43cf-be3c-ce753fdfb98f", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:47Z", "lastUpdatedDateTime": "2020-11-20T17:56:50Z"}, {"modelId": + "03608263-829e-41b3-a080-f471c165809b", "status": "ready", "createdDateTime": + "2020-04-02T01:35:33Z", "lastUpdatedDateTime": "2020-04-02T01:37:36Z"}, {"modelId": + "046720f8-2956-4b31-9153-915048e815e5", "modelName": "model1", "status": "invalid", + "createdDateTime": "2021-02-19T19:06:57Z", "lastUpdatedDateTime": "2021-02-19T19:06:58Z"}, + {"modelId": "05cfe98b-5315-4de8-bbf0-cbc97aa05857", "attributes": {"isComposed": + false}, "status": "ready", "createdDateTime": "2021-02-19T19:05:57Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "05d8dd77-177c-4f27-ab8e-53d5f6856d4c", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-25T15:54:54Z", + "lastUpdatedDateTime": "2021-02-25T15:54:57Z"}, {"modelId": "06250af1-6a8f-4f6d-8432-4964338e0033", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-19T18:08:35Z", + "lastUpdatedDateTime": "2020-11-19T18:08:51Z"}, {"modelId": "06829eaa-56f7-42c2-8c48-0060e58a7c47", + "status": "ready", "createdDateTime": "2020-04-02T17:48:45Z", "lastUpdatedDateTime": + "2020-04-02T17:50:46Z"}, {"modelId": "07a9d365-0629-4b5c-b913-6dd3e1f2e617", + "status": "invalid", "createdDateTime": "2020-04-09T18:19:12Z", "lastUpdatedDateTime": + "2020-04-09T18:19:12Z"}, {"modelId": "08d21ef4-e9c4-425b-a22e-e5070ecd04b8", + "status": "ready", "createdDateTime": "2020-04-20T19:50:17Z", "lastUpdatedDateTime": + "2020-04-20T19:50:24Z"}, {"modelId": "09a6923d-425d-49f6-a967-6cb78a718b10", + "status": "ready", "createdDateTime": "2020-04-02T19:06:24Z", "lastUpdatedDateTime": + "2020-04-02T19:08:26Z"}, {"modelId": "0a0a321b-5a0a-40c7-8178-88d478aa8bc8", + "status": "ready", "createdDateTime": "2020-03-12T22:35:52Z", "lastUpdatedDateTime": + "2020-03-12T22:36:04Z"}, {"modelId": "0a9f53c0-6a42-43a9-aec1-8f897d23a2e0", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:36:47Z", "lastUpdatedDateTime": + "2020-08-11T19:36:47Z"}, {"modelId": "0af45f1a-2639-4cce-aaa8-d522088af823", + "status": "invalid", "createdDateTime": "2021-03-03T22:51:37Z", "lastUpdatedDateTime": + "2021-03-03T22:51:37Z"}, {"modelId": "0b4e3b6f-e257-4bea-8fbe-f1a36cbb9c34", + "status": "ready", "createdDateTime": "2020-11-19T17:16:30Z", "lastUpdatedDateTime": + "2020-11-19T17:16:46Z"}, {"modelId": "0bbb06e5-027d-4852-ba03-34c210a8b37d", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:23Z", "lastUpdatedDateTime": + "2021-02-19T19:06:24Z"}, {"modelId": "0c23fe9c-8c37-496d-a730-b4345d98efa1", + "status": "invalid", "createdDateTime": "2020-04-01T01:39:24Z", "lastUpdatedDateTime": + "2020-04-01T01:39:25Z"}, {"modelId": "0c253e30-4d5d-4eb3-a511-9954117b2ad6", + "status": "ready", "createdDateTime": "2020-04-06T21:51:35Z", "lastUpdatedDateTime": + "2020-04-06T21:51:37Z"}, {"modelId": "0c262f88-6b96-463a-b117-c8c05b1f283a", + "status": "ready", "createdDateTime": "2020-04-13T16:51:25Z", "lastUpdatedDateTime": + "2020-04-13T16:51:28Z"}, {"modelId": "0c751614-bf54-485d-a7e3-bdeae944cacf", + "modelName": "mymodel", "status": "invalid", "createdDateTime": "2021-02-19T19:07:03Z", + "lastUpdatedDateTime": "2021-02-19T19:07:03Z"}, {"modelId": "0cd58150-a8ab-4dc6-b6c4-c38fb3cb4a72", + "status": "creating", "createdDateTime": "2020-05-29T16:04:30Z", "lastUpdatedDateTime": + "2020-05-29T16:04:30Z"}, {"modelId": "0d90db32-948c-48b6-a0b6-d55aceea3f1b", + "status": "invalid", "createdDateTime": "2020-04-02T22:12:27Z", "lastUpdatedDateTime": + "2020-04-02T22:12:28Z"}, {"modelId": "0d983956-58a2-4eb9-88cd-b21babb53b81", + "status": "ready", "createdDateTime": "2020-04-02T01:43:12Z", "lastUpdatedDateTime": + "2020-04-02T01:45:12Z"}, {"modelId": "0fa1a763-9fca-4b2c-a836-2c735bfc04e1", + "status": "ready", "createdDateTime": "2020-11-19T21:19:07Z", "lastUpdatedDateTime": + "2020-11-19T21:19:23Z"}, {"modelId": "1032c1fb-d21e-4a62-b243-81b566d14cd4", + "status": "ready", "createdDateTime": "2021-02-19T19:05:58Z", "lastUpdatedDateTime": + "2021-02-19T19:06:27Z"}, {"modelId": "103f3d33-52a4-44f9-ace9-f02af6d9ba05", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:15:44Z", "lastUpdatedDateTime": + "2020-08-11T19:15:49Z"}, {"modelId": "11035dc7-1d65-4854-8448-6b398400ad76", + "modelName": "unlabeled", "status": "invalid", "createdDateTime": "2021-02-26T20:14:56Z", + "lastUpdatedDateTime": "2021-02-26T20:14:56Z"}, {"modelId": "11e430a0-6d91-415d-9d55-0a5e85caeb03", + "status": "ready", "createdDateTime": "2020-04-21T05:31:24Z", "lastUpdatedDateTime": + "2020-04-21T05:31:32Z"}, {"modelId": "11fbb12b-08ba-4366-81a6-201e2ad5e7b2", + "status": "ready", "createdDateTime": "2021-02-19T18:56:02Z", "lastUpdatedDateTime": + "2021-02-19T18:56:29Z"}, {"modelId": "121189b0-b26b-4993-8043-1c5edb12bea9", + "status": "invalid", "createdDateTime": "2021-03-03T20:09:55Z", "lastUpdatedDateTime": + "2021-03-03T20:09:55Z"}, {"modelId": "128f86f1-8257-42c2-acf0-151eca2f42ec", + "status": "ready", "createdDateTime": "2020-04-13T17:42:23Z", "lastUpdatedDateTime": + "2020-04-13T17:42:31Z"}, {"modelId": "13bac5a8-dc61-4ab2-b523-14afcdaff04b", + "status": "invalid", "createdDateTime": "2021-03-03T22:26:07Z", "lastUpdatedDateTime": + "2021-03-03T22:26:07Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!212!MDAwMTEzIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzEzYmFjNWE4LWRjNjEtNGFiMi1iNTIzLTE0YWZjZGFmZjA0Yi92ZXJzaW9uLXYyLjEtcHJldmlldy4zITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ--"}' headers: - apim-request-id: d6fd215b-0b35-4594-b913-0ed0353c41ba + apim-request-id: 011fe8e6-e103-4182-9804-44e711ddda0a + content-length: '5642' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:26:10 GMT + date: Wed, 03 Mar 2021 23:13:39 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '269' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models?op=full + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?op=full - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!212!MDAwMTEzIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzEzYmFjNWE4LWRjNjEtNGFiMi1iNTIzLTE0YWZjZGFmZjA0Yi92ZXJzaW9uLXYyLjEtcHJldmlldy4zITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ-- + response: + body: + string: '{"modelList": [{"modelId": "13bac5a8-dc61-4ab2-b523-14afcdaff04b", + "status": "invalid", "createdDateTime": "2021-03-03T22:26:07Z", "lastUpdatedDateTime": + "2021-03-03T22:26:07Z"}, {"modelId": "1407631e-cce1-49fc-8868-2bc95932c157", + "status": "ready", "createdDateTime": "2020-03-27T20:11:07Z", "lastUpdatedDateTime": + "2020-03-27T20:11:15Z"}, {"modelId": "15f25afa-b250-4d26-b375-f05aa70e3278", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T21:55:29Z", "lastUpdatedDateTime": + "2020-08-11T21:55:29Z"}, {"modelId": "16e581dd-4947-439c-9b19-411ef7734700", + "status": "ready", "createdDateTime": "2020-04-10T20:45:47Z", "lastUpdatedDateTime": + "2020-04-10T20:45:56Z"}, {"modelId": "178c93a0-c522-4862-a8c8-57ef873c6168", + "status": "ready", "createdDateTime": "2020-03-05T18:25:03Z", "lastUpdatedDateTime": + "2020-03-05T18:25:05Z"}, {"modelId": "18066853-86a6-410a-991d-4ce0312df101", + "status": "invalid", "createdDateTime": "2020-04-10T18:09:23Z", "lastUpdatedDateTime": + "2020-04-10T18:09:24Z"}, {"modelId": "180a64b8-d1da-4b03-8822-6f1bbf10682c", + "status": "ready", "createdDateTime": "2020-03-30T21:16:27Z", "lastUpdatedDateTime": + "2020-03-30T21:18:28Z"}, {"modelId": "1925120a-534b-4978-9fa7-79e9d0968200", + "status": "invalid", "createdDateTime": "2020-04-02T19:59:19Z", "lastUpdatedDateTime": + "2020-04-02T19:59:19Z"}, {"modelId": "1b18185c-90f8-4416-b9a4-de734b8a3cbd", + "status": "creating", "createdDateTime": "2020-07-02T19:29:54Z", "lastUpdatedDateTime": + "2020-07-02T19:29:54Z"}, {"modelId": "1b9f130b-e3c1-4b11-8c38-e6b42f0cceaf", + "status": "invalid", "createdDateTime": "2021-03-03T20:09:49Z", "lastUpdatedDateTime": + "2021-03-03T20:09:50Z"}, {"modelId": "1be78ab6-f6b1-40d1-a92e-c248b6fd8beb", + "status": "invalid", "createdDateTime": "2021-03-03T21:50:30Z", "lastUpdatedDateTime": + "2021-03-03T21:50:30Z"}, {"modelId": "1d9dcd3e-d60d-4e77-8982-14a34c43aed8", + "status": "ready", "createdDateTime": "2020-04-10T16:56:22Z", "lastUpdatedDateTime": + "2020-04-10T16:56:31Z"}, {"modelId": "1e44c0b5-7549-4344-8f09-7cee4e2fb7f2", + "status": "ready", "createdDateTime": "2020-04-02T19:11:08Z", "lastUpdatedDateTime": + "2020-04-02T19:13:12Z"}, {"modelId": "1e48d82a-91d9-4b03-84cb-e980475bec0c", + "status": "invalid", "createdDateTime": "2020-04-01T17:38:00Z", "lastUpdatedDateTime": + "2020-04-01T17:38:01Z"}, {"modelId": "1ea71d96-9a89-48a5-bd1f-9c08c7bef5b4", + "status": "invalid", "createdDateTime": "2021-03-01T21:15:25Z", "lastUpdatedDateTime": + "2021-03-01T21:15:25Z"}, {"modelId": "1f12f046-941f-4a1c-9c55-df6070c2a0a3", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:46:07Z", "lastUpdatedDateTime": + "2020-08-11T19:46:07Z"}, {"modelId": "20229c83-bb46-4e83-8175-cd6814e564b5", + "status": "invalid", "createdDateTime": "2020-04-02T19:41:06Z", "lastUpdatedDateTime": + "2020-04-02T19:42:07Z"}, {"modelId": "20741f36-3cbc-43e3-9198-973bcf810e38", + "status": "ready", "createdDateTime": "2020-04-02T19:09:18Z", "lastUpdatedDateTime": + "2020-04-02T19:11:22Z"}, {"modelId": "217ac7d5-09a9-428c-9e71-c2936c3758cc", + "status": "invalid", "createdDateTime": "2021-03-03T22:17:31Z", "lastUpdatedDateTime": + "2021-03-03T22:17:31Z"}, {"modelId": "21a7199f-527b-44a5-9e53-40df23e817b8", + "status": "invalid", "createdDateTime": "2021-03-03T21:43:09Z", "lastUpdatedDateTime": + "2021-03-03T21:43:10Z"}, {"modelId": "229dc8b9-574f-4fb3-9130-47c6ba79966e", + "status": "ready", "createdDateTime": "2020-04-01T23:25:34Z", "lastUpdatedDateTime": + "2020-04-01T23:27:36Z"}, {"modelId": "2374f501-67ac-450b-be23-4d12b300940a", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-03-01T16:04:55Z", + "lastUpdatedDateTime": "2021-03-01T16:04:56Z"}, {"modelId": "24bd010b-0f58-4808-854f-ae18d69a097e", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:01Z", "lastUpdatedDateTime": + "2021-02-19T18:56:02Z"}, {"modelId": "252f2c01-3305-4ef1-a625-2eed6f43d08a", + "status": "ready", "createdDateTime": "2020-04-01T23:01:25Z", "lastUpdatedDateTime": + "2020-04-01T23:03:25Z"}, {"modelId": "2598bc24-2d79-475e-a44a-351251d544c7", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "25d83018-a1d1-42ea-aaab-db80101e72f0", + "status": "invalid", "createdDateTime": "2021-03-01T21:12:29Z", "lastUpdatedDateTime": + "2021-03-01T21:12:30Z"}, {"modelId": "27533222-4f99-41e2-bd54-b3598918639e", + "status": "ready", "createdDateTime": "2020-11-19T21:37:41Z", "lastUpdatedDateTime": + "2020-11-19T21:38:18Z"}, {"modelId": "293a38ba-6fb2-424f-8290-4b0bbe73e820", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-26T18:54:00Z", + "lastUpdatedDateTime": "2021-02-26T18:54:51Z"}, {"modelId": "297766a7-8028-4548-83bd-c4af696fa9c4", + "status": "ready", "createdDateTime": "2020-03-19T22:15:58Z", "lastUpdatedDateTime": + "2020-03-19T22:16:15Z"}, {"modelId": "2b84f4f2-a0d2-4e31-8c4b-4c102f521e59", + "status": "ready", "createdDateTime": "2020-04-05T22:26:42Z", "lastUpdatedDateTime": + "2020-04-05T22:26:49Z"}, {"modelId": "2c1aee9f-c495-4412-aa51-b7e9dad2681c", + "status": "invalid", "createdDateTime": "2021-03-03T21:21:07Z", "lastUpdatedDateTime": + "2021-03-03T21:21:08Z"}, {"modelId": "2c2d9b81-1166-4dfc-b2c6-f5f40523887c", + "status": "invalid", "createdDateTime": "2020-03-16T19:18:56Z", "lastUpdatedDateTime": + "2020-03-16T19:18:57Z"}, {"modelId": "2c47ef69-7c97-4291-86f0-158d9eb82e3b", + "modelName": "mymodel", "status": "invalid", "createdDateTime": "2021-02-19T19:07:09Z", + "lastUpdatedDateTime": "2021-02-19T19:07:09Z"}, {"modelId": "2c8d5479-1486-4557-a41c-10aac7e30cad", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "2de6a454-2901-4b2b-82cf-ae7dcf9f8231", + "status": "invalid", "createdDateTime": "2020-03-05T18:05:36Z", "lastUpdatedDateTime": + "2020-03-05T18:05:39Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzJlMzJiYWNjLWRhZWMtNGVlMS04OTZlLTUyMWJiODBiMzg3Yy8yZTMyYmFjYy1kYWVjLTRlZTEtODk2ZS01MjFiYjgwYjM4N2MuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 6d010cd5-c1ea-44c5-bbbf-15cdd285f9c8 + content-length: '6027' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:13:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '360' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!212!MDAwMTEzIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzEzYmFjNWE4LWRjNjEtNGFiMi1iNTIzLTE0YWZjZGFmZjA0Yi92ZXJzaW9uLXYyLjEtcHJldmlldy4zITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ-- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzJlMzJiYWNjLWRhZWMtNGVlMS04OTZlLTUyMWJiODBiMzg3Yy8yZTMyYmFjYy1kYWVjLTRlZTEtODk2ZS01MjFiYjgwYjM4N2MuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "2e32bacc-daec-4ee1-896e-521bb80b387c", + "status": "creating", "createdDateTime": "2020-05-20T00:03:01Z", "lastUpdatedDateTime": + "2020-05-20T00:03:01Z"}, {"modelId": "2fb69599-fb4b-4e48-81f5-80fec8cbd40e", + "status": "invalid", "createdDateTime": "2021-03-03T22:19:03Z", "lastUpdatedDateTime": + "2021-03-03T22:19:04Z"}, {"modelId": "30e01d7e-fc14-4894-b325-ff9c2c299dee", + "status": "ready", "createdDateTime": "2020-11-19T18:06:01Z", "lastUpdatedDateTime": + "2020-11-19T18:06:18Z"}, {"modelId": "319704f8-f5e0-4b80-a94a-4a37c7bd45c1", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "31c62d2e-aaea-4ce2-b63f-e7ca4ca219df", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:02Z", "lastUpdatedDateTime": + "2021-02-22T16:20:19Z"}, {"modelId": "31f7c2b6-6e4f-45db-ae54-7be3492141ee", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:03Z", "lastUpdatedDateTime": + "2021-02-22T16:20:03Z"}, {"modelId": "325b479e-a871-48dc-a027-03000a3c5d83", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:56Z", "lastUpdatedDateTime": + "2021-02-19T19:05:57Z"}, {"modelId": "33486c04-5819-4fdf-931a-d4f8100c8293", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:11Z", "lastUpdatedDateTime": + "2021-02-19T19:01:12Z"}, {"modelId": "3392a433-a09d-4d92-ae6b-e563c1384542", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:46:29Z", "lastUpdatedDateTime": + "2020-08-11T19:46:29Z"}, {"modelId": "33c8e981-f08a-42b5-a43f-f81806c4a2b5", + "status": "ready", "createdDateTime": "2020-04-10T21:08:38Z", "lastUpdatedDateTime": + "2020-04-10T21:08:47Z"}, {"modelId": "33f9b89e-ef67-4c0f-b726-1cd9d19cbcb6", + "status": "ready", "createdDateTime": "2020-04-02T19:15:32Z", "lastUpdatedDateTime": + "2020-04-02T19:17:28Z"}, {"modelId": "34688789-9891-4bba-b91d-37dd357661f7", + "status": "invalid", "createdDateTime": "2020-03-05T18:22:55Z", "lastUpdatedDateTime": + "2020-03-05T18:22:55Z"}, {"modelId": "356fc9f8-1bd3-4427-b6fa-4ca46a12812a", + "status": "ready", "createdDateTime": "2020-04-02T00:28:44Z", "lastUpdatedDateTime": + "2020-04-02T00:30:45Z"}, {"modelId": "3725e29d-308c-49be-9904-1ce5e085b87b", + "status": "ready", "createdDateTime": "2020-04-09T17:36:08Z", "lastUpdatedDateTime": + "2020-04-09T17:36:17Z"}, {"modelId": "373ab10b-ea40-4689-9dd7-5fb4d028ccde", + "status": "ready", "createdDateTime": "2020-11-20T17:37:25Z", "lastUpdatedDateTime": + "2020-11-20T17:37:41Z"}, {"modelId": "374e5862-9360-4429-a5c2-55c5cc3a66ac", + "status": "ready", "createdDateTime": "2020-03-27T23:00:23Z", "lastUpdatedDateTime": + "2020-03-27T23:00:32Z"}, {"modelId": "380a10fb-85b3-42ec-81ee-f4a7a8ef5f1e", + "status": "ready", "createdDateTime": "2020-04-02T00:07:12Z", "lastUpdatedDateTime": + "2020-04-02T00:09:15Z"}, {"modelId": "3851b84e-5b43-49d1-b98a-00c636f780c1", + "status": "ready", "createdDateTime": "2020-11-19T21:34:53Z", "lastUpdatedDateTime": + "2020-11-19T21:35:09Z"}, {"modelId": "3b71c908-f4b0-4245-9f2c-fcab3320d6c0", + "status": "invalid", "createdDateTime": "2020-03-13T21:38:42Z", "lastUpdatedDateTime": + "2020-03-13T21:38:43Z"}, {"modelId": "3c4089a9-afc3-4080-aa41-c0efedf9029a", + "status": "ready", "createdDateTime": "2020-04-02T16:57:36Z", "lastUpdatedDateTime": + "2020-04-02T16:59:42Z"}, {"modelId": "3c436ebc-7a07-4748-8f0d-0a9ea53dc624", + "status": "invalid", "createdDateTime": "2020-04-01T01:53:34Z", "lastUpdatedDateTime": + "2020-04-01T01:53:35Z"}, {"modelId": "3c70b5cf-2e6f-4eff-ba98-370c5178f9e6", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:00Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "3d9d94bc-ae95-46df-821d-613a58adbe92", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:08Z", "lastUpdatedDateTime": "2021-02-19T18:56:11Z"}, {"modelId": + "3e4fce16-793c-442a-8c35-84fc716734a2", "status": "invalid", "createdDateTime": + "2020-04-13T19:42:52Z", "lastUpdatedDateTime": "2020-04-13T19:45:52Z"}, {"modelId": + "3e931bc9-94bb-4c05-bd28-f3af1023a78f", "status": "ready", "createdDateTime": + "2020-11-20T16:49:47Z", "lastUpdatedDateTime": "2020-11-20T16:50:04Z"}, {"modelId": + "3ec666a5-0267-4caf-9c09-ef8bfdf234da", "status": "ready", "createdDateTime": + "2020-04-02T17:30:06Z", "lastUpdatedDateTime": "2020-04-02T17:32:03Z"}, {"modelId": + "3f005482-fff7-4003-8e01-bcfe625f7648", "modelName": "mycomposedmodel", "attributes": + {"isComposed": true}, "status": "ready", "createdDateTime": "2020-09-15T00:28:40Z", + "lastUpdatedDateTime": "2020-09-15T00:28:41Z"}, {"modelId": "3f20291f-8372-4db1-a46c-2a69bbe493cf", + "status": "ready", "createdDateTime": "2020-03-16T16:28:19Z", "lastUpdatedDateTime": + "2020-03-16T16:30:23Z"}, {"modelId": "412d5914-4fa9-4d2c-8d4b-4759cf1187ae", + "status": "ready", "createdDateTime": "2021-03-03T23:13:24Z", "lastUpdatedDateTime": + "2021-03-03T23:13:38Z"}, {"modelId": "41a711cd-9c4e-48f7-be80-b166ac0c9a91", + "status": "ready", "createdDateTime": "2020-03-24T20:41:33Z", "lastUpdatedDateTime": + "2020-03-24T20:41:53Z"}, {"modelId": "4211beb5-40f4-4433-a41f-f710da174195", + "status": "invalid", "createdDateTime": "2020-04-02T17:17:14Z", "lastUpdatedDateTime": + "2020-04-02T17:18:12Z"}, {"modelId": "428b2349-e0a2-4d1e-87d0-20f9f43326a8", + "status": "ready", "createdDateTime": "2020-04-21T05:39:12Z", "lastUpdatedDateTime": + "2020-04-21T05:39:20Z"}, {"modelId": "4294bb2d-e168-4edf-970a-efd2c689b9b5", + "status": "ready", "createdDateTime": "2021-02-19T18:56:08Z", "lastUpdatedDateTime": + "2021-02-19T18:56:38Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzQyOTRiYjJkLWUxNjgtNGVkZi05NzBhLWVmZDJjNjg5YjliNS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 5d6945de-1814-4ebb-9fea-f9eff4e64577 + content-length: '5637' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:13:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '153' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzJlMzJiYWNjLWRhZWMtNGVlMS04OTZlLTUyMWJiODBiMzg3Yy8yZTMyYmFjYy1kYWVjLTRlZTEtODk2ZS01MjFiYjgwYjM4N2MuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzQyOTRiYjJkLWUxNjgtNGVkZi05NzBhLWVmZDJjNjg5YjliNS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "4294bb2d-e168-4edf-970a-efd2c689b9b5", + "status": "ready", "createdDateTime": "2021-02-19T18:56:08Z", "lastUpdatedDateTime": + "2021-02-19T18:56:38Z"}, {"modelId": "42e285f7-fd3d-4440-bd44-6b9af13b259b", + "status": "invalid", "createdDateTime": "2020-04-13T19:44:25Z", "lastUpdatedDateTime": + "2020-04-13T19:44:25Z"}, {"modelId": "43164a17-f292-4cfc-9496-92a2f6b90222", + "status": "ready", "createdDateTime": "2020-03-27T22:59:36Z", "lastUpdatedDateTime": + "2020-03-27T22:59:45Z"}, {"modelId": "4351b6b3-3d21-4055-b138-1d280ef7b04b", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:34:49Z", "lastUpdatedDateTime": + "2020-08-11T20:34:54Z"}, {"modelId": "436a33e3-9c49-448e-94f8-3cf50dfca85f", + "status": "ready", "createdDateTime": "2020-03-12T19:20:27Z", "lastUpdatedDateTime": + "2020-03-12T19:20:28Z"}, {"modelId": "44dc9184-14ed-4474-ba62-93372ade56ec", + "status": "ready", "createdDateTime": "2020-03-24T01:45:18Z", "lastUpdatedDateTime": + "2020-03-24T01:45:25Z"}, {"modelId": "4503978d-f8c0-46e7-a5b1-6ddb28408c55", + "status": "invalid", "createdDateTime": "2020-04-09T18:19:55Z", "lastUpdatedDateTime": + "2020-04-09T18:19:56Z"}, {"modelId": "46e71ccc-c18c-4a9b-9e40-d36aa2752344", + "status": "creating", "createdDateTime": "2021-03-01T22:00:11Z", "lastUpdatedDateTime": + "2021-03-01T22:00:11Z"}, {"modelId": "47452604-2359-4d23-b952-ffa76f81f862", + "status": "ready", "createdDateTime": "2020-04-02T16:41:13Z", "lastUpdatedDateTime": + "2020-04-02T16:43:16Z"}, {"modelId": "475be9d7-a574-4c89-987d-e94a2193c9d8", + "status": "ready", "createdDateTime": "2020-04-01T02:02:01Z", "lastUpdatedDateTime": + "2020-04-01T02:02:10Z"}, {"modelId": "487b1b31-df87-40a7-9e93-5e21cad3b3f4", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:05:58Z", "lastUpdatedDateTime": "2021-03-01T16:06:02Z"}, + {"modelId": "493729ed-9bc9-4c18-8171-5b33fed6682e", "status": "ready", "createdDateTime": + "2020-04-11T19:41:14Z", "lastUpdatedDateTime": "2020-04-11T19:41:23Z"}, {"modelId": + "49d702f7-d4fd-48e6-b74f-2fad73494ae6", "status": "ready", "createdDateTime": + "2020-03-15T19:49:07Z", "lastUpdatedDateTime": "2020-03-15T19:51:02Z"}, {"modelId": + "49f3015b-0745-44b2-8a2a-180eed885c16", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:42:12Z", "lastUpdatedDateTime": + "2021-02-25T22:43:05Z"}, {"modelId": "4a85d6aa-84e9-4235-82a0-fd9698ef79c9", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:38:21Z", "lastUpdatedDateTime": + "2020-08-11T19:38:21Z"}, {"modelId": "4a93478e-9dd8-4fa2-afcb-260445275a40", + "status": "invalid", "createdDateTime": "2021-03-03T22:46:22Z", "lastUpdatedDateTime": + "2021-03-03T22:46:23Z"}, {"modelId": "4b8c7140-933f-4554-9d70-9b9ef6894501", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-19T17:18:56Z", + "lastUpdatedDateTime": "2020-11-19T17:19:14Z"}, {"modelId": "4bfe2202-aa36-4b59-a816-45e9ad2d1e2d", + "status": "ready", "createdDateTime": "2020-04-02T16:46:46Z", "lastUpdatedDateTime": + "2020-04-02T16:48:50Z"}, {"modelId": "4c7ce365-3e78-4379-8b3c-b7e01b2731cf", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:31Z", "lastUpdatedDateTime": "2020-11-20T17:56:33Z"}, {"modelId": + "4cba7332-5ea7-4453-996f-52d550d3341d", "modelName": "labeled", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-03-01T16:10:38Z", + "lastUpdatedDateTime": "2021-03-01T16:10:41Z"}, {"modelId": "4d14b6f2-f630-43a0-81b9-c7d4601eb582", + "status": "ready", "createdDateTime": "2021-01-21T23:40:43Z", "lastUpdatedDateTime": + "2021-01-21T23:41:08Z"}, {"modelId": "4d68c598-b03a-48f0-a1e1-2bf6fd9e1628", + "status": "invalid", "createdDateTime": "2020-04-01T23:51:37Z", "lastUpdatedDateTime": + "2020-04-01T23:52:33Z"}, {"modelId": "4daafb45-08e5-4369-bebd-2436cd531e11", + "status": "ready", "createdDateTime": "2020-04-02T02:19:17Z", "lastUpdatedDateTime": + "2020-04-02T02:21:18Z"}, {"modelId": "4dd5ded6-e44f-4ff4-9b6f-be48bd8420d1", + "status": "ready", "createdDateTime": "2020-03-13T16:53:03Z", "lastUpdatedDateTime": + "2020-03-13T16:55:06Z"}, {"modelId": "4e4f8e5a-0a31-4905-be65-8ba880d51815", + "status": "ready", "createdDateTime": "2020-04-01T23:03:58Z", "lastUpdatedDateTime": + "2020-04-01T23:06:01Z"}, {"modelId": "4e90eff6-eafb-4fd9-97cd-3c91a5073293", + "status": "invalid", "createdDateTime": "2021-03-03T21:54:11Z", "lastUpdatedDateTime": + "2021-03-03T21:54:11Z"}, {"modelId": "4eabb2b8-1186-437c-a365-adb55cbc11f2", + "status": "invalid", "createdDateTime": "2020-03-13T21:39:42Z", "lastUpdatedDateTime": + "2020-03-13T21:39:43Z"}, {"modelId": "4fd29344-db36-42ab-88fd-45928a922837", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:08:48Z", "lastUpdatedDateTime": "2021-03-01T16:08:50Z"}, + {"modelId": "5069bfd7-047c-4b60-bb9e-b2fe42be4eb8", "status": "ready", "createdDateTime": + "2020-04-02T19:14:24Z", "lastUpdatedDateTime": "2020-04-02T19:16:27Z"}, {"modelId": + "5153fca1-691c-4d29-9155-6cd0680e29c5", "status": "ready", "createdDateTime": + "2020-08-13T23:09:30Z", "lastUpdatedDateTime": "2020-08-13T23:09:43Z"}, {"modelId": + "536444c1-d804-4b6f-9f19-9ba41b697c75", "status": "invalid", "createdDateTime": + "2020-03-30T21:51:08Z", "lastUpdatedDateTime": "2020-03-30T21:51:08Z"}, {"modelId": + "53cc3e0b-eec1-467e-a261-9c26a9fa6244", "status": "ready", "createdDateTime": + "2020-05-29T15:57:35Z", "lastUpdatedDateTime": "2020-05-29T15:59:16Z"}, {"modelId": + "54cf155c-db2d-443b-83c3-ca31190fa6e8", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:43:51Z", "lastUpdatedDateTime": + "2021-02-25T22:44:49Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzU0Y2YxNTVjLWRiMmQtNDQzYi04M2MzLWNhMzExOTBmYTZlOC81NGNmMTU1Yy1kYjJkLTQ0M2ItODNjMy1jYTMxMTkwZmE2ZTguanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: c893db5c-84c9-487d-8a39-2f3bd496ad64 + content-length: '5903' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:13:40 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '226' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzQyOTRiYjJkLWUxNjgtNGVkZi05NzBhLWVmZDJjNjg5YjliNS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzU0Y2YxNTVjLWRiMmQtNDQzYi04M2MzLWNhMzExOTBmYTZlOC81NGNmMTU1Yy1kYjJkLTQ0M2ItODNjMy1jYTMxMTkwZmE2ZTguanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "54cf155c-db2d-443b-83c3-ca31190fa6e8", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T22:43:51Z", + "lastUpdatedDateTime": "2021-02-25T22:44:49Z"}, {"modelId": "5516a93e-4cd8-4906-9ea9-26eb1bc855dd", + "status": "ready", "createdDateTime": "2020-04-10T20:41:35Z", "lastUpdatedDateTime": + "2020-04-10T20:41:43Z"}, {"modelId": "553c1c17-bd46-416e-96d5-4b8b15c2ab02", + "status": "invalid", "createdDateTime": "2021-03-01T21:11:20Z", "lastUpdatedDateTime": + "2021-03-01T21:11:20Z"}, {"modelId": "555aa4d1-0824-40f3-a693-e33ee522669c", + "status": "ready", "createdDateTime": "2020-04-10T20:30:47Z", "lastUpdatedDateTime": + "2020-04-10T20:30:57Z"}, {"modelId": "5650adb1-1387-41b3-a5dd-6e9833d2b33b", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:59Z", "lastUpdatedDateTime": + "2021-02-19T19:06:00Z"}, {"modelId": "5654bd4b-e85c-41ed-b8f6-c77780d06551", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:07:47Z", "lastUpdatedDateTime": "2021-03-01T16:07:51Z"}, + {"modelId": "572b5e8c-125b-4f63-b9bc-a9de922abbd4", "status": "ready", "createdDateTime": + "2020-04-02T16:46:04Z", "lastUpdatedDateTime": "2020-04-02T16:48:04Z"}, {"modelId": + "57a8b733-80db-446e-92c9-110148ded1b7", "status": "ready", "createdDateTime": + "2020-03-30T21:14:25Z", "lastUpdatedDateTime": "2020-03-30T21:14:34Z"}, {"modelId": + "5821a84d-d13d-462c-b40c-6b90793b6565", "status": "ready", "createdDateTime": + "2020-04-20T19:46:37Z", "lastUpdatedDateTime": "2020-04-20T19:46:45Z"}, {"modelId": + "5924f18d-a26f-4653-b610-223b9594ca9b", "status": "ready", "createdDateTime": + "2020-03-15T19:34:12Z", "lastUpdatedDateTime": "2020-03-15T19:36:07Z"}, {"modelId": + "597701b0-5e5a-4594-bfbc-48ce5e31965f", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-19T19:05:59Z", "lastUpdatedDateTime": + "2021-02-19T19:06:05Z"}, {"modelId": "5b19288d-9048-4f40-a0e9-f4ef3c65795c", + "status": "ready", "createdDateTime": "2020-03-15T20:18:39Z", "lastUpdatedDateTime": + "2020-03-15T20:20:34Z"}, {"modelId": "5b973420-f850-4020-a2bc-6e9a14f6bbd0", + "status": "ready", "createdDateTime": "2020-04-01T23:27:46Z", "lastUpdatedDateTime": + "2020-04-01T23:29:46Z"}, {"modelId": "5c74c941-32d0-47cb-b65e-c5f7fb8ecac7", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T22:41:10Z", + "lastUpdatedDateTime": "2021-02-25T22:42:09Z"}, {"modelId": "5d90e99d-da95-4125-8c0c-a349e35a33d7", + "status": "invalid", "createdDateTime": "2021-03-03T22:24:07Z", "lastUpdatedDateTime": + "2021-03-03T22:24:08Z"}, {"modelId": "5ef66b5d-0ead-4031-a7d3-d46ba9673207", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "5f5eacbf-e45c-494d-96b1-38c785f19cc7", + "status": "ready", "createdDateTime": "2020-03-15T19:37:44Z", "lastUpdatedDateTime": + "2020-03-15T19:39:44Z"}, {"modelId": "5fd9558b-82e1-4443-b201-09486ce65d11", + "status": "ready", "createdDateTime": "2020-03-12T18:47:21Z", "lastUpdatedDateTime": + "2020-03-12T18:47:29Z"}, {"modelId": "61fcb11f-3bab-4edd-8264-b2ffbcc35869", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-01-25T19:54:26Z", "lastUpdatedDateTime": "2021-01-25T19:54:28Z"}, + {"modelId": "6271a9e4-90b5-45c2-ae09-85726535cf98", "status": "ready", "createdDateTime": + "2020-04-02T17:37:21Z", "lastUpdatedDateTime": "2020-04-02T17:37:37Z"}, {"modelId": + "62c71745-fd52-4f87-ba68-a66660e5398a", "status": "invalid", "createdDateTime": + "2020-03-15T19:29:14Z", "lastUpdatedDateTime": "2020-03-15T19:29:15Z"}, {"modelId": + "62f23b41-b5b0-4f15-b2da-a7fa33d83db7", "status": "ready", "createdDateTime": + "2020-04-09T01:41:38Z", "lastUpdatedDateTime": "2020-04-09T01:41:41Z"}, {"modelId": + "633eb385-0688-487d-98ec-23a981bda670", "status": "ready", "createdDateTime": + "2020-04-13T16:46:55Z", "lastUpdatedDateTime": "2020-04-13T16:47:04Z"}, {"modelId": + "634d2ef4-04c0-49ef-b10b-2356e68f7c8b", "status": "ready", "createdDateTime": + "2020-04-05T21:52:01Z", "lastUpdatedDateTime": "2020-04-05T21:52:02Z"}, {"modelId": + "63dd7c31-d7d2-4f72-84aa-9413b7cf04f7", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T19:10:27Z", "lastUpdatedDateTime": + "2021-02-26T19:10:30Z"}, {"modelId": "6408aa30-a1ab-4172-921e-dc71c26c028b", + "status": "invalid", "createdDateTime": "2021-03-01T21:13:25Z", "lastUpdatedDateTime": + "2021-03-01T21:13:26Z"}, {"modelId": "64d41333-9489-412e-af02-6664bb297e55", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:12Z", "lastUpdatedDateTime": + "2021-02-19T19:01:12Z"}, {"modelId": "65844abd-fb99-4b3c-b5c7-34e3b7c4db6c", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-19T19:05:56Z", + "lastUpdatedDateTime": "2021-02-19T19:05:56Z"}, {"modelId": "663b5cc9-97a3-472b-8c35-49728633ccd9", + "status": "ready", "createdDateTime": "2021-02-19T18:56:04Z", "lastUpdatedDateTime": + "2021-02-19T18:56:34Z"}, {"modelId": "67951586-1a2b-4957-bfef-8a963ef0e07d", + "status": "ready", "createdDateTime": "2020-04-02T17:00:05Z", "lastUpdatedDateTime": + "2020-04-02T17:02:03Z"}, {"modelId": "67d1e903-cc92-4294-9b03-8547eeb9d988", + "status": "ready", "createdDateTime": "2020-04-02T19:37:34Z", "lastUpdatedDateTime": + "2020-04-02T19:39:29Z"}, {"modelId": "68cb2ba6-e7d6-4e79-a50d-ee4c248d4156", + "status": "invalid", "createdDateTime": "2020-04-10T19:48:43Z", "lastUpdatedDateTime": + "2020-04-10T19:49:43Z"}, {"modelId": "6933b09c-30f1-46ed-bd25-5bc81c4e04df", + "status": "ready", "createdDateTime": "2020-04-13T17:41:16Z", "lastUpdatedDateTime": + "2020-04-13T17:41:24Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzY5MzNiMDljLTMwZjEtNDZlZC1iZDI1LTViYzgxYzRlMDRkZi82OTMzYjA5Yy0zMGYxLTQ2ZWQtYmQyNS01YmM4MWM0ZTA0ZGYuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 3e3454c0-31cf-4b05-8582-f2384175a76f + content-length: '5736' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:13:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '159' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzU0Y2YxNTVjLWRiMmQtNDQzYi04M2MzLWNhMzExOTBmYTZlOC81NGNmMTU1Yy1kYjJkLTQ0M2ItODNjMy1jYTMxMTkwZmE2ZTguanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzY5MzNiMDljLTMwZjEtNDZlZC1iZDI1LTViYzgxYzRlMDRkZi82OTMzYjA5Yy0zMGYxLTQ2ZWQtYmQyNS01YmM4MWM0ZTA0ZGYuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "6933b09c-30f1-46ed-bd25-5bc81c4e04df", + "status": "ready", "createdDateTime": "2020-04-13T17:41:16Z", "lastUpdatedDateTime": + "2020-04-13T17:41:24Z"}, {"modelId": "699fd879-f7d2-4e94-bc6a-88ed9fa47af4", + "status": "ready", "createdDateTime": "2020-04-02T17:35:47Z", "lastUpdatedDateTime": + "2020-04-02T17:35:58Z"}, {"modelId": "69ee41be-3916-4d54-b28b-a579ebaa98dc", + "status": "invalid", "createdDateTime": "2020-04-10T20:15:51Z", "lastUpdatedDateTime": + "2020-04-10T20:16:51Z"}, {"modelId": "6a1d79a7-2c75-4257-959a-f89c420fbf66", + "status": "ready", "createdDateTime": "2020-04-10T21:01:19Z", "lastUpdatedDateTime": + "2020-04-10T21:01:28Z"}, {"modelId": "6b0e5399-dffc-4b8c-a8aa-bdc29109913d", + "status": "ready", "createdDateTime": "2020-04-13T16:42:19Z", "lastUpdatedDateTime": + "2020-04-13T16:42:22Z"}, {"modelId": "6c9ffc45-7f53-441b-afa7-7342edde4cd4", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-03-01T16:09:40Z", "lastUpdatedDateTime": "2021-03-01T16:09:43Z"}, + {"modelId": "6cf013cd-208a-4c83-844c-72a86945cf69", "modelName": "labeled", + "status": "invalid", "createdDateTime": "2021-02-26T20:11:41Z", "lastUpdatedDateTime": + "2021-02-26T20:11:42Z"}, {"modelId": "6d2866db-3e68-4cbf-8f95-6d8505354bc7", + "status": "invalid", "createdDateTime": "2020-04-01T02:12:18Z", "lastUpdatedDateTime": + "2020-04-01T02:12:18Z"}, {"modelId": "6e4bedbb-6246-4553-b31e-4959d1ef8f73", + "status": "invalid", "createdDateTime": "2020-04-01T02:15:10Z", "lastUpdatedDateTime": + "2020-04-01T02:15:11Z"}, {"modelId": "6eb745a3-07bc-4d18-8c48-9a0324cfe663", + "status": "ready", "createdDateTime": "2020-03-24T20:39:08Z", "lastUpdatedDateTime": + "2020-03-24T20:39:27Z"}, {"modelId": "6f8cfb3d-c933-4e95-b94d-7c6600d228cb", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-02-26T21:38:04Z", "lastUpdatedDateTime": "2021-02-26T21:38:08Z"}, + {"modelId": "6fd13b54-f34e-421f-a500-4255a000c96a", "attributes": {"isComposed": + false}, "status": "ready", "createdDateTime": "2020-11-20T17:58:30Z", "lastUpdatedDateTime": + "2020-11-20T17:59:32Z"}, {"modelId": "700bf4db-d96f-417c-a512-37a10d4362a2", + "status": "ready", "createdDateTime": "2020-03-30T21:54:06Z", "lastUpdatedDateTime": + "2020-03-30T21:54:14Z"}, {"modelId": "70ccd26d-5041-4407-a630-acdec9271538", + "status": "ready", "createdDateTime": "2020-04-01T23:38:56Z", "lastUpdatedDateTime": + "2020-04-01T23:40:50Z"}, {"modelId": "70e1ec58-43e4-4729-9d7b-587644d86743", + "modelName": "mymodel", "status": "ready", "createdDateTime": "2020-11-20T16:47:52Z", + "lastUpdatedDateTime": "2020-11-20T16:48:09Z"}, {"modelId": "717cba6c-81a0-4113-911c-6ee14ecc1c64", + "status": "ready", "createdDateTime": "2020-04-13T16:35:46Z", "lastUpdatedDateTime": + "2020-04-13T16:35:49Z"}, {"modelId": "718e3eab-6f8f-422b-8e54-7932c7fa9ef2", + "status": "ready", "createdDateTime": "2020-04-22T03:13:32Z", "lastUpdatedDateTime": + "2020-04-22T03:13:40Z"}, {"modelId": "729b12ca-fd8d-4a9d-9b76-9554643ec37b", + "status": "ready", "createdDateTime": "2020-03-13T21:34:56Z", "lastUpdatedDateTime": + "2020-03-13T21:36:56Z"}, {"modelId": "731d62de-1b53-4ce6-92ae-48c5459bb1e1", + "status": "ready", "createdDateTime": "2020-04-10T20:29:01Z", "lastUpdatedDateTime": + "2020-04-10T20:29:10Z"}, {"modelId": "733fbb4c-bc74-440f-9809-c7a15c528bcc", + "status": "invalid", "createdDateTime": "2021-03-03T21:36:32Z", "lastUpdatedDateTime": + "2021-03-03T21:36:33Z"}, {"modelId": "73a6647a-c6f6-46fd-9ca7-990cffa615e0", + "status": "invalid", "createdDateTime": "2021-03-03T22:48:38Z", "lastUpdatedDateTime": + "2021-03-03T22:48:40Z"}, {"modelId": "74e60334-9958-4861-a975-96cf443b9425", + "status": "ready", "createdDateTime": "2020-04-13T16:35:39Z", "lastUpdatedDateTime": + "2020-04-13T16:35:49Z"}, {"modelId": "753f87ab-7de3-484a-88ab-989bfee65f48", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T19:05:58Z", "lastUpdatedDateTime": "2021-02-19T19:06:02Z"}, {"modelId": + "75ba63fd-348c-407f-ad77-99b67095786e", "status": "ready", "createdDateTime": + "2020-04-21T05:32:20Z", "lastUpdatedDateTime": "2020-04-21T05:32:29Z"}, {"modelId": + "75c89f8d-0f3e-4b5f-bc25-d44caf5f983b", "status": "ready", "createdDateTime": + "2020-04-02T21:09:43Z", "lastUpdatedDateTime": "2020-04-02T21:11:43Z"}, {"modelId": + "760bf229-1a1f-4aee-b4a1-d29ddad42907", "status": "ready", "createdDateTime": + "2020-04-02T17:42:19Z", "lastUpdatedDateTime": "2020-04-02T17:44:18Z"}, {"modelId": + "765218a9-bd57-4c76-85f2-bb01517e8af5", "status": "invalid", "createdDateTime": + "2021-03-03T21:21:01Z", "lastUpdatedDateTime": "2021-03-03T21:21:02Z"}, {"modelId": + "7713df98-539e-46c5-979c-60b29571495f", "status": "invalid", "createdDateTime": + "2021-02-19T19:05:54Z", "lastUpdatedDateTime": "2021-02-19T19:05:55Z"}, {"modelId": + "7771c362-af0d-43c5-ad7d-a228a75f28c0", "modelName": "unlabeled", "status": + "ready", "createdDateTime": "2021-02-25T22:44:52Z", "lastUpdatedDateTime": + "2021-02-25T22:45:45Z"}, {"modelId": "77ee725d-ab04-4522-b577-3e7a29326fd0", + "status": "ready", "createdDateTime": "2020-04-13T17:40:06Z", "lastUpdatedDateTime": + "2020-04-13T17:40:15Z"}, {"modelId": "785671f9-d058-4542-8d5a-6f08f1715e2a", + "status": "ready", "createdDateTime": "2020-04-06T21:54:09Z", "lastUpdatedDateTime": + "2020-04-06T21:54:18Z"}, {"modelId": "7a28024d-6e36-444f-ae51-3985fa8205f4", + "status": "invalid", "createdDateTime": "2020-04-10T18:17:16Z", "lastUpdatedDateTime": + "2020-04-10T18:17:17Z"}, {"modelId": "7aa01eff-7641-4332-917d-9566484ea249", + "status": "invalid", "createdDateTime": "2020-04-01T01:43:39Z", "lastUpdatedDateTime": + "2020-04-01T01:43:39Z"}, {"modelId": "7aeb48b3-6977-4091-9d69-a681675af360", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdhZWI0OGIzLTY5NzctNDA5MS05ZDY5LWE2ODE2NzVhZjM2MC83YWViNDhiMy02OTc3LTQwOTEtOWQ2OS1hNjgxNjc1YWYzNjAuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: adaaf6a4-093d-49a0-9f2c-647d0d4ecf0e + content-length: '5902' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:13:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '248' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzY5MzNiMDljLTMwZjEtNDZlZC1iZDI1LTViYzgxYzRlMDRkZi82OTMzYjA5Yy0zMGYxLTQ2ZWQtYmQyNS01YmM4MWM0ZTA0ZGYuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdhZWI0OGIzLTY5NzctNDA5MS05ZDY5LWE2ODE2NzVhZjM2MC83YWViNDhiMy02OTc3LTQwOTEtOWQ2OS1hNjgxNjc1YWYzNjAuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "7aeb48b3-6977-4091-9d69-a681675af360", + "status": "ready", "createdDateTime": "2020-05-29T15:57:35Z", "lastUpdatedDateTime": + "2020-05-29T15:59:16Z"}, {"modelId": "7bb77385-094c-4a9b-be95-3ce02d472c58", + "status": "ready", "createdDateTime": "2020-04-10T21:04:12Z", "lastUpdatedDateTime": + "2020-04-10T21:04:26Z"}, {"modelId": "7bc722a1-fffc-4c41-9031-c7bda567bdfa", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:45:27Z", "lastUpdatedDateTime": + "2020-08-11T20:45:27Z"}, {"modelId": "7d061a34-c20b-4794-9c64-1bc6ee918329", + "status": "ready", "createdDateTime": "2020-04-02T02:45:16Z", "lastUpdatedDateTime": + "2020-04-02T02:47:18Z"}, {"modelId": "7e3e36ee-cdf6-406c-869b-3ef3f1d9aad9", + "status": "ready", "createdDateTime": "2020-03-11T03:02:02Z", "lastUpdatedDateTime": + "2020-03-11T03:02:11Z"}, {"modelId": "7e508843-5dd2-48d3-abd1-f542bc9c3c07", + "status": "ready", "createdDateTime": "2020-03-15T20:05:31Z", "lastUpdatedDateTime": + "2020-03-15T20:07:33Z"}, {"modelId": "7e5194c7-390c-4cee-9a0f-96d670e45b5a", + "status": "invalid", "createdDateTime": "2021-03-03T21:50:24Z", "lastUpdatedDateTime": + "2021-03-03T21:50:25Z"}, {"modelId": "7fd94e51-a18f-44f9-bcd0-ce8b84fb4d39", + "status": "ready", "createdDateTime": "2020-03-15T20:04:01Z", "lastUpdatedDateTime": + "2020-03-15T20:06:01Z"}, {"modelId": "80fee662-fd5a-41bf-b4f5-893e0eca4bb2", + "status": "ready", "createdDateTime": "2020-03-15T19:31:28Z", "lastUpdatedDateTime": + "2020-03-15T19:33:30Z"}, {"modelId": "8223dd41-2932-4301-b621-ccf75d6a3c0a", + "status": "ready", "createdDateTime": "2020-05-20T17:49:40Z", "lastUpdatedDateTime": + "2020-05-20T17:49:50Z"}, {"modelId": "824e9f66-031f-4908-9034-8e78e3202caa", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T19:06:00Z", "lastUpdatedDateTime": "2021-02-19T19:06:07Z"}, {"modelId": + "8254411d-a680-4941-ace4-a9524fc9a407", "modelName": "secondcomposedmodel", + "attributes": {"isComposed": true}, "status": "ready", "createdDateTime": + "2020-08-11T19:47:10Z", "lastUpdatedDateTime": "2020-08-11T19:47:10Z"}, {"modelId": + "82e6af94-0235-4f64-8106-cadfb5779124", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-01-21T23:43:43Z", "lastUpdatedDateTime": + "2021-01-21T23:43:46Z"}, {"modelId": "83163519-6d6c-4ba7-b6fe-cfb3a14d7cff", + "status": "ready", "createdDateTime": "2020-03-16T22:13:17Z", "lastUpdatedDateTime": + "2020-03-16T22:15:14Z"}, {"modelId": "83d2fbaa-8629-43f1-8e48-9891ae1858af", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:59:29Z", "lastUpdatedDateTime": + "2020-08-11T19:59:29Z"}, {"modelId": "86119a4f-e48a-4c15-9348-2d300aee1066", + "status": "ready", "createdDateTime": "2020-03-19T01:48:13Z", "lastUpdatedDateTime": + "2020-03-19T01:50:06Z"}, {"modelId": "8615384b-bd35-46c1-a15f-ce29b4687988", + "modelName": "mymodel", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2020-11-19T18:14:30Z", "lastUpdatedDateTime": "2020-11-19T18:14:32Z"}, + {"modelId": "863c1ede-91fd-4d79-88f2-b17b5ab745a7", "modelName": "labeled", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-01-25T20:17:52Z", "lastUpdatedDateTime": "2021-01-25T20:17:55Z"}, {"modelId": + "86761c26-b665-4611-8068-0641be2f5b88", "status": "ready", "createdDateTime": + "2020-04-02T17:11:01Z", "lastUpdatedDateTime": "2020-04-02T17:12:56Z"}, {"modelId": + "8757ab80-77cb-47f5-bf0b-cc12c11f1e3e", "status": "ready", "createdDateTime": + "2021-02-19T19:06:01Z", "lastUpdatedDateTime": "2021-02-19T19:06:33Z"}, {"modelId": + "87f94c1f-a345-4ecd-b440-df1ffffbe4cd", "status": "ready", "createdDateTime": + "2020-04-02T01:52:24Z", "lastUpdatedDateTime": "2020-04-02T01:54:26Z"}, {"modelId": + "8a255b7a-3fcb-4665-8219-c410c34d7d05", "status": "ready", "createdDateTime": + "2020-03-15T20:34:45Z", "lastUpdatedDateTime": "2020-03-15T20:35:00Z"}, {"modelId": + "8a3b905d-d28a-4ab1-bdc1-5919ea8b0699", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-25T19:43:43Z", "lastUpdatedDateTime": + "2021-02-25T19:43:46Z"}, {"modelId": "8aa909fc-b44c-4f00-97ce-fdb1cbcc0be4", + "status": "invalid", "createdDateTime": "2020-03-16T19:21:55Z", "lastUpdatedDateTime": + "2020-03-16T19:21:56Z"}, {"modelId": "8ac25719-613f-4e80-97ed-a3aca7cc4e68", + "modelName": "my unlabeled model", "status": "ready", "createdDateTime": "2021-01-21T18:49:12Z", + "lastUpdatedDateTime": "2021-01-21T18:49:27Z"}, {"modelId": "8b2d0d9c-cb8d-4eea-84b2-713d3fb2ad34", + "status": "ready", "createdDateTime": "2020-04-21T05:34:01Z", "lastUpdatedDateTime": + "2020-04-21T05:34:11Z"}, {"modelId": "8b56c5f8-50ea-4fdd-bfcc-c7ba69153deb", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:03Z", "lastUpdatedDateTime": + "2021-02-22T16:20:03Z"}, {"modelId": "8bcb64c2-1907-441b-9001-2c438efcf44f", + "status": "ready", "createdDateTime": "2020-04-13T17:45:55Z", "lastUpdatedDateTime": + "2020-04-13T17:46:05Z"}, {"modelId": "8df72857-f05e-4576-82cd-1513f972954f", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:11Z", "lastUpdatedDateTime": + "2021-02-19T19:01:11Z"}, {"modelId": "900b10e6-34ee-4e3b-8838-a6fcfb18859c", + "status": "invalid", "createdDateTime": "2020-04-01T02:14:08Z", "lastUpdatedDateTime": + "2020-04-01T02:14:09Z"}, {"modelId": "90333c99-9878-47e5-9b75-f886e45947cc", + "status": "invalid", "createdDateTime": "2020-04-01T01:56:53Z", "lastUpdatedDateTime": + "2020-04-01T01:56:53Z"}, {"modelId": "906ca3e2-e6c7-42a6-9ef7-f2132d3f998f", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:09Z", "lastUpdatedDateTime": + "2021-02-19T18:56:11Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwNmNhM2UyLWU2YzctNDJhNi05ZWY3LWYyMTMyZDNmOTk4Zi91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 9c61d2a5-42df-45dc-8dce-94d63a5d627b + content-length: '5756' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:13:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '173' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzdhZWI0OGIzLTY5NzctNDA5MS05ZDY5LWE2ODE2NzVhZjM2MC83YWViNDhiMy02OTc3LTQwOTEtOWQ2OS1hNjgxNjc1YWYzNjAuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwNmNhM2UyLWU2YzctNDJhNi05ZWY3LWYyMTMyZDNmOTk4Zi91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "906ca3e2-e6c7-42a6-9ef7-f2132d3f998f", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:09Z", "lastUpdatedDateTime": + "2021-02-19T18:56:11Z"}, {"modelId": "90cf67f6-4bbe-434e-b8e1-8982f392ecd0", + "status": "ready", "createdDateTime": "2020-03-12T20:33:08Z", "lastUpdatedDateTime": + "2020-03-12T20:33:10Z"}, {"modelId": "91024bf0-9316-450e-90a5-9f7b7b4d7c01", + "status": "ready", "createdDateTime": "2020-04-02T02:27:30Z", "lastUpdatedDateTime": + "2020-04-02T02:29:30Z"}, {"modelId": "9228cf03-efdd-4d8e-ba47-d605addc2a17", + "status": "ready", "createdDateTime": "2020-04-02T02:02:40Z", "lastUpdatedDateTime": + "2020-04-02T02:04:34Z"}, {"modelId": "92f6eb1d-c460-426d-9ed7-62c8a8dfacec", + "status": "ready", "createdDateTime": "2020-04-02T17:09:36Z", "lastUpdatedDateTime": + "2020-04-02T17:11:32Z"}, {"modelId": "934e24cc-fe50-4f24-99d0-b0d9f024d78f", + "status": "ready", "createdDateTime": "2020-03-04T17:11:12Z", "lastUpdatedDateTime": + "2020-03-04T17:11:12Z"}, {"modelId": "9383595f-c646-4505-a7c4-d2d2174b0b91", + "status": "ready", "createdDateTime": "2020-04-01T23:18:01Z", "lastUpdatedDateTime": + "2020-04-01T23:20:01Z"}, {"modelId": "94f67d0c-fdc8-46f7-b144-7f763b6181e2", + "status": "invalid", "createdDateTime": "2021-03-03T21:17:25Z", "lastUpdatedDateTime": + "2021-03-03T21:17:26Z"}, {"modelId": "965c2ab6-82a7-4667-a9d0-a7c589c932f9", + "status": "ready", "createdDateTime": "2020-04-01T23:33:59Z", "lastUpdatedDateTime": + "2020-04-01T23:36:01Z"}, {"modelId": "97feeac7-768d-4b10-ac0d-b9a204dc4174", + "status": "ready", "createdDateTime": "2020-03-27T20:10:06Z", "lastUpdatedDateTime": + "2020-03-27T20:10:14Z"}, {"modelId": "986de900-7089-4ba0-9be6-998b9ddcd0e9", + "status": "ready", "createdDateTime": "2020-04-10T20:29:23Z", "lastUpdatedDateTime": + "2020-04-10T20:29:31Z"}, {"modelId": "997750cb-bf7c-45ff-82cc-537060472254", + "status": "ready", "createdDateTime": "2020-11-20T17:54:39Z", "lastUpdatedDateTime": + "2020-11-20T17:54:56Z"}, {"modelId": "99cd7d37-341a-4a91-b6ac-dc70da72e192", + "status": "invalid", "createdDateTime": "2020-04-09T18:20:12Z", "lastUpdatedDateTime": + "2020-04-09T18:20:12Z"}, {"modelId": "9a42543a-2bca-457f-ad05-292488b2fb66", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:52Z", "lastUpdatedDateTime": + "2021-02-19T19:06:52Z"}, {"modelId": "9a79a3af-b996-4cb1-8ea7-7e2895d5a549", + "status": "ready", "createdDateTime": "2020-03-15T19:54:05Z", "lastUpdatedDateTime": + "2020-03-15T19:56:07Z"}, {"modelId": "9ad19f07-4aa0-4a9c-a773-40909d52df0c", + "status": "creating", "createdDateTime": "2020-05-20T00:01:58Z", "lastUpdatedDateTime": + "2020-05-20T00:01:58Z"}, {"modelId": "9adcd72f-4b80-4769-a761-e2e0aa0b7890", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:40:42Z", "lastUpdatedDateTime": + "2020-08-11T20:40:43Z"}, {"modelId": "9b083f54-3cd1-4ddf-b037-53611a9e01c1", + "status": "invalid", "createdDateTime": "2021-03-03T21:54:05Z", "lastUpdatedDateTime": + "2021-03-03T21:54:06Z"}, {"modelId": "9b5132cf-02c1-4ea9-a652-999780507aac", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T17:56:13Z", "lastUpdatedDateTime": "2020-11-20T17:56:15Z"}, {"modelId": + "9c18b4fc-78a0-457a-b975-b18361d9f453", "status": "ready", "createdDateTime": + "2020-03-12T18:47:53Z", "lastUpdatedDateTime": "2020-03-12T18:48:00Z"}, {"modelId": + "9c267194-a0dd-4d6c-ab50-4664795b8afc", "status": "invalid", "createdDateTime": + "2020-04-01T01:41:00Z", "lastUpdatedDateTime": "2020-04-01T01:41:00Z"}, {"modelId": + "9c401b5d-1271-4082-ba51-e50e11616efa", "modelName": "labeled", "attributes": + {"isComposed": false}, "status": "ready", "createdDateTime": "2021-02-26T21:38:20Z", + "lastUpdatedDateTime": "2021-02-26T21:38:23Z"}, {"modelId": "9cf82dde-3cad-4fcf-a9a4-0ee76337293c", + "status": "invalid", "createdDateTime": "2020-04-09T17:34:09Z", "lastUpdatedDateTime": + "2020-04-09T17:34:10Z"}, {"modelId": "9d7a4d71-0c59-40ed-be9b-d0630df63b87", + "status": "ready", "createdDateTime": "2020-04-10T20:26:54Z", "lastUpdatedDateTime": + "2020-04-10T20:27:04Z"}, {"modelId": "9eabe36b-a3f8-4bb9-bab7-099cd043caef", + "status": "ready", "createdDateTime": "2020-05-20T21:08:39Z", "lastUpdatedDateTime": + "2020-05-20T21:10:22Z"}, {"modelId": "9f5b094c-879b-49e6-8d1e-35328b916007", + "status": "ready", "createdDateTime": "2020-04-02T16:47:59Z", "lastUpdatedDateTime": + "2020-04-02T16:49:59Z"}, {"modelId": "9fc0ceab-56bb-4715-b484-b81633e7a175", + "status": "ready", "createdDateTime": "2020-04-02T16:24:21Z", "lastUpdatedDateTime": + "2020-04-02T16:26:26Z"}, {"modelId": "a12c98fe-3149-4c79-8aff-c48344d13f9f", + "status": "creating", "createdDateTime": "2020-10-14T19:15:19Z", "lastUpdatedDateTime": + "2020-10-14T19:15:19Z"}, {"modelId": "a18a94fe-436c-4abd-b072-dfacd19e1ec9", + "status": "ready", "createdDateTime": "2020-04-02T19:33:56Z", "lastUpdatedDateTime": + "2020-04-02T19:35:51Z"}, {"modelId": "a193f69c-fe8b-47ce-b04c-4ce0056dae8f", + "status": "ready", "createdDateTime": "2020-04-02T19:55:59Z", "lastUpdatedDateTime": + "2020-04-02T19:56:11Z"}, {"modelId": "a1bb1a0f-2207-4d49-b3f3-fdb1831af610", + "status": "invalid", "createdDateTime": "2020-04-02T19:57:02Z", "lastUpdatedDateTime": + "2020-04-02T20:04:17Z"}, {"modelId": "a1c879cc-5de6-421f-b31f-e43977216ebf", + "status": "ready", "createdDateTime": "2020-04-13T17:43:31Z", "lastUpdatedDateTime": + "2020-04-13T17:43:40Z"}, {"modelId": "a264fe3e-8f7c-4948-82e2-4118642999e5", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T15:57:08Z", + "lastUpdatedDateTime": "2021-02-25T15:57:59Z"}, {"modelId": "a4d48fd6-fd5d-42ff-902f-b7d8102edbd5", + "status": "ready", "createdDateTime": "2020-04-10T21:02:43Z", "lastUpdatedDateTime": + "2020-04-10T21:02:53Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh"}' + headers: + apim-request-id: 8a3d0fe7-1608-47f6-9d65-115b3e54b9be + content-length: '5833' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:13:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '227' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzLzkwNmNhM2UyLWU2YzctNDJhNi05ZWY3LWYyMTMyZDNmOTk4Zi91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh + response: + body: + string: '{"modelList": [{"modelId": "a5b9f0ae-ee6e-4b44-8fec-847f2c7301ad", + "status": "ready", "createdDateTime": "2020-03-13T00:25:09Z", "lastUpdatedDateTime": + "2020-03-13T00:25:16Z"}, {"modelId": "a71e2892-980d-413a-8857-91bf1e1c8a08", + "status": "ready", "createdDateTime": "2020-03-15T19:33:11Z", "lastUpdatedDateTime": + "2020-03-15T19:35:14Z"}, {"modelId": "a72386be-2f3c-4316-a11c-00851511c5fe", + "status": "ready", "createdDateTime": "2020-04-13T17:40:56Z", "lastUpdatedDateTime": + "2020-04-13T17:40:59Z"}, {"modelId": "a8572bea-756f-48dd-befb-66091c9dff2d", + "status": "ready", "createdDateTime": "2020-11-20T18:01:56Z", "lastUpdatedDateTime": + "2020-11-20T18:02:11Z"}, {"modelId": "a98ae300-93f0-4856-8344-518bdacb26dc", + "status": "ready", "createdDateTime": "2020-04-07T00:31:54Z", "lastUpdatedDateTime": + "2020-04-07T00:32:03Z"}, {"modelId": "a9c4d509-7a07-4132-b162-375ded6c7bba", + "status": "creating", "createdDateTime": "2020-06-08T21:55:31Z", "lastUpdatedDateTime": + "2020-06-08T21:55:31Z"}, {"modelId": "aae2ed54-5e8f-4591-9cb0-37468e902391", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:04Z", "lastUpdatedDateTime": "2021-02-19T18:56:08Z"}, {"modelId": + "aaf63919-78de-4a88-baea-015034f911b8", "status": "invalid", "createdDateTime": + "2020-03-16T19:20:53Z", "lastUpdatedDateTime": "2020-03-16T19:20:58Z"}, {"modelId": + "ab503fa1-c015-4d0a-bec6-ec00f72b2482", "status": "ready", "createdDateTime": + "2020-04-02T16:28:09Z", "lastUpdatedDateTime": "2020-04-02T16:30:06Z"}, {"modelId": + "aba0e1d3-13d9-4bcd-8cb5-b68ccbffa285", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T20:12:58Z", "lastUpdatedDateTime": + "2021-02-26T20:12:59Z"}, {"modelId": "ad315d9e-93f2-411c-83da-2ab5bfb3e725", + "status": "ready", "createdDateTime": "2020-03-12T18:46:22Z", "lastUpdatedDateTime": + "2020-03-12T18:46:31Z"}, {"modelId": "ad5453c7-54d6-4749-bd15-320dd95d7198", + "status": "ready", "createdDateTime": "2020-04-02T02:43:29Z", "lastUpdatedDateTime": + "2020-04-02T02:45:34Z"}, {"modelId": "ae76c104-9e8f-4a9b-8a57-cbd1ee2b6823", + "status": "creating", "createdDateTime": "2020-10-14T19:12:56Z", "lastUpdatedDateTime": + "2020-10-14T19:12:56Z"}, {"modelId": "aec57ff3-111f-449d-b1ef-f9af2d333d0a", + "status": "invalid", "createdDateTime": "2021-02-19T18:56:05Z", "lastUpdatedDateTime": + "2021-02-19T18:56:06Z"}, {"modelId": "af5236b2-bf8b-4e65-b69f-17bf712fb6c0", + "status": "ready", "createdDateTime": "2020-03-15T19:50:02Z", "lastUpdatedDateTime": + "2020-03-15T19:52:08Z"}, {"modelId": "af9fa4cf-afb9-4530-b926-a1703addd10f", + "modelName": "secondcomposedmodelf", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-12T00:08:44Z", "lastUpdatedDateTime": + "2020-08-12T00:08:44Z"}, {"modelId": "b0b5c95b-3551-4405-bd06-b53b02784bda", + "status": "invalid", "createdDateTime": "2020-03-19T22:15:03Z", "lastUpdatedDateTime": + "2020-03-19T22:15:03Z"}, {"modelId": "b28abd58-a6d9-4210-88f3-d9f06821d5c1", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:43:42Z", "lastUpdatedDateTime": + "2020-08-11T20:43:42Z"}, {"modelId": "b2b410a6-5d9f-40eb-9f8f-e813c890c297", + "status": "ready", "createdDateTime": "2020-03-16T22:13:58Z", "lastUpdatedDateTime": + "2020-03-16T22:15:56Z"}, {"modelId": "b4489523-d1bb-4138-8cbf-c8a865eb0e95", + "status": "ready", "createdDateTime": "2020-04-02T20:04:25Z", "lastUpdatedDateTime": + "2020-04-02T20:06:23Z"}, {"modelId": "b44f86cc-bd71-43e9-80d8-e5b3733d1d63", + "status": "creating", "createdDateTime": "2020-10-14T19:15:01Z", "lastUpdatedDateTime": + "2020-10-14T19:15:01Z"}, {"modelId": "b45b98c0-bdc4-4963-bc22-383d7830d17a", + "modelName": "unlabeled", "status": "ready", "createdDateTime": "2021-02-25T15:58:00Z", + "lastUpdatedDateTime": "2021-02-25T15:58:58Z"}, {"modelId": "b4bef7cf-4cd4-41e3-868d-24a7d282f404", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:29Z", "lastUpdatedDateTime": + "2021-02-19T19:06:30Z"}, {"modelId": "b4f44495-ee8c-4921-ac20-da3aaf632799", + "status": "ready", "createdDateTime": "2020-04-10T21:11:10Z", "lastUpdatedDateTime": + "2020-04-10T21:11:19Z"}, {"modelId": "b58d03b4-8c7c-4fba-b2fb-0165b153f82c", + "status": "invalid", "createdDateTime": "2021-03-03T21:36:26Z", "lastUpdatedDateTime": + "2021-03-03T21:36:27Z"}, {"modelId": "b5cc2beb-8d51-4a4a-b539-66c3e8fac56b", + "status": "ready", "createdDateTime": "2020-11-20T17:59:49Z", "lastUpdatedDateTime": + "2020-11-20T18:00:11Z"}, {"modelId": "b63905cd-8304-454b-b841-4c64f224bdc6", + "status": "ready", "createdDateTime": "2020-03-24T20:31:59Z", "lastUpdatedDateTime": + "2020-03-24T20:32:11Z"}, {"modelId": "b6717d58-1f70-474a-b392-2c79a93107cc", + "status": "ready", "createdDateTime": "2020-04-02T16:43:13Z", "lastUpdatedDateTime": + "2020-04-02T16:45:16Z"}, {"modelId": "b7660db7-135c-4c95-ad8f-1aef264b5d48", + "status": "ready", "createdDateTime": "2020-03-15T20:10:10Z", "lastUpdatedDateTime": + "2020-03-15T20:12:10Z"}, {"modelId": "b7e2e66d-2f22-41ca-a6bb-57de0162a989", + "status": "ready", "createdDateTime": "2020-03-24T20:42:34Z", "lastUpdatedDateTime": + "2020-03-24T20:42:49Z"}, {"modelId": "b89d02b6-25de-45c5-b1b4-a9e0875dc74b", + "status": "ready", "createdDateTime": "2020-03-24T20:49:11Z", "lastUpdatedDateTime": + "2020-03-24T20:49:19Z"}, {"modelId": "b8ef57a5-bb47-45f9-a1b0-9c2a7f5d82b5", + "status": "ready", "createdDateTime": "2020-05-01T20:36:34Z", "lastUpdatedDateTime": + "2020-05-01T20:36:43Z"}, {"modelId": "ba866790-da14-4df5-b9c9-20bd8aa99a0a", + "status": "ready", "createdDateTime": "2020-03-19T01:46:22Z", "lastUpdatedDateTime": + "2020-03-19T01:48:21Z"}, {"modelId": "bab3feee-4a43-486d-952b-cc899f18f948", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:03Z"}], "nextLink": "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: f3590e6c-b688-405f-88e9-3891dc9af465 + content-length: '5840' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:13:42 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '177' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!232!MDAwMTMwIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2E1YjlmMGFlLWVlNmUtNGI0NC04ZmVjLTg0N2YyYzczMDFhZC9hNWI5ZjBhZS1lZTZlLTRiNDQtOGZlYy04NDdmMmM3MzAxYWQuZ3ohMDAwMDI4ITk5OTktMTItMzFUMjM6NTk6NTkuOTk5OTk5OVoh +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "bab3feee-4a43-486d-952b-cc899f18f948", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:03Z"}, {"modelId": "bab98a94-a8cc-42f9-8bae-fc961f765dce", + "status": "ready", "createdDateTime": "2020-04-09T18:24:06Z", "lastUpdatedDateTime": + "2020-04-09T18:24:16Z"}, {"modelId": "bb94db6a-107f-4d9b-adba-d1f137008bf7", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:44:11Z", "lastUpdatedDateTime": + "2020-08-11T20:44:21Z"}, {"modelId": "bc5f61cd-dc85-402e-98fc-92ce4e5bdb30", + "status": "invalid", "createdDateTime": "2020-03-15T19:24:02Z", "lastUpdatedDateTime": + "2020-03-15T19:24:03Z"}, {"modelId": "bd0e3e04-fded-400b-997b-22fd7d344904", + "status": "ready", "createdDateTime": "2020-03-27T22:52:51Z", "lastUpdatedDateTime": + "2020-03-27T22:52:58Z"}, {"modelId": "bd8e3b06-7a61-4029-a0e3-c4f58a363acc", + "status": "invalid", "createdDateTime": "2020-04-02T19:51:28Z", "lastUpdatedDateTime": + "2020-04-02T19:59:00Z"}, {"modelId": "bddfc2d3-1859-4ac6-be96-c015836bc990", + "status": "ready", "createdDateTime": "2020-08-20T20:40:47Z", "lastUpdatedDateTime": + "2020-08-20T20:40:56Z"}, {"modelId": "be5ecf2a-b609-4dd4-9f03-a0561d483732", + "status": "invalid", "createdDateTime": "2020-04-14T01:44:03Z", "lastUpdatedDateTime": + "2020-04-14T01:44:08Z"}, {"modelId": "bf01fd51-9fdd-4289-a9ed-e077dc5e1f7e", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T20:33:22Z", "lastUpdatedDateTime": + "2020-08-11T20:33:22Z"}, {"modelId": "bf50a011-2c92-4c97-8b76-957ea44195e1", + "status": "ready", "createdDateTime": "2020-11-20T17:55:12Z", "lastUpdatedDateTime": + "2020-11-20T17:55:28Z"}, {"modelId": "c2a8aee6-ae32-41a1-8237-95798af855d8", + "status": "ready", "createdDateTime": "2020-03-24T20:47:04Z", "lastUpdatedDateTime": + "2020-03-24T20:47:11Z"}, {"modelId": "c2b82463-0baf-4508-bc50-e65963c43d23", + "status": "ready", "createdDateTime": "2021-01-21T22:46:50Z", "lastUpdatedDateTime": + "2021-01-21T22:47:14Z"}, {"modelId": "c2fe85bf-a2c1-4348-9b95-c689a5b273f5", + "status": "ready", "createdDateTime": "2020-04-13T16:41:11Z", "lastUpdatedDateTime": + "2020-04-13T16:41:14Z"}, {"modelId": "c38e7455-34a5-4f9b-a22f-12899ccf5d09", + "status": "ready", "createdDateTime": "2020-04-21T00:11:48Z", "lastUpdatedDateTime": + "2020-04-21T00:11:51Z"}, {"modelId": "c454bdc0-0cbe-4db0-88c3-30693e1123f5", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-08-20T20:41:01Z", "lastUpdatedDateTime": "2020-08-20T20:41:04Z"}, {"modelId": + "c473728b-c3ca-4b7e-93af-662a8e17947d", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2021-02-19T18:56:03Z", "lastUpdatedDateTime": + "2021-02-19T18:56:06Z"}, {"modelId": "c4a20ce8-6e06-4c30-b47c-33b474c373ac", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-01-25T20:20:02Z", "lastUpdatedDateTime": "2021-01-25T20:20:04Z"}, + {"modelId": "c661f6da-23ef-4f24-a5ef-e91a14ef4a41", "status": "ready", "createdDateTime": + "2020-08-11T23:19:18Z", "lastUpdatedDateTime": "2020-08-11T23:19:36Z"}, {"modelId": + "c770d56d-79c6-4ccb-b89a-4552ec24056d", "status": "ready", "createdDateTime": + "2020-08-20T21:13:16Z", "lastUpdatedDateTime": "2020-08-20T21:13:25Z"}, {"modelId": + "c8bbf64a-9423-40a1-aac7-72922a6e4801", "status": "invalid", "createdDateTime": + "2020-04-09T18:35:14Z", "lastUpdatedDateTime": "2020-04-09T18:35:15Z"}, {"modelId": + "c9d22995-6965-4b36-8844-00c61879010a", "modelName": "labeled", "status": + "invalid", "createdDateTime": "2021-02-26T19:15:03Z", "lastUpdatedDateTime": + "2021-02-26T19:15:03Z"}, {"modelId": "caac4b3b-23f1-4e53-a3e8-e3c234c79710", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2021-02-26T21:37:34Z", "lastUpdatedDateTime": "2021-02-26T21:37:38Z"}, + {"modelId": "cb325498-7a1d-4e2b-a80c-c98478231abc", "status": "ready", "createdDateTime": + "2020-04-02T16:20:38Z", "lastUpdatedDateTime": "2020-04-02T16:22:34Z"}, {"modelId": + "cbb86966-cad1-495e-911c-263e477615d1", "status": "ready", "createdDateTime": + "2020-04-10T18:01:12Z", "lastUpdatedDateTime": "2020-04-10T18:01:28Z"}, {"modelId": + "cbc91473-3054-4637-8ca8-967e11bab29a", "status": "invalid", "createdDateTime": + "2020-03-15T19:30:13Z", "lastUpdatedDateTime": "2020-03-15T19:30:14Z"}, {"modelId": + "ccbb04ae-bd77-4e74-9c97-3c39d754dc5d", "status": "ready", "createdDateTime": + "2021-01-21T18:09:35Z", "lastUpdatedDateTime": "2021-01-21T18:10:00Z"}, {"modelId": + "cd33f3fb-88e0-4180-9ce0-7710635d0050", "status": "ready", "createdDateTime": + "2020-04-02T19:46:59Z", "lastUpdatedDateTime": "2020-04-02T19:47:14Z"}, {"modelId": + "ce4cc78e-b084-4af3-b73d-944ec6592da4", "status": "ready", "createdDateTime": + "2020-11-20T18:01:24Z", "lastUpdatedDateTime": "2020-11-20T18:01:39Z"}, {"modelId": + "ce620645-036d-4c69-9601-87d80dd2e56f", "attributes": {"isComposed": false}, + "status": "ready", "createdDateTime": "2020-11-20T17:55:57Z", "lastUpdatedDateTime": + "2020-11-20T17:55:59Z"}, {"modelId": "ce8a802c-1e9c-431d-af78-4bb9d368636b", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-01-21T18:14:22Z", "lastUpdatedDateTime": "2021-01-21T18:14:25Z"}, {"modelId": + "ce9a0d9d-1cc2-4c8d-84a0-adfea2a4b00c", "status": "invalid", "createdDateTime": + "2021-02-19T19:05:55Z", "lastUpdatedDateTime": "2021-02-19T19:05:55Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: c301c245-7d6f-4fe2-b0d9-ea4fb102e3c1 + content-length: '5560' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:13:42 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '175' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2JhYjNmZWVlLTRhNDMtNDg2ZC05NTJiLWNjODk5ZjE4Zjk0OC91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 41 seconds. Please contact Azure support service if you would + like to further increase the default rate limit."}}' + headers: + apim-request-id: 56ccc703-37ce-47ac-80d6-492086e4c3a2 + content-length: '359' + content-type: application/json + date: Wed, 03 Mar 2021 23:13:42 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + status: + code: 429 + message: Too Many Requests + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "ce9a0d9d-1cc2-4c8d-84a0-adfea2a4b00c", + "status": "invalid", "createdDateTime": "2021-02-19T19:05:55Z", "lastUpdatedDateTime": + "2021-02-19T19:05:55Z"}, {"modelId": "cec2a4b0-2b5b-4058-bea7-7162870767fb", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-11-20T18:00:33Z", "lastUpdatedDateTime": "2020-11-20T18:00:35Z"}, {"modelId": + "cfdd8245-24b8-4b48-a1de-75731da6a869", "status": "ready", "createdDateTime": + "2020-11-20T17:57:04Z", "lastUpdatedDateTime": "2020-11-20T17:57:28Z"}, {"modelId": + "d02368e2-776b-4e8c-a252-4ffb09a3a2d6", "status": "ready", "createdDateTime": + "2020-04-05T22:13:49Z", "lastUpdatedDateTime": "2020-04-05T22:13:57Z"}, {"modelId": + "d0d94e15-dd9b-471c-8f5f-f5666728022c", "modelName": "my unlabeled model", + "status": "ready", "createdDateTime": "2021-01-22T02:10:08Z", "lastUpdatedDateTime": + "2021-01-22T02:10:23Z"}, {"modelId": "d132b434-376a-42c6-aa03-053bb112327f", + "status": "invalid", "createdDateTime": "2020-04-10T18:14:46Z", "lastUpdatedDateTime": + "2020-04-10T18:14:51Z"}, {"modelId": "d26a76b9-7ff5-4876-a421-433a5514d547", + "status": "ready", "createdDateTime": "2020-03-27T20:14:00Z", "lastUpdatedDateTime": + "2020-03-27T20:14:08Z"}, {"modelId": "d4357872-dce9-4fd3-841a-cee4b0daa3f6", + "modelName": "labeled", "status": "invalid", "createdDateTime": "2021-02-19T18:56:00Z", + "lastUpdatedDateTime": "2021-02-19T18:56:00Z"}, {"modelId": "d5b6bb35-1af5-4a3c-9df1-afbe01325b37", + "status": "creating", "createdDateTime": "2020-05-29T16:22:52Z", "lastUpdatedDateTime": + "2020-05-29T16:22:52Z"}, {"modelId": "d719afdc-0ed9-453b-9249-9f5496c1f18b", + "status": "invalid", "createdDateTime": "2021-03-03T22:42:15Z", "lastUpdatedDateTime": + "2021-03-03T22:42:16Z"}, {"modelId": "d7baf796-3374-4102-808f-549e7b2bede3", + "status": "ready", "createdDateTime": "2020-03-16T22:36:18Z", "lastUpdatedDateTime": + "2020-03-16T22:38:16Z"}, {"modelId": "d7fa5a14-3b26-4d60-8a99-d4f2346c1fa2", + "status": "ready", "createdDateTime": "2021-02-19T19:05:57Z", "lastUpdatedDateTime": + "2021-02-19T19:06:27Z"}, {"modelId": "da242fae-bff0-4df3-a573-fb987c28680b", + "status": "ready", "createdDateTime": "2020-03-13T21:36:05Z", "lastUpdatedDateTime": + "2020-03-13T21:38:04Z"}, {"modelId": "dbed6e5d-b638-48dd-b70c-9495fa0b449f", + "status": "ready", "createdDateTime": "2020-03-16T22:51:48Z", "lastUpdatedDateTime": + "2020-03-16T22:52:06Z"}, {"modelId": "dbf56674-d90b-4a6c-8ec0-4e6fcebd282b", + "status": "ready", "createdDateTime": "2020-03-27T23:09:03Z", "lastUpdatedDateTime": + "2020-03-27T23:09:10Z"}, {"modelId": "dc8d5735-3f5a-4cdf-b02d-25af4466780f", + "status": "ready", "createdDateTime": "2020-04-02T00:23:48Z", "lastUpdatedDateTime": + "2020-04-02T00:25:50Z"}, {"modelId": "dd1e53c7-4dd3-4bc0-b17e-598b5b5bd2b5", + "status": "invalid", "createdDateTime": "2021-02-19T19:01:09Z", "lastUpdatedDateTime": + "2021-02-19T19:01:10Z"}, {"modelId": "ddc69cde-4730-40c2-9426-51df12945713", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:02Z", "lastUpdatedDateTime": + "2021-02-19T19:06:07Z"}, {"modelId": "ddeddf4b-f082-44ad-8b42-b11d83e76113", + "status": "invalid", "createdDateTime": "2020-04-01T02:34:54Z", "lastUpdatedDateTime": + "2020-04-01T02:34:54Z"}, {"modelId": "ddf74a7a-9873-414c-bc88-f878022fa022", + "status": "invalid", "createdDateTime": "2021-02-22T16:20:01Z", "lastUpdatedDateTime": + "2021-02-22T16:20:02Z"}, {"modelId": "de01a167-278d-4505-a49f-c79a8e1b3a36", + "status": "ready", "createdDateTime": "2020-03-16T22:26:23Z", "lastUpdatedDateTime": + "2020-03-16T22:28:23Z"}, {"modelId": "de49407c-685a-46aa-afad-5553f2ae05d9", + "status": "ready", "createdDateTime": "2020-04-02T00:26:05Z", "lastUpdatedDateTime": + "2020-04-02T00:28:05Z"}, {"modelId": "de58c08e-5f14-4db0-afd9-75615bbff0d2", + "status": "ready", "createdDateTime": "2020-04-02T16:51:56Z", "lastUpdatedDateTime": + "2020-04-02T16:53:52Z"}, {"modelId": "de92a78c-35bb-4aea-a9b1-62ec8f98fe03", + "status": "ready", "createdDateTime": "2020-03-27T20:17:58Z", "lastUpdatedDateTime": + "2020-03-27T20:18:05Z"}, {"modelId": "de92aa7f-7353-4e2b-a19b-bb37de3b3e8f", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2020-10-15T20:31:54Z", "lastUpdatedDateTime": "2020-10-15T20:31:57Z"}, {"modelId": + "dea616c5-7cce-4359-ae2a-7ef793cf77d8", "status": "ready", "createdDateTime": + "2020-04-13T16:40:33Z", "lastUpdatedDateTime": "2020-04-13T16:40:42Z"}, {"modelId": + "df5e4ab4-08cd-4e21-8a4f-ba0962023327", "status": "ready", "createdDateTime": + "2020-11-20T17:02:50Z", "lastUpdatedDateTime": "2020-11-20T17:03:05Z"}, {"modelId": + "dfd1e091-2bf5-48ba-9f57-a5b22786b622", "status": "ready", "createdDateTime": + "2020-04-01T23:22:11Z", "lastUpdatedDateTime": "2020-04-01T23:24:06Z"}, {"modelId": + "e072e2d3-04ce-44ce-9fbb-4d5ed06ca85f", "status": "invalid", "createdDateTime": + "2021-02-19T18:56:10Z", "lastUpdatedDateTime": "2021-02-19T18:56:11Z"}, {"modelId": + "e09252cb-4a52-4e90-b448-3f50077b8e38", "status": "creating", "createdDateTime": + "2021-02-19T19:06:23Z", "lastUpdatedDateTime": "2021-02-19T19:06:23Z"}, {"modelId": + "e167387b-a667-4784-9f41-b3f63dc378ed", "status": "ready", "createdDateTime": + "2020-03-20T00:22:58Z", "lastUpdatedDateTime": "2020-03-20T00:23:05Z"}, {"modelId": + "e2a0113e-0f8e-48d0-b67a-dcde86a914cd", "status": "ready", "createdDateTime": + "2020-11-20T17:57:47Z", "lastUpdatedDateTime": "2020-11-20T17:58:09Z"}, {"modelId": + "e2c172e6-2850-4df2-b2a6-07aba8a5ea91", "status": "ready", "createdDateTime": + "2020-04-13T16:49:51Z", "lastUpdatedDateTime": "2020-04-13T16:49:59Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: 5c6f99bd-ef61-448a-809c-325f6cb803ec + content-length: '5595' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:14:24 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '177' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2NlOWEwZDlkLTFjYzItNGM4ZC04NGEwLWFkZmVhMmE0YjAwYy91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"error": {"code": "429", "message": "Requests to the Custom Form Model + Management - List Custom Models Operation under Form Recognizer API (v2.1-preview.3) + have exceeded rate limit of your current FormRecognizer S0 pricing tier. Please + retry after 16 seconds. Please contact Azure support service if you would + like to further increase the default rate limit."}}' + headers: + apim-request-id: 83bd619d-7a3e-4781-a551-32fe106802f2 + content-length: '359' + content-type: application/json + date: Wed, 03 Mar 2021 23:14:24 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + status: + code: 429 + message: Too Many Requests + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "e2c172e6-2850-4df2-b2a6-07aba8a5ea91", + "status": "ready", "createdDateTime": "2020-04-13T16:49:51Z", "lastUpdatedDateTime": + "2020-04-13T16:49:59Z"}, {"modelId": "e388d036-13f7-4374-af72-7aa7380108e7", + "status": "invalid", "createdDateTime": "2020-04-13T19:46:38Z", "lastUpdatedDateTime": + "2020-04-13T19:48:38Z"}, {"modelId": "e3eb7756-2c2b-4296-a9a0-a563b35d7ccb", + "status": "invalid", "createdDateTime": "2020-04-10T18:08:31Z", "lastUpdatedDateTime": + "2020-04-10T18:08:32Z"}, {"modelId": "e422873e-43c2-4f14-b557-0d775a5b037b", + "status": "invalid", "createdDateTime": "2021-02-19T18:55:57Z", "lastUpdatedDateTime": + "2021-02-19T18:55:58Z"}, {"modelId": "e461875d-77ca-421e-aa2b-8a787f5735ff", + "status": "ready", "createdDateTime": "2020-04-05T21:53:21Z", "lastUpdatedDateTime": + "2020-04-05T21:53:28Z"}, {"modelId": "e519f7e6-96e8-476b-b7a6-557f6f48bfaa", + "status": "invalid", "createdDateTime": "2020-04-09T18:17:31Z", "lastUpdatedDateTime": + "2020-04-09T18:17:31Z"}, {"modelId": "e5a2a123-af7a-4234-936a-d2ca9cd641c1", + "status": "ready", "createdDateTime": "2020-04-13T16:51:05Z", "lastUpdatedDateTime": + "2020-04-13T16:51:13Z"}, {"modelId": "e6417003-61c9-4de0-a889-3e0483a012fb", + "status": "invalid", "createdDateTime": "2021-03-03T21:17:31Z", "lastUpdatedDateTime": + "2021-03-03T21:17:32Z"}, {"modelId": "e6518ac6-6645-4cfd-9dd4-12df31de1eb4", + "status": "ready", "createdDateTime": "2020-03-19T22:16:55Z", "lastUpdatedDateTime": + "2020-03-19T22:18:55Z"}, {"modelId": "e6e06c93-42d4-49df-a506-d32ea982cd53", + "status": "invalid", "createdDateTime": "2021-02-19T19:06:46Z", "lastUpdatedDateTime": + "2021-02-19T19:06:46Z"}, {"modelId": "e8c09d1b-d5b6-4a7e-a28e-9466f5679160", + "status": "ready", "createdDateTime": "2020-03-05T18:08:04Z", "lastUpdatedDateTime": + "2020-03-05T18:08:12Z"}, {"modelId": "e90ecd74-081f-4887-95c0-7002cefd4bdf", + "status": "invalid", "createdDateTime": "2020-03-19T22:08:57Z", "lastUpdatedDateTime": + "2020-03-19T22:08:58Z"}, {"modelId": "e95cef9a-c99b-411c-b39a-8af574dc5111", + "status": "ready", "createdDateTime": "2020-04-13T16:33:31Z", "lastUpdatedDateTime": + "2020-04-13T16:33:40Z"}, {"modelId": "e9d7df21-3ea9-4028-b13f-373c6a248aee", + "modelName": "firstcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T17:51:58Z", "lastUpdatedDateTime": + "2020-08-11T17:51:59Z"}, {"modelId": "ea24ba4a-8565-47cf-a5b6-752d717230bb", + "modelName": "my unlabeled model", "status": "ready", "createdDateTime": "2020-11-19T17:33:51Z", + "lastUpdatedDateTime": "2020-11-19T17:34:08Z"}, {"modelId": "eaaab65d-21f2-46c1-83b7-19b90415ecee", + "status": "ready", "createdDateTime": "2020-04-02T19:31:36Z", "lastUpdatedDateTime": + "2020-04-02T19:33:33Z"}, {"modelId": "eb5ff00f-b1d8-49c2-9958-fa1f4da9b629", + "status": "invalid", "createdDateTime": "2020-04-13T19:41:32Z", "lastUpdatedDateTime": + "2020-04-13T19:44:32Z"}, {"modelId": "ebc527e6-3243-4467-a72e-fe6892eb5216", + "status": "ready", "createdDateTime": "2020-03-15T19:31:47Z", "lastUpdatedDateTime": + "2020-03-15T19:33:47Z"}, {"modelId": "ebfde9f8-1278-4b81-ae76-14b96100d08d", + "status": "ready", "createdDateTime": "2020-04-13T16:41:08Z", "lastUpdatedDateTime": + "2020-04-13T16:41:22Z"}, {"modelId": "ec7345b4-6545-4b37-898a-56564505f6aa", + "status": "ready", "createdDateTime": "2020-03-16T22:25:28Z", "lastUpdatedDateTime": + "2020-03-16T22:27:25Z"}, {"modelId": "ed06d91f-96f8-4229-8896-644aa2ec76d9", + "status": "ready", "createdDateTime": "2020-03-19T22:21:33Z", "lastUpdatedDateTime": + "2020-03-19T22:21:40Z"}, {"modelId": "eed4b417-f6a5-4327-8707-20bdc4d82ffe", + "modelName": "labeled", "attributes": {"isComposed": false}, "status": "ready", + "createdDateTime": "2020-11-20T17:55:39Z", "lastUpdatedDateTime": "2020-11-20T17:55:42Z"}, + {"modelId": "eef0cf2f-0b15-46c1-8149-256cc57bdf71", "status": "ready", "createdDateTime": + "2020-03-20T00:22:11Z", "lastUpdatedDateTime": "2020-03-20T00:22:18Z"}, {"modelId": + "efd796a2-3362-41a2-849e-31609f91efcc", "status": "ready", "createdDateTime": + "2020-04-02T00:23:22Z", "lastUpdatedDateTime": "2020-04-02T00:25:24Z"}, {"modelId": + "f0f1400c-7fe3-42bb-8494-7a2c46716af5", "status": "invalid", "createdDateTime": + "2021-02-19T19:06:40Z", "lastUpdatedDateTime": "2021-02-19T19:06:41Z"}, {"modelId": + "f20de4fc-5ee9-4512-b124-d4d7556329c7", "status": "invalid", "createdDateTime": + "2021-02-19T19:06:35Z", "lastUpdatedDateTime": "2021-02-19T19:06:35Z"}, {"modelId": + "f296a007-a7bd-4206-bbbb-c5b88dd59c7d", "status": "invalid", "createdDateTime": + "2021-02-19T18:56:07Z", "lastUpdatedDateTime": "2021-02-19T18:56:07Z"}, {"modelId": + "f2e4f2ec-3571-4aef-836b-89ba255f50eb", "status": "invalid", "createdDateTime": + "2020-04-09T18:23:11Z", "lastUpdatedDateTime": "2020-04-09T18:23:11Z"}, {"modelId": + "f3023093-98d2-4e32-b496-b1470249649d", "status": "ready", "createdDateTime": + "2020-11-20T18:00:50Z", "lastUpdatedDateTime": "2020-11-20T18:01:08Z"}, {"modelId": + "f3691c75-c53b-4d1c-8618-1223d071ee9a", "status": "invalid", "createdDateTime": + "2021-02-25T19:41:51Z", "lastUpdatedDateTime": "2021-02-25T19:41:51Z"}, {"modelId": + "f3890bc0-50b9-4344-857a-f3defa8dafc1", "status": "ready", "createdDateTime": + "2020-04-01T23:29:45Z", "lastUpdatedDateTime": "2020-04-01T23:31:48Z"}, {"modelId": + "f39f66b2-69d9-4e38-bf5f-ba08450bbc01", "status": "ready", "createdDateTime": + "2020-04-13T16:42:32Z", "lastUpdatedDateTime": "2020-04-13T16:42:40Z"}, {"modelId": + "f3db1202-a69b-4ddb-84e5-80c9b5077197", "status": "invalid", "createdDateTime": + "2020-04-09T18:22:00Z", "lastUpdatedDateTime": "2020-04-09T18:22:01Z"}, {"modelId": + "f3dbfe5d-94e4-4953-b7fc-f185b606aee2", "status": "ready", "createdDateTime": + "2020-03-13T16:40:28Z", "lastUpdatedDateTime": "2020-03-13T16:40:45Z"}, {"modelId": + "f40282a5-c2b8-4383-86c1-7d64d498cc60", "status": "ready", "createdDateTime": + "2020-04-02T19:28:59Z", "lastUpdatedDateTime": "2020-04-02T19:30:59Z"}], "nextLink": + "https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE-"}' + headers: + apim-request-id: a66dd3a8-ce85-4001-aa9a-3236cf475aa6 + content-length: '5971' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:14:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '195' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!204!MDAwMTA4IXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2UyYzE3MmU2LTI4NTAtNGRmMi1iMmE2LTA3YWJhOGE1ZWE5MS91c2VMYWJlbEZpbGUuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- + response: + body: + string: '{"modelList": [{"modelId": "f409d651-6fe4-4fb9-a999-c35cd29eeac2", + "status": "invalid", "createdDateTime": "2021-03-03T22:30:05Z", "lastUpdatedDateTime": + "2021-03-03T22:30:06Z"}, {"modelId": "f47bb380-72a1-46ea-9a18-ab2449b18764", + "status": "invalid", "createdDateTime": "2021-02-19T18:55:59Z", "lastUpdatedDateTime": + "2021-02-19T18:55:59Z"}, {"modelId": "f5900931-ba09-4f92-904a-57666b5ca8cd", + "status": "invalid", "createdDateTime": "2020-04-01T02:30:51Z", "lastUpdatedDateTime": + "2020-04-01T02:30:53Z"}, {"modelId": "f5a2180b-341b-4410-889c-ae96b8a0d262", + "status": "ready", "createdDateTime": "2020-04-13T16:50:37Z", "lastUpdatedDateTime": + "2020-04-13T16:50:44Z"}, {"modelId": "f5d30229-3961-4553-a085-dab82f5c30c8", + "modelName": "secondcomposedmodel", "attributes": {"isComposed": true}, "status": + "ready", "createdDateTime": "2020-08-11T19:41:07Z", "lastUpdatedDateTime": + "2020-08-11T19:41:07Z"}, {"modelId": "f6124582-9fe1-46ab-a0b3-a9c84ebf5ec1", + "status": "ready", "createdDateTime": "2020-04-10T20:36:10Z", "lastUpdatedDateTime": + "2020-04-10T20:36:25Z"}, {"modelId": "f69db1c5-0480-4689-b393-f100f30efaac", + "status": "ready", "createdDateTime": "2020-04-02T20:47:54Z", "lastUpdatedDateTime": + "2020-04-02T20:49:48Z"}, {"modelId": "f6b91b15-e67b-4624-b585-c31c4671c33d", + "status": "ready", "createdDateTime": "2020-04-10T21:06:19Z", "lastUpdatedDateTime": + "2020-04-10T21:06:28Z"}, {"modelId": "f75b67df-e8ca-4406-815d-097046f8a4b7", + "status": "invalid", "createdDateTime": "2020-03-16T19:18:06Z", "lastUpdatedDateTime": + "2020-03-16T19:18:07Z"}, {"modelId": "f797ccfe-cbdd-4528-ab8c-b37924f72967", + "status": "invalid", "createdDateTime": "2020-03-05T18:22:08Z", "lastUpdatedDateTime": + "2020-03-05T18:22:08Z"}, {"modelId": "f83a8716-dfc4-4df5-be8b-2e7df43b7272", + "status": "invalid", "createdDateTime": "2020-04-09T18:28:33Z", "lastUpdatedDateTime": + "2020-04-09T18:28:35Z"}, {"modelId": "f8c3a2da-7d51-47f6-a6e0-3d8bbd823cc2", + "status": "ready", "createdDateTime": "2020-03-24T20:38:07Z", "lastUpdatedDateTime": + "2020-03-24T20:38:18Z"}, {"modelId": "f9afe989-cc62-4f3c-b9e0-b6a2923d4578", + "status": "ready", "createdDateTime": "2020-03-15T20:26:57Z", "lastUpdatedDateTime": + "2020-03-15T20:29:00Z"}, {"modelId": "fb3eeb7f-adef-4622-a137-dd17599f0f6b", + "status": "ready", "createdDateTime": "2020-04-02T17:27:49Z", "lastUpdatedDateTime": + "2020-04-02T17:29:45Z"}, {"modelId": "fbcdd5e6-475c-4361-a3fc-d3b43bb75de1", + "status": "invalid", "createdDateTime": "2021-03-03T22:24:53Z", "lastUpdatedDateTime": + "2021-03-03T22:24:54Z"}, {"modelId": "fc4fdcb2-0f84-49cb-b860-5e22cd17c44f", + "status": "ready", "createdDateTime": "2020-04-02T17:52:07Z", "lastUpdatedDateTime": + "2020-04-02T17:54:10Z"}, {"modelId": "fd3ba569-e24a-4342-a508-d9d58054a0e7", + "status": "invalid", "createdDateTime": "2021-03-01T21:11:26Z", "lastUpdatedDateTime": + "2021-03-01T21:11:26Z"}, {"modelId": "fd662a46-ee95-42b9-8fa2-bed6d1b29592", + "status": "ready", "createdDateTime": "2020-04-21T05:35:20Z", "lastUpdatedDateTime": + "2020-04-21T05:35:23Z"}, {"modelId": "fd744fab-3f7b-4ba5-a108-9a9b59ecc73b", + "attributes": {"isComposed": false}, "status": "ready", "createdDateTime": + "2021-02-19T18:56:01Z", "lastUpdatedDateTime": "2021-02-19T18:56:04Z"}, {"modelId": + "fddc5f4d-06da-4bac-b368-15522b733c73", "status": "ready", "createdDateTime": + "2020-03-05T18:10:41Z", "lastUpdatedDateTime": "2020-03-05T18:10:49Z"}, {"modelId": + "fe3b2759-5703-4bef-8300-e0cdd3fe45a2", "status": "ready", "createdDateTime": + "2020-04-10T20:39:48Z", "lastUpdatedDateTime": "2020-04-10T20:39:56Z"}, {"modelId": + "fe4858ef-b3f1-4ba0-ad54-8aa644564b75", "status": "ready", "createdDateTime": + "2020-11-19T18:02:49Z", "lastUpdatedDateTime": "2020-11-19T18:03:05Z"}, {"modelId": + "fe811743-1b2d-468e-898b-09234da8b3bc", "status": "ready", "createdDateTime": + "2020-03-16T16:00:29Z", "lastUpdatedDateTime": "2020-03-16T16:02:34Z"}], "nextLink": + ""}' + headers: + apim-request-id: dd00f3ad-777a-4b6f-ac7e-0525042fd834 + content-length: '3688' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 23:14:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '103' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models?nextLink=2!236!MDAwMTMyIXN1YnNjcmlwdGlvbnMvYzUwM2I4ODFkNmM2NGY1OGFmYjM3MmMxOTI0YmMyMzQvbW9kZWxzL2Y0MDlkNjUxLTZmZTQtNGZiOS1hOTk5LWMzNWNkMjllZWFjMi9mNDA5ZDY1MS02ZmU0LTRmYjktYTk5OS1jMzVjZDI5ZWVhYzIuanNvbiEwMDAwMjghOTk5OS0xMi0zMVQyMzo1OTo1OS45OTk5OTk5WiE- +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae response: body: string: '' headers: - apim-request-id: ea7e978b-cf2f-4cde-94c0-554ff289752d + apim-request-id: 33388884-8f08-41eb-8736-cedbf3909d9f content-length: '0' - date: Fri, 30 Oct 2020 01:26:11 GMT + date: Wed, 03 Mar 2021 23:14:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff x-envoy-upstream-service-time: '23' status: code: 204 message: No Content - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f?includeKeys=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae?includeKeys=true response: body: - string: '{"error": {"code": "1022", "message": "Model with ''id=b626ac41-4383-4e60-bdd4-37c400a5416f'' + string: '{"error": {"code": "1022", "message": "Model with ''id=412d5914-4fa9-4d2c-8d4b-4759cf1187ae'' not found."}}' headers: - apim-request-id: a7c6d2dc-39cc-4e03-96e1-72877a112120 + apim-request-id: 65a7532c-e95d-43fd-bfe7-7f5a2808751f + content-length: '101' content-type: application/json; charset=utf-8 - date: Fri, 30 Oct 2020 01:26:11 GMT + date: Wed, 03 Mar 2021 23:14:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '14' status: code: 404 message: Not Found - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/custom/models/b626ac41-4383-4e60-bdd4-37c400a5416f?includeKeys=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/custom/models/412d5914-4fa9-4d2c-8d4b-4759cf1187ae?includeKeys=true version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_authentication_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_authentication_bad_key.yaml index 7aa0e4f01e7b..65985d5db64a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_authentication_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_authentication_bad_key.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -25,7 +25,7 @@ interactions: content-length: - '224' date: - - Mon, 16 Nov 2020 19:08:57 GMT + - Mon, 01 Mar 2021 21:20:32 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_authentication_successful_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_authentication_successful_key.yaml index 65f7f29d61fd..742e73665982 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_authentication_successful_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_authentication_successful_key.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - 1ff5365d-b8b3-4448-af6d-93b5f1e9a8e4 + - fa64986f-209e-4cfd-81d1-952bbf700c9d content-length: - '0' date: - - Mon, 16 Nov 2020 19:08:58 GMT + - Fri, 19 Feb 2021 16:36:07 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/1ff5365d-b8b3-4448-af6d-93b5f1e9a8e4 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/fa64986f-209e-4cfd-81d1-952bbf700c9d strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '677' + - '261' status: code: 202 message: Accepted @@ -48,13 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/1ff5365d-b8b3-4448-af6d-93b5f1e9a8e4 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/fa64986f-209e-4cfd-81d1-952bbf700c9d response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:08:58Z", - "lastUpdatedDateTime": "2020-11-16T19:09:02Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-02-19T16:36:07Z", + "lastUpdatedDateTime": "2021-02-19T16:36:10Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": @@ -96,19 +96,19 @@ interactions: 2739], "page": 1, "confidence": 0.985}}}]}}' headers: apim-request-id: - - c2856806-d705-4338-be31-aa24fa0c3489 + - cc6df37f-6308-43e2-8a7e-4b339b582277 content-length: - '2835' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:09:03 GMT + - Fri, 19 Feb 2021 16:36:12 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '95' + - '48' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_blank_page.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_blank_page.yaml index 1199c2c72b1f..274047a7343f 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_blank_page.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_blank_page.yaml @@ -464,27 +464,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - af108532-ae00-46c2-a8b5-b316dd512760 + - d603c9ec-98f1-4984-ab85-50a0722371f1 content-length: - '0' date: - - Mon, 16 Nov 2020 19:09:04 GMT + - Mon, 01 Mar 2021 21:20:38 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/af108532-ae00-46c2-a8b5-b316dd512760 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d603c9ec-98f1-4984-ab85-50a0722371f1 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '119' + - '71' status: code: 202 message: Accepted @@ -498,31 +498,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/af108532-ae00-46c2-a8b5-b316dd512760 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/d603c9ec-98f1-4984-ab85-50a0722371f1 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:09:04Z", - "lastUpdatedDateTime": "2020-11-16T19:09:08Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T21:20:39Z", + "lastUpdatedDateTime": "2021-03-01T21:20:42Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {}}]}}' headers: apim-request-id: - - 72063e63-d1b4-4f6b-8ac5-2f7ab23a4617 + - 18f382f1-a8dc-4986-8912-0acd3cbae7bd content-length: - '300' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:09:09 GMT + - Mon, 01 Mar 2021 21:20:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '31' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_damaged_file_passed_as_bytes.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_damaged_file_passed_as_bytes.yaml index 4bcbede7072d..00f1f8db1194 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_damaged_file_passed_as_bytes.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_damaged_file_passed_as_bytes.yaml @@ -13,28 +13,28 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: - string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "a533931f-55a1-4fd1-ad36-3c11ec5618a2"}, + string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "90a3a31a-1ae2-4222-b5fd-a4d214fc7e11"}, "message": "Bad or unrecognizable request JSON or binary file."}}' headers: apim-request-id: - - a533931f-55a1-4fd1-ad36-3c11ec5618a2 + - 90a3a31a-1ae2-4222-b5fd-a4d214fc7e11 content-length: - '161' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:09:09 GMT + - Mon, 01 Mar 2021 21:20:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5' + - '207' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_damaged_file_passed_as_bytes_io.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_damaged_file_passed_as_bytes_io.yaml index 7cb1195bf541..2befb44f49b7 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_damaged_file_passed_as_bytes_io.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_damaged_file_passed_as_bytes_io.yaml @@ -18,28 +18,28 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: - string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "f82a52be-58f7-4e3c-a6db-02b08933fb78"}, + string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "2faf0754-4138-439d-977f-7ad6743f988e"}, "message": "Bad or unrecognizable request JSON or binary file."}}' headers: apim-request-id: - - f82a52be-58f7-4e3c-a6db-02b08933fb78 + - 2faf0754-4138-439d-977f-7ad6743f988e content-length: - '161' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:09:11 GMT + - Mon, 01 Mar 2021 21:20:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5' + - '3' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_passing_enum_content_type.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_passing_enum_content_type.yaml index 06491ecc553c..efba605d7fde 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_passing_enum_content_type.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_passing_enum_content_type.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - image/png User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - 2d4a5d71-b019-48c1-afb0-11a6d7f263ea + - a655cf2b-f08a-4c59-a522-d92e83f64b5f content-length: - '0' date: - - Mon, 16 Nov 2020 19:09:15 GMT + - Mon, 01 Mar 2021 21:20:46 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/2d4a5d71-b019-48c1-afb0-11a6d7f263ea + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a655cf2b-f08a-4c59-a522-d92e83f64b5f strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '745' + - '489' status: code: 202 message: Accepted @@ -48,13 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/2d4a5d71-b019-48c1-afb0-11a6d7f263ea + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a655cf2b-f08a-4c59-a522-d92e83f64b5f response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:09:15Z", - "lastUpdatedDateTime": "2020-11-16T19:09:18Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T21:20:46Z", + "lastUpdatedDateTime": "2021-03-01T21:20:49Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.2511, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": @@ -92,19 +92,19 @@ interactions: 949, 2661], "page": 1, "confidence": 0.774}}}]}}' headers: apim-request-id: - - fe9de0fe-afb6-476b-a5f1-b453b3334a8c + - 2f6822be-4cb4-4090-867e-e6708d5582ea content-length: - '2561' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:09:20 GMT + - Mon, 01 Mar 2021 21:20:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '102' + - '29' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_jpg.yaml index 87863b7f3fa7..e9a460563bd8 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_jpg.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - ea43995f-d321-4daa-8d98-d186857419ee + - 29612400-c641-4d98-8be0-44a23608fee8 content-length: - '0' date: - - Tue, 26 Jan 2021 18:16:12 GMT + - Fri, 19 Feb 2021 16:36:33 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/ea43995f-d321-4daa-8d98-d186857419ee + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/29612400-c641-4d98-8be0-44a23608fee8 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '380' + - '164' status: code: 202 message: Accepted @@ -48,13 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/ea43995f-d321-4daa-8d98-d186857419ee + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/29612400-c641-4d98-8be0-44a23608fee8 response: body: - string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:16:12Z", - "lastUpdatedDateTime": "2021-01-26T18:16:15Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-02-19T16:36:33Z", + "lastUpdatedDateTime": "2021-02-19T16:36:36Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": @@ -96,19 +96,19 @@ interactions: 2739], "page": 1, "confidence": 0.985}}}]}}' headers: apim-request-id: - - 857c7fd7-8c39-4123-8fd5-6b7f74bf7f04 + - a1b74d89-c9b5-4c6c-bcf7-49d6356323fe content-length: - '2835' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Jan 2021 18:16:17 GMT + - Fri, 19 Feb 2021 16:36:38 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '38' + - '32' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_jpg_include_field_elements.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_jpg_include_field_elements.yaml index c7df9f122793..28447b6516dd 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_jpg_include_field_elements.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_jpg_include_field_elements.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true response: body: string: '' headers: apim-request-id: - - b5144e95-3762-43c8-9afa-1ee53e1f7a03 + - da6a4eac-6767-4d90-a1f8-74c7843e639f content-length: - '0' date: - - Mon, 16 Nov 2020 19:09:35 GMT + - Mon, 01 Mar 2021 21:21:05 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/b5144e95-3762-43c8-9afa-1ee53e1f7a03 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/da6a4eac-6767-4d90-a1f8-74c7843e639f strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '200' + - '203' status: code: 202 message: Accepted @@ -48,13 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/b5144e95-3762-43c8-9afa-1ee53e1f7a03 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/da6a4eac-6767-4d90-a1f8-74c7843e639f response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:09:35Z", - "lastUpdatedDateTime": "2020-11-16T19:09:37Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T21:21:05Z", + "lastUpdatedDateTime": "2021-03-01T21:21:07Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": 3000, "unit": "pixel", "lines": [{"text": "Contoso", "boundingBox": [635, 510, 1086, 461, 1098, 558, 643, 604], "words": [{"text": "Contoso", "boundingBox": @@ -177,19 +177,19 @@ interactions: 0.985, "elements": ["#/readResults/0/lines/19/words/0"]}}}]}}' headers: apim-request-id: - - f5b8f20e-7965-46e4-b7ec-c67b1dc03ac0 + - db64023d-f3de-4d69-8e44-2556edeb5ae7 content-length: - '8501' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:09:40 GMT + - Mon, 01 Mar 2021 21:21:10 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '18' + - '30' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_locale_error.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_locale_error.yaml index 7d90cb83eeb0..5c15aee624c5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_locale_error.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_locale_error.yaml @@ -14,29 +14,29 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false&locale=not%20a%20locale + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false&locale=not%20a%20locale response: body: string: '{"error": {"code": "UnsupportedLocale", "innerError": {"requestId": - "04fc9a9b-c239-4a3b-80ea-1ab42ef044e4"}, "message": "Locale unsupported. Supported + "81f825c3-cf7f-4a10-aa4b-dae2b00ad337"}, "message": "Locale unsupported. Supported locales include en-AU, en-CA, en-GB, en-IN and en-US."}}' headers: apim-request-id: - - 04fc9a9b-c239-4a3b-80ea-1ab42ef044e4 + - 81f825c3-cf7f-4a10-aa4b-dae2b00ad337 content-length: - '200' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:09:41 GMT + - Mon, 01 Mar 2021 21:21:12 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '134' + - '163' status: code: 400 message: Bad Request diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_locale_specified.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_locale_specified.yaml index b2a2aac1483b..5e7933aaf858 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_locale_specified.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_locale_specified.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false&locale=en-IN + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false&locale=en-IN response: body: string: '' headers: apim-request-id: - - 659cb7fd-cbb5-4d0d-be5a-9053e791f441 + - 0a03973d-7554-41a7-a104-4a09cdea45a0 content-length: - '0' date: - - Mon, 16 Nov 2020 19:09:42 GMT + - Mon, 01 Mar 2021 21:21:12 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/659cb7fd-cbb5-4d0d-be5a-9053e791f441 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0a03973d-7554-41a7-a104-4a09cdea45a0 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '171' + - '216' status: code: 202 message: Accepted @@ -48,13 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/659cb7fd-cbb5-4d0d-be5a-9053e791f441 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0a03973d-7554-41a7-a104-4a09cdea45a0 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:09:42Z", - "lastUpdatedDateTime": "2020-11-16T19:09:45Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T21:21:12Z", + "lastUpdatedDateTime": "2021-03-01T21:21:14Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.1273, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": @@ -94,19 +94,19 @@ interactions: 1138, 2313], "page": 1, "confidence": 0.269}}}]}}' headers: apim-request-id: - - 87385666-9908-4287-9d0f-dd292c3a4326 + - 5904d92d-3b47-4255-8064-ba4f3ee9df9e content-length: - '2711' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:09:47 GMT + - Mon, 01 Mar 2021 21:21:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '26' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_multipage.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_multipage.yaml index 5df7bbc9c558..9810601149b8 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_multipage.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_multipage.yaml @@ -1925,27 +1925,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true response: body: string: '' headers: apim-request-id: - - b47f643e-ef6f-429c-9f17-539af07de093 + - 20042855-b85f-4696-8920-e68e9535106b content-length: - '0' date: - - Tue, 26 Jan 2021 18:35:21 GMT + - Mon, 01 Mar 2021 21:21:19 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/b47f643e-ef6f-429c-9f17-539af07de093 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/20042855-b85f-4696-8920-e68e9535106b strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '765' + - '813' status: code: 202 message: Accepted @@ -1959,13 +1959,48 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/b47f643e-ef6f-429c-9f17-539af07de093 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/20042855-b85f-4696-8920-e68e9535106b response: body: - string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:35:20Z", - "lastUpdatedDateTime": "2021-01-26T18:35:25Z", "analyzeResult": {"version": + string: '{"status": "running", "createdDateTime": "2021-03-01T21:21:19Z", "lastUpdatedDateTime": + "2021-03-01T21:21:19Z"}' + headers: + apim-request-id: + - 90ce9006-6d06-483c-8db2-aa5e406fc7dc + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 01 Mar 2021 21:21:24 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '33' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/20042855-b85f-4696-8920-e68e9535106b + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T21:21:19Z", + "lastUpdatedDateTime": "2021-03-01T21:21:25Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"text": "Company A Invoice", "boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "words": [{"text": @@ -2325,19 +2360,19 @@ interactions: "confidence": 0.985, "elements": ["#/readResults/2/lines/36/words/1"]}}}]}}' headers: apim-request-id: - - 14e81529-8769-44d2-bc4a-4fa19dcb14d6 + - f908e02f-dc6f-4e5d-b5ce-99ed627dd098 content-length: - '25475' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Jan 2021 18:35:26 GMT + - Mon, 01 Mar 2021 21:21:28 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '41' + - '70' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_multipage_transform.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_multipage_transform.yaml index 47f21a0bfe88..86823afdd246 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_multipage_transform.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_multipage_transform.yaml @@ -1925,27 +1925,27 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true response: body: string: '' headers: apim-request-id: - - 555d007b-edf8-4b46-93f6-86383933f4bb + - 430f1ac8-7cd1-40fb-8e0f-8819661bc91b content-length: - '0' date: - - Mon, 16 Nov 2020 19:09:54 GMT + - Mon, 01 Mar 2021 21:21:29 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/555d007b-edf8-4b46-93f6-86383933f4bb + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/430f1ac8-7cd1-40fb-8e0f-8819661bc91b strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '148' + - '110' status: code: 202 message: Accepted @@ -1959,13 +1959,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/555d007b-edf8-4b46-93f6-86383933f4bb + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/430f1ac8-7cd1-40fb-8e0f-8819661bc91b response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:09:55Z", - "lastUpdatedDateTime": "2020-11-16T19:09:59Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T21:21:30Z", + "lastUpdatedDateTime": "2021-03-01T21:21:34Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"text": "Company A Invoice", "boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "words": [{"text": @@ -2325,19 +2325,19 @@ interactions: "confidence": 0.985, "elements": ["#/readResults/2/lines/36/words/1"]}}}]}}' headers: apim-request-id: - - ae44ff0e-4785-4515-9aa3-ce10c90525a1 + - 9d5533af-e835-4fa9-953c-1079011a8bcd content-length: - '25475' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:10:00 GMT + - Mon, 01 Mar 2021 21:21:35 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '38' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_png.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_png.yaml index cac45a8056fa..0350cda4df9c 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_png.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_png.yaml @@ -31802,27 +31802,27 @@ interactions: Content-Type: - image/png User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: apim-request-id: - - be14ac76-86a1-4fdc-9f4e-d6c13049066f + - 55a2148d-c3db-4a54-ae13-a982cfd05f51 content-length: - '0' date: - - Tue, 26 Jan 2021 18:26:46 GMT + - Mon, 01 Mar 2021 21:21:37 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/be14ac76-86a1-4fdc-9f4e-d6c13049066f + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55a2148d-c3db-4a54-ae13-a982cfd05f51 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '470' + - '497' status: code: 202 message: Accepted @@ -31836,13 +31836,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/be14ac76-86a1-4fdc-9f4e-d6c13049066f + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55a2148d-c3db-4a54-ae13-a982cfd05f51 response: body: - string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:26:46Z", - "lastUpdatedDateTime": "2021-01-26T18:26:48Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T21:21:37Z", + "lastUpdatedDateTime": "2021-03-01T21:21:40Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.2511, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": @@ -31880,19 +31880,19 @@ interactions: 949, 2661], "page": 1, "confidence": 0.774}}}]}}' headers: apim-request-id: - - 21016ee3-5201-4337-8851-0dc647e3e610 + - 873bd520-6ae3-486e-90cb-05de91be186e content-length: - '2561' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Jan 2021 18:26:51 GMT + - Mon, 01 Mar 2021 21:21:42 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '38' + - '42' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_stream_transform_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_stream_transform_jpg.yaml index 692224604b21..4bf94a8362a3 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_stream_transform_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_stream_transform_jpg.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true response: body: string: '' headers: apim-request-id: - - 6f8146b3-4d05-4d6e-9347-43368510b9a2 + - 062b7de0-6858-4a19-9387-27a7c935a136 content-length: - '0' date: - - Mon, 16 Nov 2020 19:10:12 GMT + - Mon, 01 Mar 2021 21:21:43 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/6f8146b3-4d05-4d6e-9347-43368510b9a2 + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/062b7de0-6858-4a19-9387-27a7c935a136 strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '193' + - '205' status: code: 202 message: Accepted @@ -48,13 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/6f8146b3-4d05-4d6e-9347-43368510b9a2 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/062b7de0-6858-4a19-9387-27a7c935a136 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:10:13Z", - "lastUpdatedDateTime": "2020-11-16T19:10:14Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T21:21:43Z", + "lastUpdatedDateTime": "2021-03-01T21:21:46Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": 3000, "unit": "pixel", "lines": [{"text": "Contoso", "boundingBox": [635, 510, 1086, 461, 1098, 558, 643, 604], "words": [{"text": "Contoso", "boundingBox": @@ -177,19 +177,19 @@ interactions: 0.985, "elements": ["#/readResults/0/lines/19/words/0"]}}}]}}' headers: apim-request-id: - - e2d74093-741c-4216-81d7-7364c512a7e8 + - 409e8e9e-bca2-4820-840f-da7e4d28ff83 content-length: - '8501' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:10:18 GMT + - Mon, 01 Mar 2021 21:21:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '28' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_stream_transform_png.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_stream_transform_png.yaml index f7fea9dda7cd..1f2f7d9dcf43 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_stream_transform_png.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt.test_receipt_stream_transform_png.yaml @@ -14,27 +14,27 @@ interactions: Content-Type: - image/png User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true response: body: string: '' headers: apim-request-id: - - b321a831-1725-4c16-b3df-7c099b3767fc + - cbcdf178-bb05-4abe-a028-4bcef23ad79a content-length: - '0' date: - - Mon, 16 Nov 2020 19:10:21 GMT + - Mon, 01 Mar 2021 21:21:49 GMT operation-location: - - https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/b321a831-1725-4c16-b3df-7c099b3767fc + - https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/cbcdf178-bb05-4abe-a028-4bcef23ad79a strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '431' + - '517' status: code: 202 message: Accepted @@ -48,13 +48,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/b321a831-1725-4c16-b3df-7c099b3767fc + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/cbcdf178-bb05-4abe-a028-4bcef23ad79a response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:10:22Z", - "lastUpdatedDateTime": "2020-11-16T19:10:24Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-01T21:21:50Z", + "lastUpdatedDateTime": "2021-03-01T21:21:52Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.2511, "width": 1688, "height": 3000, "unit": "pixel", "lines": [{"text": "Contoso", "boundingBox": [619, 291, 1051, 284, 1053, 384, 620, 396], "words": [{"text": "Contoso", "boundingBox": @@ -180,19 +180,19 @@ interactions: 949, 2661], "page": 1, "confidence": 0.774, "elements": ["#/readResults/0/lines/18/words/1"]}}}]}}' headers: apim-request-id: - - ec590885-7ba2-4133-b745-62274c475dc5 + - 7a242312-2a56-4c2c-909e-bbc9a9bcfa3a content-length: - '8807' content-type: - application/json; charset=utf-8 date: - - Mon, 16 Nov 2020 19:10:26 GMT + - Mon, 01 Mar 2021 21:21:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '31' status: code: 200 message: OK diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_authentication_bad_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_authentication_bad_key.yaml index ff71e3e341fc..ed9fe6db9265 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_authentication_bad_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_authentication_bad_key.yaml @@ -7,9 +7,9 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '{"error": {"code": "401", "message": "Access denied due to invalid @@ -17,9 +17,9 @@ interactions: an active subscription and use a correct regional API endpoint for your resource."}}' headers: content-length: '224' - date: Mon, 16 Nov 2020 19:10:27 GMT + date: Wed, 03 Mar 2021 19:20:04 GMT status: code: 401 message: PermissionDenied - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_authentication_successful_key.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_authentication_successful_key.yaml index 3ab74609cced..d4a37d0d4ede 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_authentication_successful_key.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_authentication_successful_key.yaml @@ -8,35 +8,35 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: 4dcc100a-b8bf-461c-9bb5-e1692dbbea4d + apim-request-id: 751fce7e-08a5-4cf0-a4cf-a9898435d18d content-length: '0' - date: Mon, 16 Nov 2020 19:10:28 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/4dcc100a-b8bf-461c-9bb5-e1692dbbea4d + date: Wed, 03 Mar 2021 19:20:06 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/751fce7e-08a5-4cf0-a4cf-a9898435d18d strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '196' + x-envoy-upstream-service-time: '192' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/4dcc100a-b8bf-461c-9bb5-e1692dbbea4d + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/751fce7e-08a5-4cf0-a4cf-a9898435d18d response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:10:28Z", - "lastUpdatedDateTime": "2020-11-16T19:10:31Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:20:06Z", + "lastUpdatedDateTime": "2021-03-03T19:20:08Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": @@ -77,15 +77,15 @@ interactions: "text": "$14.50", "boundingBox": [1034, 2620, 1384, 2638, 1380, 2763, 1030, 2739], "page": 1, "confidence": 0.985}}}]}}' headers: - apim-request-id: a0fd00ee-d32c-4126-b0fc-193c74165eea + apim-request-id: 5e197939-8c0e-4add-917a-d5f573816fdb content-length: '2835' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:10:33 GMT + date: Wed, 03 Mar 2021 19:20:10 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/4dcc100a-b8bf-461c-9bb5-e1692dbbea4d + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/751fce7e-08a5-4cf0-a4cf-a9898435d18d version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_blank_page.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_blank_page.yaml index ebdcc0a1a788..10484e3285ae 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_blank_page.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_blank_page.yaml @@ -458,48 +458,48 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: 2fbfd355-3a68-4f86-b2e7-ec244d483198 + apim-request-id: a6abc8cd-41ff-433f-b4cc-f279be91de8d content-length: '0' - date: Mon, 16 Nov 2020 19:10:34 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/2fbfd355-3a68-4f86-b2e7-ec244d483198 + date: Wed, 03 Mar 2021 19:20:10 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a6abc8cd-41ff-433f-b4cc-f279be91de8d strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '153' + x-envoy-upstream-service-time: '37' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/2fbfd355-3a68-4f86-b2e7-ec244d483198 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a6abc8cd-41ff-433f-b4cc-f279be91de8d response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:10:34Z", - "lastUpdatedDateTime": "2020-11-16T19:10:37Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:20:11Z", + "lastUpdatedDateTime": "2021-03-03T19:20:16Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {}}]}}' headers: - apim-request-id: 4a803893-e016-4911-b9c3-9bdb652be2b8 + apim-request-id: 87eae462-b53a-4ec9-b24b-6a702793e99b content-length: '300' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:10:38 GMT + date: Wed, 03 Mar 2021 19:20:16 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/2fbfd355-3a68-4f86-b2e7-ec244d483198 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/a6abc8cd-41ff-433f-b4cc-f279be91de8d version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_damaged_file_passed_as_bytes.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_damaged_file_passed_as_bytes.yaml index 5feae4bed67c..85839aaba4aa 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_damaged_file_passed_as_bytes.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_damaged_file_passed_as_bytes.yaml @@ -7,23 +7,23 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: - string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "0382c6a9-63ef-45df-a1b2-0ffb32e86127"}, + string: '{"error": {"code": "BadArgument", "innerError": {"requestId": "c059b55c-66fc-4791-bc4f-0eeb2d50b652"}, "message": "Bad or unrecognizable request JSON or binary file."}}' headers: - apim-request-id: 0382c6a9-63ef-45df-a1b2-0ffb32e86127 + apim-request-id: c059b55c-66fc-4791-bc4f-0eeb2d50b652 content-length: '161' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:10:39 GMT + date: Wed, 03 Mar 2021 19:20:17 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '4' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_damaged_file_passed_as_bytes_io.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_damaged_file_passed_as_bytes_io.yaml index 1f695eaed852..c20e63bfe31a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_damaged_file_passed_as_bytes_io.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_damaged_file_passed_as_bytes_io.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: - string: '{"error": {"code": "InvalidImage", "innerError": {"requestId": "b0b0ee76-9bb2-4e7f-84f4-fe69002a85fc"}, + string: '{"error": {"code": "InvalidImage", "innerError": {"requestId": "cebce630-9959-437d-8187-f7e166b9cbea"}, "message": "The input data is not a valid image or password protected."}}' headers: - apim-request-id: b0b0ee76-9bb2-4e7f-84f4-fe69002a85fc + apim-request-id: cebce630-9959-437d-8187-f7e166b9cbea content-length: '170' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:10:39 GMT + date: Wed, 03 Mar 2021 19:20:17 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '7' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_passing_enum_content_type.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_passing_enum_content_type.yaml index f58650ba0ac8..39aace302616 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_passing_enum_content_type.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_passing_enum_content_type.yaml @@ -8,35 +8,35 @@ interactions: Content-Type: - image/png User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: 71323505-bb82-4c88-a1d9-d0dd4aafa439 + apim-request-id: 306966a9-b104-4860-844c-9ea17229bed3 content-length: '0' - date: Mon, 16 Nov 2020 19:10:43 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/71323505-bb82-4c88-a1d9-d0dd4aafa439 + date: Wed, 03 Mar 2021 19:20:18 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/306966a9-b104-4860-844c-9ea17229bed3 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '460' + x-envoy-upstream-service-time: '735' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/71323505-bb82-4c88-a1d9-d0dd4aafa439 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/306966a9-b104-4860-844c-9ea17229bed3 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:10:44Z", - "lastUpdatedDateTime": "2020-11-16T19:10:47Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:20:18Z", + "lastUpdatedDateTime": "2021-03-03T19:20:22Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.2511, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": @@ -71,17 +71,17 @@ interactions: "$104.40", "boundingBox": [942.6, 2367.5, 1132, 2363.7, 1133.4, 2434.2, 944, 2438], "page": 1, "confidence": 0.713}, "Total": {"type": "number", "valueNumber": 1203.39, "text": "1203.39", "boundingBox": [955, 2594, 1123, 2611, 1115, 2678, - 949, 2661], "page": 1, "confidence": 0.772}}}]}}' + 949, 2661], "page": 1, "confidence": 0.774}}}]}}' headers: - apim-request-id: a2a1533c-530e-4a84-8d5d-17fdf3b74209 + apim-request-id: 0559f640-ede3-44bb-82b2-8d1ec8a9bcf5 content-length: '2561' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:10:49 GMT + date: Wed, 03 Mar 2021 19:20:23 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '21' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/71323505-bb82-4c88-a1d9-d0dd4aafa439 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/306966a9-b104-4860-844c-9ea17229bed3 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_jpg.yaml index 7923c3bb9c07..f3e7dafe4064 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_jpg.yaml @@ -8,35 +8,35 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: 61b63053-6dbd-4c0d-8179-402a85292659 + apim-request-id: 8351b89b-a5a1-4b54-9758-a29ca79f3495 content-length: '0' - date: Tue, 26 Jan 2021 18:18:33 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/61b63053-6dbd-4c0d-8179-402a85292659 + date: Wed, 03 Mar 2021 19:20:34 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/8351b89b-a5a1-4b54-9758-a29ca79f3495 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '204' + x-envoy-upstream-service-time: '175' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/61b63053-6dbd-4c0d-8179-402a85292659 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/8351b89b-a5a1-4b54-9758-a29ca79f3495 response: body: - string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:18:34Z", - "lastUpdatedDateTime": "2021-01-26T18:18:35Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:20:35Z", + "lastUpdatedDateTime": "2021-03-03T19:20:37Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": @@ -77,15 +77,15 @@ interactions: "text": "$14.50", "boundingBox": [1034, 2620, 1384, 2638, 1380, 2763, 1030, 2739], "page": 1, "confidence": 0.985}}}]}}' headers: - apim-request-id: a1c7f2d5-a30e-4c9c-a11c-9f618fbc1b86 + apim-request-id: 90de84b1-d9dd-466d-a17c-1ebe2a6d22fa content-length: '2835' content-type: application/json; charset=utf-8 - date: Tue, 26 Jan 2021 18:18:38 GMT + date: Wed, 03 Mar 2021 19:20:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '36' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/61b63053-6dbd-4c0d-8179-402a85292659 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/8351b89b-a5a1-4b54-9758-a29ca79f3495 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_jpg_include_field_elements.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_jpg_include_field_elements.yaml index e91950ae356a..b429edaf4700 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_jpg_include_field_elements.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_jpg_include_field_elements.yaml @@ -8,35 +8,35 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true response: body: string: '' headers: - apim-request-id: 17517e5c-1610-4724-8a15-70dce74c6f8e + apim-request-id: 117538ff-a258-4678-919a-d5a761c48e56 content-length: '0' - date: Mon, 16 Nov 2020 19:11:06 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/17517e5c-1610-4724-8a15-70dce74c6f8e + date: Wed, 03 Mar 2021 19:20:41 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/117538ff-a258-4678-919a-d5a761c48e56 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '207' + x-envoy-upstream-service-time: '882' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/17517e5c-1610-4724-8a15-70dce74c6f8e + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/117538ff-a258-4678-919a-d5a761c48e56 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:11:07Z", - "lastUpdatedDateTime": "2020-11-16T19:11:08Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:20:42Z", + "lastUpdatedDateTime": "2021-03-03T19:20:44Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": 3000, "unit": "pixel", "lines": [{"text": "Contoso", "boundingBox": [635, 510, 1086, 461, 1098, 558, 643, 604], "words": [{"text": "Contoso", "boundingBox": @@ -158,15 +158,15 @@ interactions: [1034, 2620, 1384, 2638, 1380, 2763, 1030, 2739], "page": 1, "confidence": 0.985, "elements": ["#/readResults/0/lines/19/words/0"]}}}]}}' headers: - apim-request-id: fd595ee2-e5c5-4bb3-8074-8339e780953f + apim-request-id: e937f5d5-2ce7-4a40-ae94-a08b786fcc42 content-length: '8501' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:11:11 GMT + date: Wed, 03 Mar 2021 19:20:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/17517e5c-1610-4724-8a15-70dce74c6f8e + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/117538ff-a258-4678-919a-d5a761c48e56 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_locale_error.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_locale_error.yaml index e2b864cb3755..1b3e63da57b2 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_locale_error.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_locale_error.yaml @@ -8,24 +8,24 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false&locale=not%20a%20locale + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false&locale=not%20a%20locale response: body: string: '{"error": {"code": "UnsupportedLocale", "innerError": {"requestId": - "347827d1-e8dd-4485-ac9e-9b1af858a2d7"}, "message": "Locale unsupported. Supported + "cec14d7f-cbff-4c6e-a4b0-277e018aae20"}, "message": "Locale unsupported. Supported locales include en-AU, en-CA, en-GB, en-IN and en-US."}}' headers: - apim-request-id: 347827d1-e8dd-4485-ac9e-9b1af858a2d7 + apim-request-id: cec14d7f-cbff-4c6e-a4b0-277e018aae20 content-length: '200' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:11:12 GMT + date: Wed, 03 Mar 2021 19:20:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '138' + x-envoy-upstream-service-time: '161' status: code: 400 message: Bad Request - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false&locale=not%20a%20locale + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false&locale=not%20a%20locale version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_locale_specified.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_locale_specified.yaml index 133e702bd12b..4a7871f6333f 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_locale_specified.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_locale_specified.yaml @@ -8,35 +8,35 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false&locale=en-IN + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false&locale=en-IN response: body: string: '' headers: - apim-request-id: e16129ba-e34f-45fd-97b2-f838a12d7636 + apim-request-id: 0d57b4be-0cd8-4689-a1f9-446f94bb702d content-length: '0' - date: Mon, 16 Nov 2020 19:11:13 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/e16129ba-e34f-45fd-97b2-f838a12d7636 + date: Wed, 03 Mar 2021 19:20:48 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0d57b4be-0cd8-4689-a1f9-446f94bb702d strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '214' + x-envoy-upstream-service-time: '191' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false&locale=en-IN + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false&locale=en-IN - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/e16129ba-e34f-45fd-97b2-f838a12d7636 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0d57b4be-0cd8-4689-a1f9-446f94bb702d response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:11:13Z", - "lastUpdatedDateTime": "2020-11-16T19:11:16Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:20:48Z", + "lastUpdatedDateTime": "2021-03-03T19:20:50Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.1273, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": @@ -75,15 +75,15 @@ interactions: 11.7, "text": "11.70", "boundingBox": [1139, 2228, 1309, 2228, 1308, 2313, 1138, 2313], "page": 1, "confidence": 0.269}}}]}}' headers: - apim-request-id: 95282ba1-68b2-4bab-9959-0f181e934f6b + apim-request-id: d3987285-2836-46fa-a56b-aee1127d9659 content-length: '2711' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:11:18 GMT + date: Wed, 03 Mar 2021 19:20:53 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/e16129ba-e34f-45fd-97b2-f838a12d7636 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/0d57b4be-0cd8-4689-a1f9-446f94bb702d version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_multipage.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_multipage.yaml index de6609ddcaf8..0ecab9b288b0 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_multipage.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_multipage.yaml @@ -1919,35 +1919,35 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true response: body: string: '' headers: - apim-request-id: a158a944-6dc2-4249-b181-c40a0d86adf5 + apim-request-id: ac6333b2-f114-4003-8bf6-7fba09d0148e content-length: '0' - date: Tue, 26 Jan 2021 18:40:08 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/a158a944-6dc2-4249-b181-c40a0d86adf5 + date: Wed, 03 Mar 2021 19:20:53 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/ac6333b2-f114-4003-8bf6-7fba09d0148e strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '112' + x-envoy-upstream-service-time: '76' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/a158a944-6dc2-4249-b181-c40a0d86adf5 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/ac6333b2-f114-4003-8bf6-7fba09d0148e response: body: - string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:40:08Z", - "lastUpdatedDateTime": "2021-01-26T18:40:13Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:20:54Z", + "lastUpdatedDateTime": "2021-03-03T19:20:59Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"text": "Company A Invoice", "boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "words": [{"text": @@ -2306,15 +2306,15 @@ interactions: [5.811, 5.3445, 6.3422, 5.3445, 6.3422, 5.4533, 5.811, 5.4533], "page": 3, "confidence": 0.985, "elements": ["#/readResults/2/lines/36/words/1"]}}}]}}' headers: - apim-request-id: cc84f6aa-b390-44b3-bc67-ab593b26c966 + apim-request-id: e470d6d5-1d27-43ca-9deb-c361833ce924 content-length: '25475' content-type: application/json; charset=utf-8 - date: Tue, 26 Jan 2021 18:40:13 GMT + date: Wed, 03 Mar 2021 19:20:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '41' + x-envoy-upstream-service-time: '21' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/a158a944-6dc2-4249-b181-c40a0d86adf5 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/ac6333b2-f114-4003-8bf6-7fba09d0148e version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_multipage_transform.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_multipage_transform.yaml index dbea46586e80..83e586c4db83 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_multipage_transform.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_multipage_transform.yaml @@ -1919,35 +1919,58 @@ interactions: Content-Type: - application/pdf User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true response: body: string: '' headers: - apim-request-id: ea6e6c9b-8459-47b6-ba7d-8a6c3c022f10 + apim-request-id: ee32869e-144e-4bbe-b7c4-1ef5c8b45c68 content-length: '0' - date: Mon, 16 Nov 2020 19:11:25 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/ea6e6c9b-8459-47b6-ba7d-8a6c3c022f10 + date: Wed, 03 Mar 2021 19:21:00 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/ee32869e-144e-4bbe-b7c4-1ef5c8b45c68 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '107' + x-envoy-upstream-service-time: '90' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/ea6e6c9b-8459-47b6-ba7d-8a6c3c022f10 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/ee32869e-144e-4bbe-b7c4-1ef5c8b45c68 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:11:25Z", - "lastUpdatedDateTime": "2020-11-16T19:11:30Z", "analyzeResult": {"version": + string: '{"status": "running", "createdDateTime": "2021-03-03T19:21:00Z", "lastUpdatedDateTime": + "2021-03-03T19:21:01Z"}' + headers: + apim-request-id: 7013a0a2-84d3-4933-ba13-7845141ad3ba + content-length: '106' + content-type: application/json; charset=utf-8 + date: Wed, 03 Mar 2021 19:21:04 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + x-content-type-options: nosniff + x-envoy-upstream-service-time: '10' + status: + code: 200 + message: OK + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/ee32869e-144e-4bbe-b7c4-1ef5c8b45c68 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/ee32869e-144e-4bbe-b7c4-1ef5c8b45c68 + response: + body: + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:21:00Z", + "lastUpdatedDateTime": "2021-03-03T19:21:05Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0, "width": 8.5, "height": 11, "unit": "inch", "lines": [{"text": "Company A Invoice", "boundingBox": [0.8861, 1.1217, 2.3783, 1.1217, 2.3783, 1.2812, 0.8861, 1.2812], "words": [{"text": @@ -2306,15 +2329,15 @@ interactions: [5.811, 5.3445, 6.3422, 5.3445, 6.3422, 5.4533, 5.811, 5.4533], "page": 3, "confidence": 0.985, "elements": ["#/readResults/2/lines/36/words/1"]}}}]}}' headers: - apim-request-id: d3f06fcd-13b9-4ffa-a6ba-31b1d4d78b7e + apim-request-id: a9bda4e4-2f02-4530-a37d-8fb5d4c152af content-length: '25475' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:11:30 GMT + date: Wed, 03 Mar 2021 19:21:10 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff x-envoy-upstream-service-time: '21' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/ea6e6c9b-8459-47b6-ba7d-8a6c3c022f10 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/ee32869e-144e-4bbe-b7c4-1ef5c8b45c68 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_png.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_png.yaml index fdbd4a2ed3f0..6ec6b4b54082 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_png.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_png.yaml @@ -8,35 +8,35 @@ interactions: Content-Type: - image/png User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false response: body: string: '' headers: - apim-request-id: 659611b6-4ff7-420d-806f-5022662c6c5d + apim-request-id: b25bb80c-1a7e-4145-b4a7-3b12df2afc5c content-length: '0' - date: Tue, 26 Jan 2021 18:28:25 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/659611b6-4ff7-420d-806f-5022662c6c5d + date: Wed, 03 Mar 2021 19:21:11 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/b25bb80c-1a7e-4145-b4a7-3b12df2afc5c strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '518' + x-envoy-upstream-service-time: '482' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=false + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=false - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/659611b6-4ff7-420d-806f-5022662c6c5d + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/b25bb80c-1a7e-4145-b4a7-3b12df2afc5c response: body: - string: '{"status": "succeeded", "createdDateTime": "2021-01-26T18:28:25Z", - "lastUpdatedDateTime": "2021-01-26T18:28:29Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:21:11Z", + "lastUpdatedDateTime": "2021-03-03T19:21:15Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.2511, "width": 1688, "height": 3000, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:receipt", "pageRange": [1, 1], "fields": {"ReceiptType": {"type": "string", "valueString": @@ -73,15 +73,15 @@ interactions: 1203.39, "text": "1203.39", "boundingBox": [955, 2594, 1123, 2611, 1115, 2678, 949, 2661], "page": 1, "confidence": 0.774}}}]}}' headers: - apim-request-id: 8133447c-1f53-4f2c-b022-a340b649f5e8 + apim-request-id: df6e1af1-8de5-4135-b3a0-a168170415c3 content-length: '2561' content-type: application/json; charset=utf-8 - date: Tue, 26 Jan 2021 18:28:30 GMT + date: Wed, 03 Mar 2021 19:21:16 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '50' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/659611b6-4ff7-420d-806f-5022662c6c5d + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/b25bb80c-1a7e-4145-b4a7-3b12df2afc5c version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_stream_transform_jpg.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_stream_transform_jpg.yaml index 85b76d531c1f..3af120aad51f 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_stream_transform_jpg.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_stream_transform_jpg.yaml @@ -8,35 +8,35 @@ interactions: Content-Type: - image/jpeg User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true response: body: string: '' headers: - apim-request-id: 32c5e7b9-27b9-4249-990d-006c3d87b6b6 + apim-request-id: 55203f47-4399-4426-9368-1f13c71bd363 content-length: '0' - date: Mon, 16 Nov 2020 19:11:40 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/32c5e7b9-27b9-4249-990d-006c3d87b6b6 + date: Wed, 03 Mar 2021 19:21:17 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55203f47-4399-4426-9368-1f13c71bd363 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '174' + x-envoy-upstream-service-time: '179' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/32c5e7b9-27b9-4249-990d-006c3d87b6b6 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55203f47-4399-4426-9368-1f13c71bd363 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:11:40Z", - "lastUpdatedDateTime": "2020-11-16T19:11:41Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:21:17Z", + "lastUpdatedDateTime": "2021-03-03T19:21:19Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.6893, "width": 1688, "height": 3000, "unit": "pixel", "lines": [{"text": "Contoso", "boundingBox": [635, 510, 1086, 461, 1098, 558, 643, 604], "words": [{"text": "Contoso", "boundingBox": @@ -158,15 +158,15 @@ interactions: [1034, 2620, 1384, 2638, 1380, 2763, 1030, 2739], "page": 1, "confidence": 0.985, "elements": ["#/readResults/0/lines/19/words/0"]}}}]}}' headers: - apim-request-id: 76e9fec0-dcaa-4321-afd5-40d559bef669 + apim-request-id: 8366d009-bcf8-4e61-801e-c25994b3282c content-length: '8501' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:11:45 GMT + date: Wed, 03 Mar 2021 19:21:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/32c5e7b9-27b9-4249-990d-006c3d87b6b6 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/55203f47-4399-4426-9368-1f13c71bd363 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_stream_transform_png.yaml b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_stream_transform_png.yaml index a7f336205b48..98f384b2fa08 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_stream_transform_png.yaml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/recordings/test_receipt_async.test_receipt_stream_transform_png.yaml @@ -8,35 +8,35 @@ interactions: Content-Type: - image/png User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: POST - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true response: body: string: '' headers: - apim-request-id: 4c9a5ec2-1d32-4a02-b4fd-fa2174ececd2 + apim-request-id: b6ca3702-712b-4222-a6fd-e9c985700537 content-length: '0' - date: Mon, 16 Nov 2020 19:11:49 GMT - operation-location: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/4c9a5ec2-1d32-4a02-b4fd-fa2174ececd2 + date: Wed, 03 Mar 2021 19:21:23 GMT + operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/b6ca3702-712b-4222-a6fd-e9c985700537 strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '742' + x-envoy-upstream-service-time: '425' status: code: 202 message: Accepted - url: https://centraluseuap.api.cognitive.microsoft.com//formrecognizer/v2.1-preview.2/prebuilt/receipt/analyze?includeTextDetails=true + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyze?includeTextDetails=true - request: body: null headers: User-Agent: - - azsdk-python-ai-formrecognizer/3.1.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-formrecognizer/3.1.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0) method: GET - uri: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/4c9a5ec2-1d32-4a02-b4fd-fa2174ececd2 + uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/b6ca3702-712b-4222-a6fd-e9c985700537 response: body: - string: '{"status": "succeeded", "createdDateTime": "2020-11-16T19:11:49Z", - "lastUpdatedDateTime": "2020-11-16T19:11:51Z", "analyzeResult": {"version": + string: '{"status": "succeeded", "createdDateTime": "2021-03-03T19:21:24Z", + "lastUpdatedDateTime": "2021-03-03T19:21:25Z", "analyzeResult": {"version": "2.1.0", "readResults": [{"page": 1, "angle": 0.2511, "width": 1688, "height": 3000, "unit": "pixel", "lines": [{"text": "Contoso", "boundingBox": [619, 291, 1051, 284, 1053, 384, 620, 396], "words": [{"text": "Contoso", "boundingBox": @@ -161,15 +161,15 @@ interactions: 1203.39, "text": "1203.39", "boundingBox": [955, 2594, 1123, 2611, 1115, 2678, 949, 2661], "page": 1, "confidence": 0.774, "elements": ["#/readResults/0/lines/18/words/1"]}}}]}}' headers: - apim-request-id: a45b35f4-9dbe-4e4c-bc33-43a0e92e06f7 + apim-request-id: 3433262a-d945-4060-bcd2-0cf172ef1653 content-length: '8807' content-type: application/json; charset=utf-8 - date: Mon, 16 Nov 2020 19:11:54 GMT + date: Wed, 03 Mar 2021 19:21:28 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://centraluseuap.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.2/prebuilt/receipt/analyzeResults/4c9a5ec2-1d32-4a02-b4fd-fa2174ececd2 + url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1-preview.3/prebuilt/receipt/analyzeResults/b6ca3702-712b-4222-a6fd-e9c985700537 version: 1 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card.py index eeb19846286c..aa14dedb8077 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card.py @@ -20,7 +20,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormRecognizerClient) - +@pytest.mark.skip class TestBusinessCard(FormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card_async.py index e087fc2a864a..c131f34081da 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_business_card_async.py @@ -21,7 +21,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormRecognizerClient) - +@pytest.mark.skip class TestBusinessCardAsync(AsyncFormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_compose_model.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_compose_model.py index 6bcdc1a264ad..b4295608226d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_compose_model.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_compose_model.py @@ -14,7 +14,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormTrainingClient) - +@pytest.mark.skip class TestTraining(FormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_compose_model_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_compose_model_async.py index c0bc9fd695c0..afc90054ce04 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_compose_model_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_compose_model_async.py @@ -15,7 +15,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormTrainingClient) - +@pytest.mark.skip class TestTrainingAsync(AsyncFormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model.py index dfd23d198ec4..ef6ac097e00f 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model.py @@ -16,7 +16,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormTrainingClient) - +@pytest.mark.skip class TestCopyModel(FormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model_async.py index 3cad6bf73f04..e097ba9860af 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model_async.py @@ -17,7 +17,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormTrainingClient) - +@pytest.mark.skip class TestCopyModelAsync(AsyncFormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms.py index 74c5a075414a..ef83039c8b9e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms.py @@ -17,7 +17,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormTrainingClient) - +@pytest.mark.skip class TestCustomForms(FormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_async.py index ba43bc3b9632..0ef70355449c 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_async.py @@ -19,7 +19,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormTrainingClient) - +@pytest.mark.skip class TestCustomFormsAsync(AsyncFormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_from_url.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_from_url.py index 12ddf48d0ada..5ad0c70f451b 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_from_url.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_from_url.py @@ -17,7 +17,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormTrainingClient) - +@pytest.mark.skip class TestCustomFormsFromUrl(FormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_from_url_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_from_url_async.py index 11c210abe483..5efadeacc907 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_from_url_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_custom_forms_from_url_async.py @@ -18,7 +18,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormTrainingClient) - +@pytest.mark.skip class TestCustomFormsFromUrlAsync(AsyncFormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt_async.py index f25722a02689..d698bb7b33e9 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt_async.py @@ -20,6 +20,7 @@ class TestManagementAsync(AsyncFormRecognizerTest): + @pytest.mark.skip @FormRecognizerPreparer() @pytest.mark.live_test_only async def test_active_directory_auth_async(self): diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi.py index df25ddf9be33..917e9c2e7767 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi.py @@ -18,12 +18,12 @@ class TestMultiapi(FormRecognizerTest): @FormRecognizerPreparer() @FormRecognizerClientPreparer() def test_default_api_version_form_recognizer_client(self, client): - assert "v2.1-preview.2" in client._client._client._base_url + assert "v2.1-preview.3" in client._client._client._base_url @FormRecognizerPreparer() @FormTrainingClientPreparer() def test_default_api_version_form_training_client(self, client): - assert "v2.1-preview.2" in client._client._client._base_url + assert "v2.1-preview.3" in client._client._client._base_url @FormRecognizerPreparer() @FormRecognizerClientPreparer(client_kwargs={"api_version": FormRecognizerApiVersion.V2_0}) @@ -37,13 +37,13 @@ def test_v2_0_form_training_client(self, client): @FormRecognizerPreparer() @FormRecognizerClientPreparer(client_kwargs={"api_version": FormRecognizerApiVersion.V2_1_PREVIEW}) - def test_v2_1_preview_1_form_recognizer_client(self, client): - assert "v2.1-preview.2" in client._client._client._base_url + def test_v2_1_preview_3_form_recognizer_client(self, client): + assert "v2.1-preview.3" in client._client._client._base_url @FormRecognizerPreparer() @FormTrainingClientPreparer(client_kwargs={"api_version": FormRecognizerApiVersion.V2_1_PREVIEW}) - def test_v2_1_preview_1_form_training_client(self, client): - assert "v2.1-preview.2" in client._client._client._base_url + def test_v2_1_preview_3_form_training_client(self, client): + assert "v2.1-preview.3" in client._client._client._base_url @FormRecognizerPreparer() @FormTrainingClientPreparer(client_kwargs={"api_version": FormRecognizerApiVersion.V2_0}) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi_async.py index 1fb74a1e9187..a5fdee72becb 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_multiapi_async.py @@ -19,12 +19,12 @@ class TestMultiapi(AsyncFormRecognizerTest): @FormRecognizerPreparer() @FormRecognizerClientPreparer() def test_default_api_version_form_recognizer_client(self, client): - assert "v2.1-preview.2" in client._client._client._base_url + assert "v2.1-preview.3" in client._client._client._base_url @FormRecognizerPreparer() @FormTrainingClientPreparer() def test_default_api_version_form_training_client(self, client): - assert "v2.1-preview.2" in client._client._client._base_url + assert "v2.1-preview.3" in client._client._client._base_url @FormRecognizerPreparer() @FormRecognizerClientPreparer(client_kwargs={"api_version": FormRecognizerApiVersion.V2_0}) @@ -39,12 +39,12 @@ def test_v2_0_form_training_client(self, client): @FormRecognizerPreparer() @FormRecognizerClientPreparer(client_kwargs={"api_version": FormRecognizerApiVersion.V2_1_PREVIEW}) def test_v2_1_preview_1_form_recognizer_client(self, client): - assert "v2.1-preview.2" in client._client._client._base_url + assert "v2.1-preview.3" in client._client._client._base_url @FormRecognizerPreparer() @FormTrainingClientPreparer(client_kwargs={"api_version": FormRecognizerApiVersion.V2_1_PREVIEW}) def test_v2_1_preview_1_form_training_client(self, client): - assert "v2.1-preview.2" in client._client._client._base_url + assert "v2.1-preview.3" in client._client._client._base_url @FormRecognizerPreparer() @FormTrainingClientPreparer(client_kwargs={"api_version": FormRecognizerApiVersion.V2_0}) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training.py index b180c926cac1..c462d1ffa43d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training.py @@ -17,7 +17,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormTrainingClient) - +@pytest.mark.skip class TestTraining(FormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training_async.py index 6782fba8e1a4..fae1b7981eff 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training_async.py @@ -18,7 +18,7 @@ GlobalClientPreparer = functools.partial(_GlobalClientPreparer, FormTrainingClient) - +@pytest.mark.skip class TestTrainingAsync(AsyncFormRecognizerTest): @FormRecognizerPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py index da065f386a28..22ee86a0384b 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py @@ -59,9 +59,16 @@ def process_response(self, response): if 'location' in headers: location_header = "location" if location_header: - if len(headers[location_header]) > 0: + if isinstance(headers[location_header], list): suffix = headers[location_header][0].split("/formrecognizer/")[1] response['headers'][location_header] = [self._replacement + suffix] + else: + suffix = headers[location_header].split("/formrecognizer/")[1] + response['headers'][location_header] = self._replacement + suffix + url = response["url"] + if url is not None: + suffix = url.split("/formrecognizer/")[1] + response['url'] = self._replacement + suffix return response except (KeyError, ValueError): return response @@ -174,15 +181,15 @@ def get_blob_url(self, container_sas_url, container, file_name): return blob_sas_url def get_oauth_endpoint(self): - return self.get_settings_value("FORM_RECOGNIZER_AAD_ENDPOINT") + return os.getenv("FORM_RECOGNIZER_AAD_ENDPOINT") def generate_oauth_token(self): if self.is_live: from azure.identity import ClientSecretCredential return ClientSecretCredential( - self.get_settings_value("TENANT_ID"), - self.get_settings_value("CLIENT_ID"), - self.get_settings_value("CLIENT_SECRET"), + os.getenv("FORMRECOGNIZER_TENANT_ID"), + os.getenv("FORMRECOGNIZER_CLIENT_ID"), + os.getenv("FORMRECOGNIZER_CLIENT_SECRET"), ) return self.generate_fake_token() diff --git a/shared_requirements.txt b/shared_requirements.txt index 03d2819c522e..a4a1a0c63d03 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -137,7 +137,7 @@ avro<2.0.0,>=1.10.0 #override azure-ai-textanalytics msrest>=0.6.0 #override azure-ai-textanalytics azure-core<2.0.0,>=1.8.2 #override azure-search-documents azure-core<2.0.0,>=1.4.0 -#override azure-ai-formrecognizer msrest>=0.6.12 +#override azure-ai-formrecognizer msrest>=0.6.21 #override azure-ai-formrecognizer azure-core<2.0.0,>=1.8.2 #override azure-storage-blob azure-core<2.0.0,>=1.10.0 #override azure-storage-blob msrest>=0.6.18