From b24a1c3b63a2703994259809e912fcbfa6e4ae98 Mon Sep 17 00:00:00 2001 From: Catalina Peralta Date: Thu, 30 Sep 2021 12:49:56 -0700 Subject: [PATCH 1/2] update field schema links in v3 samples --- .../async_samples/sample_analyze_business_cards_async.py | 2 +- .../async_samples/sample_analyze_identity_documents_async.py | 2 +- .../v3.2-beta/async_samples/sample_analyze_invoices_async.py | 2 +- .../v3.2-beta/async_samples/sample_analyze_receipts_async.py | 2 +- .../async_samples/sample_analyze_receipts_from_url_async.py | 2 +- .../samples/v3.2-beta/sample_analyze_business_cards.py | 2 +- .../samples/v3.2-beta/sample_analyze_identity_documents.py | 2 +- .../samples/v3.2-beta/sample_analyze_invoices.py | 2 +- .../samples/v3.2-beta/sample_analyze_receipts.py | 2 +- .../samples/v3.2-beta/sample_analyze_receipts_from_url.py | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_business_cards_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_business_cards_async.py index d0bd07ca84fe..dad0ed20e834 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_business_cards_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_business_cards_async.py @@ -13,7 +13,7 @@ This sample demonstrates how to analyze business cards. See fields found on a business card here: - https://aka.ms/formrecognizer/businesscardfields + https://aka.ms/azsdk/formrecognizer/businesscardfieldschema USAGE: python sample_analyze_business_cards_async.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_identity_documents_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_identity_documents_async.py index 1d4c66a2a5c2..2f650f2f3807 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_identity_documents_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_identity_documents_async.py @@ -13,7 +13,7 @@ This sample demonstrates how to analyze an identity document. See fields found on identity documents here: - https://aka.ms/formrecognizer/iddocumentfields + https://aka.ms/azsdk/formrecognizer/iddocumentfieldschema USAGE: python sample_analyze_identity_documents_async.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_invoices_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_invoices_async.py index 8448a628660b..16cb50d4dbad 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_invoices_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_invoices_async.py @@ -13,7 +13,7 @@ This sample demonstrates how to analyze invoices. See fields found on a invoice here: - https://aka.ms/formrecognizer/invoicefields + https://aka.ms/azsdk/formrecognizer/invoicefieldschema USAGE: python sample_analyze_invoices_async.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_receipts_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_receipts_async.py index dec4fc0a277b..b5c8419631f1 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_receipts_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_receipts_async.py @@ -14,7 +14,7 @@ using a pre-trained receipt model. See fields found on a receipt here: - https://aka.ms/formrecognizer/receiptfields + https://aka.ms/azsdk/formrecognizer/receiptfieldschema USAGE: python sample_analyze_receipts_async.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_receipts_from_url_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_receipts_from_url_async.py index 839481373d3e..ec54660885e0 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_receipts_from_url_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_analyze_receipts_from_url_async.py @@ -14,7 +14,7 @@ using a pre-trained receipt model. See fields found on a receipt here: - https://aka.ms/formanalyzer/receiptfields + https://aka.ms/azsdk/formrecognizer/receiptfieldschema USAGE: python sample_analyze_receipts_from_url_async.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_business_cards.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_business_cards.py index c5b0f3f49903..f5d5cfaa5fae 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_business_cards.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_business_cards.py @@ -13,7 +13,7 @@ This sample demonstrates how to analyze business cards. See fields found on a business card here: - https://aka.ms/formrecognizer/businesscardfields + https://aka.ms/azsdk/formrecognizer/businesscardfieldschema USAGE: python sample_analyze_business_cards.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_identity_documents.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_identity_documents.py index b645bfcb2c27..794f8d915c1a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_identity_documents.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_identity_documents.py @@ -13,7 +13,7 @@ This sample demonstrates how to analyze an identity document. See fields found on identity documents here: - https://aka.ms/formrecognizer/iddocumentfields + https://aka.ms/azsdk/formrecognizer/iddocumentfieldschema USAGE: python sample_analyze_identity_documents.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_invoices.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_invoices.py index 514e12bb7d7a..40a3eefef5bc 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_invoices.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_invoices.py @@ -13,7 +13,7 @@ This sample demonstrates how to analyze invoices. See fields found on a invoice here: - https://aka.ms/formrecognizer/invoicefields + https://aka.ms/azsdk/formrecognizer/invoicefieldschema USAGE: python sample_analyze_invoices.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_receipts.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_receipts.py index 57aec6734763..bd9f45559ede 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_receipts.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_receipts.py @@ -14,7 +14,7 @@ using a pre-trained receipt model. See fields found on a receipt here: - https://aka.ms/formrecognizer/receiptfields + https://aka.ms/azsdk/formrecognizer/receiptfieldschema USAGE: python sample_analyze_receipts.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_receipts_from_url.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_receipts_from_url.py index c56da0efb187..b4c300a5dc37 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_receipts_from_url.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_analyze_receipts_from_url.py @@ -14,7 +14,7 @@ using a pre-trained receipt model. See fields found on a receipt here: - https://aka.ms/formanalyzer/receiptfields + https://aka.ms/azsdk/formrecognizer/receiptfieldschema USAGE: python sample_analyze_receipts_from_url.py From 9ba6109a38e46e03fc0184c07c6862bfac042e22 Mon Sep 17 00:00:00 2001 From: Catalina Peralta Date: Thu, 30 Sep 2021 13:04:38 -0700 Subject: [PATCH 2/2] update links in readme --- sdk/formrecognizer/azure-ai-formrecognizer/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/README.md b/sdk/formrecognizer/azure-ai-formrecognizer/README.md index 6a3ceba3b737..84d8dc5b62eb 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/README.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/README.md @@ -518,10 +518,10 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [custom_subdomain]: https://docs.microsoft.com/azure/cognitive-services/authentication#create-a-resource-with-a-custom-subdomain [azure_identity]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity [default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential -[service_recognize_receipt]: https://aka.ms/formrecognizer/receiptfields -[service_recognize_business_cards]: https://aka.ms/formrecognizer/businesscardfields -[service_recognize_invoice]: https://aka.ms/formrecognizer/invoicefields -[service_recognize_identity_documents]: https://aka.ms/formrecognizer/iddocumentfields +[service_recognize_receipt]: https://aka.ms/azsdk/formrecognizer/receiptfieldschema +[service_recognize_business_cards]: https://aka.ms/azsdk/formrecognizer/businesscardfieldschema +[service_recognize_invoice]: https://aka.ms/azsdk/formrecognizer/invoicefieldschema +[service_recognize_identity_documents]: https://aka.ms/azsdk/formrecognizer/iddocumentfieldschema [sdk_logging_docs]: https://docs.microsoft.com/azure/developer/python/azure-sdk-logging [sample_readme]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/formrecognizer/azure-ai-formrecognizer/samples [changelog]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md