diff --git a/Instructions/Exercises/01-use-prebuilt-models.md b/Instructions/Exercises/01-use-prebuilt-models.md index cd62174..5cc2ff8 100644 --- a/Instructions/Exercises/01-use-prebuilt-models.md +++ b/Instructions/Exercises/01-use-prebuilt-models.md @@ -42,107 +42,169 @@ Let's start by using the **Azure AI Document Intelligence Studio** and the read ![Screenshot showing the detection of language for two spans in the results from the read model in Azure AI Document Intelligence Studio.](../media/language-detection.png#lightbox) -## Run Cloud Shell +## Prepare to develop an app in Visual Studio Code -We'll use Cloud Shell in your Azure subscription to host a console application that calls Azure AI Document Intelligence. Follow these steps to start the Cloud Shell: +Now let's explore the app that uses the Azure Document Intelligence service SDK. You'll develop your app using Visual Studio Code. The code files for your app have been provided in a GitHub repo. -1. In the Azure portal select the **[>_]** (Cloud Shell) button at the top of the page to the right of the search box. This opens a Cloud Shell pane at the bottom of the portal. +> **Tip**: If you have already cloned the **mslearn-ai-document-intelligence** repo, open it in Visual Studio code. Otherwise, follow these steps to clone it to your development environment. - ![Screenshot showing how to open Cloud Shell in the Azure portal.](../media/cloudshell-launch-portal.png#lightbox) +1. Start Visual Studio Code. +1. Open the palette (SHIFT+CTRL+P) and run a **Git: Clone** command to clone the `https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence` repository to a local folder (it doesn't matter which folder). +1. When the repository has been cloned, open the folder in Visual Studio Code. +1. Wait while additional files are installed to support the C# code projects in the repo. -1. The first time you open the Cloud Shell, you may be prompted to choose the type of shell you want to use (*Bash* or *PowerShell*). Select **Bash**. If you do not see this option, skip the step. -1. If you are prompted to create storage for your Cloud Shell, ensure your subscription is specified and select **Create storage**. Then wait a minute or so for the storage to be created. + > **Note**: If you are prompted to add required assets to build and debug, select **Not Now**. If you are prompted with the Message *Detected an Azure Function Project in folder*, you can safely close that message. - ![Screenshot showing how to mount storage with Create storage highlighted.](../media/create-storage.png#lightbox) +## Configure your application -1. Make sure the type of shell indicated on the top left of the Cloud Shell pane is switched to *Bash*. If it is *PowerShell*, switch to *Bash* by using the drop-down menu. +Applications for both C# and Python have been provided, as well as a sample pdf file you'll use to test the document intelligence. Both apps feature the same functionality. First, you'll complete some key parts of the application to enable using your Azure Document Intelligence resource. - ![Screenshot showing how to change the Cloud Shell to Bash in the Azure portal.](../media/switch-bash.png#lightbox) +1. Examine the following invoice and note some of its fields and values. This is the invoice that your code will analyze. -1. Wait for Bash to start. You should see the following screen in the Azure portal: + ![Screenshot showing a sample invoice document.](../media/sample-invoice.png#lightbox) - ![Screenshot showing the Cloud Shell ready to use in the Azure portal.](../media/cloud-shell-ready.png#lightbox) +1. In Visual Studio Code, in the **Explorer** pane, browse to the **Labfiles/01-prebuild-models** folder and expand the **CSharp** or **Python** folder depending on your language preference. Each folder contains the language-specific files for an app into which you're you're going to integrate Azure OpenAI functionality. -## Use the invoice model +1. Right-click the **CSharp** or **Python** folder containing your code files and open an integrated terminal. Then install the Azure Form Recognizer SDK package by running the appropriate command for your language preference: -Now, let's write some code that uses your Azure AI Document Intelligence resource. You'll add your connection details to the sample code, and complete the project with lines that send a sample invoice and display data from it: + **C#**: -1. Open a new browser tab and go to the [sample invoice document](https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/sample-invoice.pdf). -1. Examine the form and note some of its fields and values. This is the document that your code will analyze. - - ![Screenshot showing the sample invoice that the code will analyze.](../media/sample-invoice.png#lightbox) + ```powershell + dotnet add package Azure.AI.FormRecognizer --version 4.1.0 + ``` -1. In the Cloud Shell, to clone the code repository, enter this command: + **Python**: - ```bash - git clone https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence doc-intelligence + ```powershell + pip install azure-ai-formrecognizer==3.3.0 ``` -1. Change to the starter directory and then start the code editor: +## Add code to use the Azure OpenAI service - ```bash - cd doc-intelligence/01-prebuilt-models/starter/invoicereader - code Program.cs - ``` +Now you're ready to use the Azure Form Recognizer SDK to evaluate the pdf file. 1. Switch to the browser tab that displays the Azure AI Document Intelligence overview in the Azure portal. To the right of the **Endpoint** value, click the **Copy to clipboard** button. -1. In the Cloud Shell code editor, in the list of files on the left, locate this line and replace `` with the string you just copied: +1. In the **Explorer** pane, in the **CSharp** or **Python** folder, open the code file for your preferred language, and replace `` with the string you just copied: + + **C#**: ***Program.cs*** ```csharp string endpoint = ""; ``` + **Python**: ***document-analysis.py*** + + ```python + endpoint = "" + ``` + 1. Switch to the browser tab that displays the Azure AI Document Intelligence overview in the Azure portal. To the right of the **KEY 1** value, click the *Copy to clipboard** button. -1. In the Cloud Shell code editor, locate this line and replace `` with the string you just copied: +1. In the code file in Visual Studio Code, locate this line and replace `` with the string you just copied: + + **C#** ```csharp string apiKey = ""; ``` -1. Locate the comment `// Create the client`. Following that, on new lines, enter the following code: + **Python** + + ```python + key = "" + ``` + +1. Locate the comment `Create the client`. Following that, on new lines, enter the following code: + + **C#** ```csharp var cred = new AzureKeyCredential(apiKey); var client = new DocumentAnalysisClient(new Uri(endpoint), cred); ``` -1. Locate the comment `// Analyze the invoice`. Following that, on new lines, enter the following code: + **Python** + + ```python + document_analysis_client = DocumentAnalysisClient( + endpoint=endpoint, credential=AzureKeyCredential(key) + ) + ``` + +1. Locate the comment `Analyze the invoice`. Following that, on new lines, enter the following code: + + **C#** ```csharp - AnalyzeDocumentOperation operation = await client.StartAnalyzeDocumentFromUriAsync("prebuilt-invoice", fileUri); + AnalyzeDocumentOperation operation = await client.AnalyzeDocumentFromUriAsync(WaitUntil.Completed, "prebuilt-invoice", fileUri); await operation.WaitForCompletionAsync(); ``` -1. Locate the comment `// Display invoice information to the user`. Following that, on news lines, enter the following code: + **Python** + + ```python + poller = document_analysis_client.begin_analyze_document_from_url( + fileModelId, fileUri, locale=fileLocale + ) + ``` + +1. Locate the comment `Display invoice information to the user`. Following that, on news lines, enter the following code: + + **C#** ```csharp AnalyzeResult result = operation.Value; - AnalyzedDocument invoice = result.Documents[0]; - - if (invoice.Fields.TryGetValue("VendorName", out DocumentField vendorNameField)) + + foreach (AnalyzedDocument invoice in result.Documents) { - if (vendorNameField.ValueType == DocumentFieldType.String) + if (invoice.Fields.TryGetValue("VendorName", out DocumentField? vendorNameField)) { - string vendorName = vendorNameField.AsString(); - Console.WriteLine($"Vendor Name: '{vendorName}', with confidence {vendorNameField.Confidence}."); + if (vendorNameField.FieldType == DocumentFieldType.String) + { + string vendorName = vendorNameField.Value.AsString(); + Console.WriteLine($"Vendor Name: '{vendorName}', with confidence {vendorNameField.Confidence}."); + } } - } + ``` + + **Python** + + ```python + receipts = poller.result() + + for idx, receipt in enumerate(receipts.documents): + + vendor_name = receipt.fields.get("VendorName") + if vendor_name: + print(f"\nVendor Name: {vendor_name.value}, with confidence {vendor_name.confidence}.") ``` > [!NOTE] - > You've added code to display the vendor name. The starter project also includes code to display the customer name and invoice total. + > You've added code to display the vendor name. The starter project also includes code to display the *customer name* and *invoice total*. -1. To save your code and exit the editor, press CTRL + S and then press CTRL + Q. -1. To build your project, enter this command: +1. Save the changes to the code file. - ```bash +1. In the interactive terminal pane, ensure the folder context is the folder for your preferred language. Then enter the following command to run the application. + +1. ***For C# only***, to build your project, enter this command: + + **C#**: + + ```powershell dotnet build ``` 1. To run your code, enter this command: - ```bash + **C#**: + + ```powershell dotnet run ``` - The program displays the vendor name, customer name, and invoice total with confidence levels. Compare the values it reports with the sample invoice you opened at the start of this section. + **Python**: + + ```powershell + python document-analysis.py + ``` + +The program displays the vendor name, customer name, and invoice total with confidence levels. Compare the values it reports with the sample invoice you opened at the start of this section. diff --git a/Instructions/Exercises/02-custom-document-intelligence.md b/Instructions/Exercises/02-custom-document-intelligence.md index 66caf66..a3f9f3a 100644 --- a/Instructions/Exercises/02-custom-document-intelligence.md +++ b/Instructions/Exercises/02-custom-document-intelligence.md @@ -10,41 +10,24 @@ Suppose a company currently requires employees to manually purchase order sheets **Azure AI Document Intelligence** is an Azure AI service that enables users to build automated data processing software. This software can extract text, key/value pairs, and tables from form documents using optical character recognition (OCR). Azure AI Document Intelligence has pre-built models for recognizing invoices, receipts, and business cards. The service also provides the capability to train custom models. In this exercise, we will focus on building custom models. -## Clone the repo into your Azure Cloud Shell +## Prepare to develop an app in Visual Studio Code -1. In the [Azure portal](https://portal.azure.com?azure-portal=true), select the **[>_]** (*Cloud Shell*) button at the top of the page to the right of the search box. A Cloud Shell pane will open at the bottom of the portal. +Now let's explore the app that uses the service SDK. You'll develop your app using Visual Studio Code. The code files for your app have been provided in a GitHub repo. - ![Screenshot of starting Cloud Shell by clicking on the icon to the right of the top search box.](../media/cloudshell-launch-portal.png#lightbox) +> **Tip**: If you have already cloned the **mslearn-ai-document-intelligence** repo, open it in Visual Studio code. Otherwise, follow these steps to clone it to your development environment. -1. The first time you open the Cloud Shell, you may be prompted to choose the type of shell you want to use (*Bash* or *PowerShell*). Select **Bash**. If you don't see this option, skip the step. +1. Start Visual Studio Code. +1. Open the palette (SHIFT+CTRL+P) and run a **Git: Clone** command to clone the `https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence` repository to a local folder (it doesn't matter which folder). +1. When the repository has been cloned, open the folder in Visual Studio Code. +1. Wait while additional files are installed to support the C# code projects in the repo. -1. If you're prompted to create storage for your Cloud Shell, ensure your subscription is specified and select **Create storage**. Then wait a minute or so for the storage to be created. - -1. Once the terminal starts, run the following commands to download a copy of the repo into your Cloud Shell: - - ```bash - rm -r doc-intelligence -f - git clone https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence doc-intelligence - ``` - - > **TIP** - > If you recently used this command in another lab to clone the *doc-intelligence* repository, you can skip this step. - -1. The files have been downloaded into a folder called **doc-intelligence**. Let's use the Cloud Shell Code editor to open the appropriate folder by running: - - ```bash - cd doc-intelligence/Labfiles/02-custom-document-intelligence - ``` - - ```bash - code . - ``` + > **Note**: If you are prompted to add required assets to build and debug, select **Not Now**. If you are prompted with the Message *Detected an Azure Function Project in folder*, you can safely close that message. ## Create a Azure AI Document Intelligence resource To use the Azure AI Document Intelligence service, you need a Azure AI Document Intelligence or Azure AI Services resource in your Azure subscription. You'll use the Azure portal to create a resource. -1. In the Azure portal, search for *Document intelligence*, select **Document intelligence**, and create a resource with the following settings: +1. In the Azure portal, search for *Document intelligence*, select **Document intelligence**, and create a resource with the following settings: - **Subscription**: *Your Azure subscription* - **Resource group**: *Choose or create a resource group (if you are using a restricted subscription, you may not have permission to create a new resource group - use the one provided)* @@ -60,55 +43,69 @@ To use the Azure AI Document Intelligence service, you need a Azure AI Document ![An image of an invoice used in this project.](../media/Form_1.jpg) -You'll use the sample forms from the **02-custom-document-intelligence/sample-forms** folder in this repo, which contain all the files you'll need to train and test a model. +You'll use the sample forms from the **Labfiles/02-custom-document-intelligence/sample-forms** folder in this repo, which contain all the files you'll need to train and test a model. -1. In Cloud Shell Code, in the **02-custom-document-intelligence** folder, expand the **sample-forms** folder. Notice there are files ending in **.json** and **.jpg** in the folder. +1. In Visual Studio Code, in the **Labfiles/02-custom-document-intelligence** folder, expand the **sample-forms** folder. Notice there are files ending in **.json** and **.jpg** in the folder. You will use the **.jpg** files to train your model. The **.json** files have been generated for you and contain label information. The files will be uploaded into your blob storage container alongside the forms. - You can view the images we are using in the [sample-forms folder](https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence/tree/main/Labfiles/02-custom-document-intelligence/sample-forms?azure-portal=true) of this repo on GitHub. + You can view the images we are using in the *sample-forms* folder by selecting them on Visual Studio Code. 1. Return to the Azure portal and view the **Resource group** in which you created the Document Intelligence resource previously. 1. On the **Overview** page for your resource group, note the **Subscription ID** and **Location**. You will need these values, along with your **resource group** name in subsequent steps. -![An example of the resource group page.](../media/resource_group_variables.png) + ![An example of the resource group page.](../media/resource_group_variables.png) + +1. In Visual Studio Code, in the **Explorer** pane, browse to the **Labfiles/02-custom-document-intelligence** folder and expand the **CSharp** or **Python** folder depending on your language preference. Each folder contains the language-specific files for an app into which you're you're going to integrate Azure OpenAI functionality. + +1. Right-click the **CSharp** or **Python** folder containing your code files and open an integrated terminal. -1. In the terminal pane, run the following command to list Azure locations. +1. In the integrated terminal pane, run the following command to login to Azure. The **az login** command will open the Microsoft Edge browser, login with the same account you used to create the Azure AI Document Intelligence resource. Once you are logged in, close the browser window. + + ```powershell + az login + ``` -``` -az account list-locations -o table -``` +1. In the integrated terminal pane, run the following command to list the Azure locations. + + ```powershell + az account list-locations -o table + ``` 1. In the output, find the **Name** value that corresponds with the location of your resource group (for example, for *East US* the corresponding name is *eastus*). - > **Important**: Record the **Name** value and use it in Step 12. + > **Important**: Record the **Name** value and use it in Step 11. -1. In the Code window, in the **02-custom-document-intelligence** folder, select **setup.sh**. You will use this script to run the Azure command line interface (CLI) commands required to create the other Azure resources you need. +1. In Visual Studio Code, in the **Labfiles/02-custom-document-intelligence** folder, select **setup.cmd**. You will use this script to run the Azure command line interface (CLI) commands required to create the other Azure resources you need. -1. In the **setup.sh** script, review the commands. The program will: +1. In the **setup.cmd** script, review the commands. The program will: - Create a storage account in your Azure resource group - - Upload files from your local _sampleforms_ folder to a container called _sampleforms_ in the storage account + - Upload files from your local *sampleforms* folder to a container called *sampleforms* in the storage account - Print a Shared Access Signature URI -12. Modify the **subscription_id**, **resource_group**, and **location** variable declarations with the appropriate values for the subscription, resource group, and location name where you deployed the Document Intelligence resource. +1. Modify the **subscription_id**, **resource_group**, and **location** variable declarations with the appropriate values for the subscription, resource group, and location name where you deployed the Document Intelligence resource. Then **save** your changes. Leave the **expiry_date** variable as it is for the exercise. This variable is used when generating the Shared Access Signature (SAS) URI. In practice, you will want to set an appropriate expiry date for your SAS. You can learn more about SAS [here](https://docs.microsoft.com/azure/storage/common/storage-sas-overview#how-a-shared-access-signature-works). -13. In the terminal for the **02-custom-document-intelligence** folder, enter the following command to run the script: +1. In the integrated terminal for the **Labfiles/02-custom-document-intelligence** folder, enter the following command to run the script: -``` -sh setup.sh -``` + ```PowerShell + $currentdir=(Get-Item .).FullName + cd .. + ./setup.cmd + cd $currentdir -14. When the script completes, review the displayed output and note your Azure resource's SAS URI. + ``` -> **Important**: Before moving on, paste the SAS URI somewhere you will be able to retrieve it again later (for example, in a new text file in notepad or the Code window). +1. When the script completes, review the displayed output and note your Azure resource's SAS URI. -15. In the Azure portal, refresh the resource group and verify that it contains the Azure Storage account just created. Open the storage account and in the pane on the left, select **Storage Browser (preview)**. Then in Storage Browser, expand **Blob containers** and select the **sampleforms** container to verify that the files have been uploaded from your local **02-custom-document-intelligence/sample-forms** folder. + > **Important**: Before moving on, paste the SAS URI somewhere you will be able to retrieve it again later (for example, in a new text file in notepad or the Code window). + +1. In the Azure portal, refresh the resource group and verify that it contains the Azure Storage account just created. Open the storage account and in the pane on the left, select **Storage browser**. Then in Storage Browser, expand **Blob containers** and select the **sampleforms** container to verify that the files have been uploaded from your local **02-custom-document-intelligence/sample-forms** folder. ## Train the model using Document Intelligence Studio @@ -131,49 +128,43 @@ Now you will train the model using the files uploaded to the storage account. ## Test your custom Document Intelligence model -1. In the terminal of Azure portal, navigate to the folder of your preferred language. - -1. Install the Document Intelligence package by running the appropriate command for your language preference: +1. In the integrated terminal, install the Document Intelligence package by running the appropriate command for your language preference: -**C#** + **C#**: -``` -dotnet add package Azure.AI.FormRecognizer --version 4.1.0 -``` - -**Python** + ```powershell + dotnet add package Azure.AI.FormRecognizer --version 4.1.0 + ``` -``` -pip install azure-ai-formrecognizer==3.3.0 -``` -1. Open the code files for your preferred language in the code editor. + **Python**: - ```bash - code . + ```powershell + pip install azure-ai-formrecognizer==3.3.0 ``` -1. Edit the configuration file (**appsettings.json** or **.env**, depending on your language preference) to add the following values: +1. In Visual Studio Code, edit the configuration file (**appsettings.json** or **.env**, depending on your language preference) to add the following values: - Your Document Intelligence endpoint. - Your Document Intelligence key. - The Model ID generated you provided when training your model. You can find this on the **Models** page of the Document Intelligence Studio. **Save** your changes. -6. In the code editor, open the code file for your client application (*Program.cs* for C#, *test-model.py* for Python) and review the code it contains, particularly that the image in the URL refers to the file in this GitHub repo on the web. +1. In Visual Studio Code, open the code file for your client application (*Program.cs* for C#, *test-model.py* for Python) and review the code it contains, particularly that the image in the URL refers to the file in this GitHub repo on the web. -7. Return the terminal, and enter the following command to run the program: +1. Return the terminal, and enter the following command to run the program: -**C#** + **C#** -``` -dotnet run -``` + ```powershell + dotnet build + dotnet run + ``` -**Python** + **Python** -``` -python test-model.py -``` + ```powershell + python test-model.py + ``` -8. View the output and observe how the output for the model provides field names like `Merchant` and `CompanyPhoneNumber`. +1. View the output and observe how the output for the model provides field names like `Merchant` and `CompanyPhoneNumber`. ## Clean up diff --git a/Instructions/Labs/01-use-prebuilt-models.md b/Instructions/Labs/01-use-prebuilt-models.md index 2d0e308..34833a8 100644 --- a/Instructions/Labs/01-use-prebuilt-models.md +++ b/Instructions/Labs/01-use-prebuilt-models.md @@ -75,25 +75,25 @@ Now, let's write some code that uses your Azure AI Document Intelligence resourc 1. In the Cloud Shell, to clone the code repository, enter this command: ```bash + rm -r doc-intelligence -f git clone https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence doc-intelligence ``` -> **Note**: You can choose to use the SDK for either **C#** or **Python**. In the following steps, perform the actions appropriate for your preferred language. + > **TIP** + > If you recently used this command in another lab to clone the *doc-intelligence* repository, you can skip this step. -1. Change to the starter directory: - - **C#** +1. The files have been downloaded into a folder called **doc-intelligence**. Let's use the Cloud Shell Code editor to open the appropriate folder by running: ```bash - cd doc-intelligence/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp + cd doc-intelligence/Labfiles/01-prebuild-models ``` - **Python** - ```bash - cd doc-intelligence/Labfiles/01-prebuild-models/starter/invoicereader/Python + code . ``` +1. In the terminal of Azure portal, navigate to the folder of your preferred language. + 1. Install the Azure Form Recognizer client library package by running the appropriate command for your language preference: **C#** @@ -105,24 +105,13 @@ Now, let's write some code that uses your Azure AI Document Intelligence resourc **Python** ```bash - pip install azure-ai-formrecognizer - ``` - -1. Start the code editor: - - **C#** - - ```bash - code Program.cs + pip install azure-ai-formrecognizer==3.3.0 ``` - **Python** - - ```bash - code document-analysis.py - ``` +1. Edit the respective code file for your preferred language in the Cloud Shell code editor. Either ***Program.cs*** for **C#** or ***document-analysis.py*** for **Python**. 1. Switch to the browser tab that displays the Azure AI Document Intelligence overview in the Azure portal. To the right of the **Endpoint** value, click the **Copy to clipboard** button. + 1. In the Cloud Shell code editor, in the list of files on the left, locate this line and replace `` with the string you just copied: **C#** @@ -134,7 +123,7 @@ Now, let's write some code that uses your Azure AI Document Intelligence resourc **Python** ```python - endpoint = "Endpoint URL" + endpoint = "" ``` 1. Switch to the browser tab that displays the Azure AI Document Intelligence overview in the Azure portal. To the right of the **KEY 1** value, click the *Copy to clipboard** button. @@ -149,7 +138,7 @@ Now, let's write some code that uses your Azure AI Document Intelligence resourc **Python** ```python - key = "API Key" + key = "" ``` 1. Locate the comment `Create the client`. Following that, on new lines, enter the following code: diff --git a/Instructions/Labs/02-custom-document-intelligence.md b/Instructions/Labs/02-custom-document-intelligence.md index b2d8f33..ea65ab5 100644 --- a/Instructions/Labs/02-custom-document-intelligence.md +++ b/Instructions/Labs/02-custom-document-intelligence.md @@ -4,7 +4,7 @@ lab: module: 'Module 11 - Reading Text in Images and Documents' --- -# Extract Data from Forms +# Extract Data from Forms Suppose a company currently requires employees to manually purchase order sheets and enter the data into a database. They would like you to utilize AI services to improve the data entry process. You decide to build a machine learning model that will read the form and produce structured data that can be used to automatically update a database. @@ -29,7 +29,7 @@ Suppose a company currently requires employees to manually purchase order sheets > **TIP** > If you recently used this command in another lab to clone the *doc-intelligence* repository, you can skip this step. - + 1. The files have been downloaded into a folder called **doc-intelligence**. Let's use the Cloud Shell Code editor to open the appropriate folder by running: ```bash @@ -44,7 +44,7 @@ Suppose a company currently requires employees to manually purchase order sheets To use the Azure AI Document Intelligence service, you need a Azure AI Document Intelligence or Azure AI Services resource in your Azure subscription. You'll use the Azure portal to create a resource. -1. In the Azure portal, search for *Document intelligence*, select **Document intelligence**, and create a resource with the following settings: +1. In the Azure portal, search for *Document intelligence*, select **Document intelligence**, and create a resource with the following settings: - **Subscription**: *Your Azure subscription* - **Resource group**: *Choose or create a resource group (if you are using a restricted subscription, you may not have permission to create a new resource group - use the one provided)* @@ -78,7 +78,7 @@ You'll use the sample forms from the **02-custom-document-intelligence/sample-fo 1. In the terminal pane, run the following command to list Azure locations. - ``` + ```bash az account list-locations -o table ``` @@ -93,22 +93,22 @@ You'll use the sample forms from the **02-custom-document-intelligence/sample-fo - Upload files from your local _sampleforms_ folder to a container called _sampleforms_ in the storage account - Print a Shared Access Signature URI -12. Modify the **subscription_id**, **resource_group**, and **location** variable declarations with the appropriate values for the subscription, resource group, and location name where you deployed the Document Intelligence resource. +1. Modify the **subscription_id**, **resource_group**, and **location** variable declarations with the appropriate values for the subscription, resource group, and location name where you deployed the Document Intelligence resource. Then **save** your changes. Leave the **expiry_date** variable as it is for the exercise. This variable is used when generating the Shared Access Signature (SAS) URI. In practice, you will want to set an appropriate expiry date for your SAS. You can learn more about SAS [here](https://docs.microsoft.com/azure/storage/common/storage-sas-overview#how-a-shared-access-signature-works). -13. In the terminal for the **02-custom-document-intelligence** folder, enter the following command to run the script: +1. In the terminal for the **02-custom-document-intelligence** folder, enter the following command to run the script: - ``` + ```bash sh setup.sh ``` -14. When the script completes, review the displayed output and note your Azure resource's SAS URI. +1. When the script completes, review the displayed output and note your Azure resource's SAS URI. -> **Important**: Before moving on, paste the SAS URI somewhere you will be able to retrieve it again later (for example, in a new text file in notepad or the Code window). + > **Important**: Before moving on, paste the SAS URI somewhere you will be able to retrieve it again later (for example, in a new text file in notepad or the Code window). -15. In the Azure portal, refresh the resource group and verify that it contains the Azure Storage account just created. Open the storage account and in the pane on the left, select **Storage Browser (preview)**. Then in Storage Browser, expand **Blob containers** and select the **sampleforms** container to verify that the files have been uploaded from your local **02-custom-document-intelligence/sample-forms** folder. +1. In the Azure portal, refresh the resource group and verify that it contains the Azure Storage account just created. Open the storage account and in the pane on the left, select **Storage browser**. Then in Storage Browser, expand **Blob containers** and select the **sampleforms** container to verify that the files have been uploaded from your local **02-custom-document-intelligence/sample-forms** folder. ## Train the model using Document Intelligence Studio @@ -136,14 +136,15 @@ Now you will train the model using the files uploaded to the storage account. 1. Install the Document Intelligence package by running the appropriate command for your language preference: **C#** - - ``` + + ```bash dotnet add package Azure.AI.FormRecognizer --version 4.1.0 ``` - + **Python** - - ``` + + ```bash + pip install python-dotenv==1.0.0 --no-warn-script-location pip install azure-ai-formrecognizer==3.3.0 ``` @@ -163,14 +164,14 @@ Now you will train the model using the files uploaded to the storage account. 1. Return the terminal, and enter the following command to run the program: **C#** - - ``` + + ```bash dotnet run ``` - + **Python** - - ``` + + ```bash python test-model.py ``` diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/Program.cs b/Labfiles/01-prebuild-models/CSharp/Program.cs similarity index 96% rename from Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/Program.cs rename to Labfiles/01-prebuild-models/CSharp/Program.cs index df55173..b282c37 100644 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/Program.cs +++ b/Labfiles/01-prebuild-models/CSharp/Program.cs @@ -5,7 +5,7 @@ string endpoint = ""; string apiKey = ""; -Uri fileUri = new Uri("https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence/blob/main/Labfiles/01-prebuild-models/sample-invoice/sample-invoice.pdf"); +Uri fileUri = new Uri("https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence/blob/main/Labfiles/01-prebuild-models/sample-invoice/sample-invoice.pdf?raw=true"); Console.WriteLine("\nConnecting to Forms Recognizer at: {0}", endpoint); Console.WriteLine("Analyzing invoice at: {0}\n", fileUri.ToString()); diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/invoicereader.csproj b/Labfiles/01-prebuild-models/CSharp/invoicereader.csproj similarity index 100% rename from Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/invoicereader.csproj rename to Labfiles/01-prebuild-models/CSharp/invoicereader.csproj diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/Python/document-analysis.py b/Labfiles/01-prebuild-models/Python/document-analysis.py similarity index 92% rename from Labfiles/01-prebuild-models/starter/invoicereader/Python/document-analysis.py rename to Labfiles/01-prebuild-models/Python/document-analysis.py index 9a91e08..0fccca4 100644 --- a/Labfiles/01-prebuild-models/starter/invoicereader/Python/document-analysis.py +++ b/Labfiles/01-prebuild-models/Python/document-analysis.py @@ -2,10 +2,10 @@ from azure.ai.formrecognizer import DocumentAnalysisClient # Store connection information -endpoint = "Endpoint URL" -key = "API Key" +endpoint = "" +key = "" -fileUri = "https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence/blob/main/Labfiles/01-prebuild-models/sample-invoice/sample-invoice.pdf" +fileUri = "https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence/blob/main/Labfiles/01-prebuild-models/sample-invoice/sample-invoice.pdf?raw=true" fileLocale = "en-US" fileModelId = "prebuilt-invoice" diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/Program.cs b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/Program.cs deleted file mode 100644 index fd3b3a6..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/Program.cs +++ /dev/null @@ -1,53 +0,0 @@ -using Azure; -using Azure.AI.FormRecognizer.DocumentAnalysis; - -// Store connection information -string endpoint = ""; -string apiKey = ""; - -Uri fileUri = new Uri("https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence/blob/main/Labfiles/01-prebuild-models/sample-invoice/sample-invoice.pdf"); - -Console.WriteLine("\nConnecting to Forms Recognizer at: {0}", endpoint); -Console.WriteLine("Analyzing invoice at: {0}", fileUri.ToString()); - -// Create the client -var cred = new AzureKeyCredential(apiKey); -var client = new DocumentAnalysisClient(new Uri(endpoint), cred); - -// Analyze the invoice -AnalyzeDocumentOperation operation = await client.AnalyzeDocumentFromUriAsync(WaitUntil.Completed, "prebuilt-invoice", fileUri); -await operation.WaitForCompletionAsync(); - -// Display invoice information to the user -AnalyzeResult result = operation.Value; - -foreach (AnalyzedDocument invoice in result.Documents) -{ - if (invoice.Fields.TryGetValue("VendorName", out DocumentField? vendorNameField)) - { - if (vendorNameField.FieldType == DocumentFieldType.String) - { - string vendorName = vendorNameField.Value.AsString(); - Console.WriteLine($"Vendor Name: '{vendorName}', with confidence {vendorNameField.Confidence}."); - } - } - - if (invoice.Fields.TryGetValue("CustomerName", out DocumentField? customerNameField)) - { - if (customerNameField.FieldType == DocumentFieldType.String) - { - string customerName = customerNameField.Value.AsString(); - Console.WriteLine($"Customer Name: '{customerName}', with confidence {customerNameField.Confidence}."); - } - } - - if (invoice.Fields.TryGetValue("InvoiceTotal", out DocumentField? invoiceTotalField)) - { - if (invoiceTotalField.FieldType == DocumentFieldType.Currency) - { - CurrencyValue invoiceTotal = invoiceTotalField.Value.AsCurrency(); - Console.WriteLine($"Invoice Total: '{invoiceTotal.Symbol}{invoiceTotal.Amount}', with confidence {invoiceTotalField.Confidence}."); - } - } -} -Console.WriteLine("\nAnalysis complete.\n"); diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs deleted file mode 100644 index 36203c7..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/apphost b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/apphost deleted file mode 100644 index b06ae39..0000000 Binary files a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/apphost and /dev/null differ diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfo.cs b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfo.cs deleted file mode 100644 index 4205fc6..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyTitleAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfoInputs.cache b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfoInputs.cache deleted file mode 100644 index 96f47ed..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -0f53dcd0d866e3f678275057ba89ba1b89a5bc6f diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index faf98f4..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net6.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = invoicereader -build_property.ProjectDir = C:\WWL\learn-pr\mslearn-ai-document-intelligence\Labfiles\01-prebuild-models\solution\invoicereader\C-Sharp\ diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GlobalUsings.g.cs b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GlobalUsings.g.cs deleted file mode 100644 index 8578f3d..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GlobalUsings.g.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.assets.cache b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.assets.cache deleted file mode 100644 index 30377ca..0000000 Binary files a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.assets.cache and /dev/null differ diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.csproj.AssemblyReference.cache b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.csproj.AssemblyReference.cache deleted file mode 100644 index 75029f1..0000000 Binary files a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.csproj.AssemblyReference.cache and /dev/null differ diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.csproj.FileListAbsolute.txt b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.csproj.FileListAbsolute.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs deleted file mode 100644 index 4257f4b..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfo.cs b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfo.cs deleted file mode 100644 index 4205fc6..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyTitleAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfoInputs.cache b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfoInputs.cache deleted file mode 100644 index 96f47ed..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -0f53dcd0d866e3f678275057ba89ba1b89a5bc6f diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 8991bdb..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net7.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = invoicereader -build_property.ProjectDir = C:\WWL\learn-pr\mslearn-ai-document-intelligence\Labfiles\01-prebuild-models\solution\invoicereader\C-Sharp\ diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GlobalUsings.g.cs b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GlobalUsings.g.cs deleted file mode 100644 index 8578f3d..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GlobalUsings.g.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.assets.cache b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.assets.cache deleted file mode 100644 index 304023f..0000000 Binary files a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.assets.cache and /dev/null differ diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.csproj.AssemblyReference.cache b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.csproj.AssemblyReference.cache deleted file mode 100644 index c87b823..0000000 Binary files a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.csproj.AssemblyReference.cache and /dev/null differ diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.dgspec.json b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.dgspec.json deleted file mode 100644 index 77d45d1..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.dgspec.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "format": 1, - "restore": { - "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\solution\\invoicereader\\C-Sharp\\invoicereader.csproj": {} - }, - "projects": { - "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\solution\\invoicereader\\C-Sharp\\invoicereader.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\solution\\invoicereader\\C-Sharp\\invoicereader.csproj", - "projectName": "invoicereader", - "projectPath": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\solution\\invoicereader\\C-Sharp\\invoicereader.csproj", - "packagesPath": "C:\\Users\\calopez\\.nuget\\packages\\", - "outputPath": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\solution\\invoicereader\\C-Sharp\\obj\\", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configFilePaths": [ - "C:\\Users\\calopez\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net7.0" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "C:\\Program Files\\dotnet\\library-packs": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "dependencies": { - "Azure.AI.FormRecognizer": { - "target": "Package", - "version": "[4.1.0, )" - } - }, - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.403\\RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.props b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.props deleted file mode 100644 index b7643e8..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.props +++ /dev/null @@ -1,16 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - $(UserProfile)\.nuget\packages\ - C:\Users\calopez\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages - PackageReference - 6.7.0 - - - - - - \ No newline at end of file diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.targets b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.targets deleted file mode 100644 index 3dc06ef..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.targets +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/project.assets.json b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/project.assets.json deleted file mode 100644 index 1311b08..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/project.assets.json +++ /dev/null @@ -1,493 +0,0 @@ -{ - "version": 3, - "targets": { - "net7.0": { - "Azure.AI.FormRecognizer/4.1.0": { - "type": "package", - "dependencies": { - "Azure.Core": "1.34.0", - "System.Text.Json": "4.7.2" - }, - "compile": { - "lib/netstandard2.0/Azure.AI.FormRecognizer.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Azure.AI.FormRecognizer.dll": { - "related": ".xml" - } - } - }, - "Azure.Core/1.34.0": { - "type": "package", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.1", - "System.Diagnostics.DiagnosticSource": "6.0.1", - "System.Memory.Data": "1.0.2", - "System.Numerics.Vectors": "4.5.0", - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.7.2", - "System.Threading.Tasks.Extensions": "4.5.4" - }, - "compile": { - "lib/net6.0/Azure.Core.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/net6.0/Azure.Core.dll": { - "related": ".xml" - } - } - }, - "Microsoft.Bcl.AsyncInterfaces/1.1.1": { - "type": "package", - "compile": { - "ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {} - }, - "runtime": { - "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { - "related": ".xml" - } - } - }, - "System.Diagnostics.DiagnosticSource/6.0.1": { - "type": "package", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - }, - "compile": { - "lib/net6.0/System.Diagnostics.DiagnosticSource.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/net6.0/System.Diagnostics.DiagnosticSource.dll": { - "related": ".xml" - } - }, - "build": { - "buildTransitive/netcoreapp3.1/_._": {} - } - }, - "System.Memory.Data/1.0.2": { - "type": "package", - "dependencies": { - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.6.0" - }, - "compile": { - "lib/netstandard2.0/System.Memory.Data.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/System.Memory.Data.dll": { - "related": ".xml" - } - } - }, - "System.Numerics.Vectors/4.5.0": { - "type": "package", - "compile": { - "ref/netcoreapp2.0/_._": {} - }, - "runtime": { - "lib/netcoreapp2.0/_._": {} - } - }, - "System.Runtime.CompilerServices.Unsafe/6.0.0": { - "type": "package", - "compile": { - "lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": { - "related": ".xml" - } - }, - "build": { - "buildTransitive/netcoreapp3.1/_._": {} - } - }, - "System.Text.Encodings.Web/4.7.2": { - "type": "package", - "compile": { - "lib/netstandard2.1/System.Text.Encodings.Web.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.1/System.Text.Encodings.Web.dll": { - "related": ".xml" - } - } - }, - "System.Text.Json/4.7.2": { - "type": "package", - "compile": { - "lib/netcoreapp3.0/System.Text.Json.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netcoreapp3.0/System.Text.Json.dll": { - "related": ".xml" - } - } - }, - "System.Threading.Tasks.Extensions/4.5.4": { - "type": "package", - "compile": { - "ref/netcoreapp2.1/_._": {} - }, - "runtime": { - "lib/netcoreapp2.1/_._": {} - } - } - } - }, - "libraries": { - "Azure.AI.FormRecognizer/4.1.0": { - "sha512": "R9mEeYFa2+EcCu5dOGOFG07nbELHY/2o6JtgJoxNTo2wtsonLnLwcKzX/sxOnYhpib4TJEBTUX0/ea0lL130Iw==", - "type": "package", - "path": "azure.ai.formrecognizer/4.1.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "CHANGELOG.md", - "README.md", - "azure.ai.formrecognizer.4.1.0.nupkg.sha512", - "azure.ai.formrecognizer.nuspec", - "azureicon.png", - "lib/netstandard2.0/Azure.AI.FormRecognizer.dll", - "lib/netstandard2.0/Azure.AI.FormRecognizer.xml" - ] - }, - "Azure.Core/1.34.0": { - "sha512": "6dNpM8OlGO+5gvt97tHXBp9qWRFkimRFulupDSGRgyT3sje1kQNza1/EMYaDcolmNARPmVJo8+wgD6ReV9wG5Q==", - "type": "package", - "path": "azure.core/1.34.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "CHANGELOG.md", - "README.md", - "azure.core.1.34.0.nupkg.sha512", - "azure.core.nuspec", - "azureicon.png", - "lib/net461/Azure.Core.dll", - "lib/net461/Azure.Core.xml", - "lib/net5.0/Azure.Core.dll", - "lib/net5.0/Azure.Core.xml", - "lib/net6.0/Azure.Core.dll", - "lib/net6.0/Azure.Core.xml", - "lib/netcoreapp2.1/Azure.Core.dll", - "lib/netcoreapp2.1/Azure.Core.xml", - "lib/netstandard2.0/Azure.Core.dll", - "lib/netstandard2.0/Azure.Core.xml" - ] - }, - "Microsoft.Bcl.AsyncInterfaces/1.1.1": { - "sha512": "yuvf07qFWFqtK3P/MRkEKLhn5r2UbSpVueRziSqj0yJQIKFwG1pq9mOayK3zE5qZCTs0CbrwL9M6R8VwqyGy2w==", - "type": "package", - "path": "microsoft.bcl.asyncinterfaces/1.1.1", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/net461/Microsoft.Bcl.AsyncInterfaces.dll", - "lib/net461/Microsoft.Bcl.AsyncInterfaces.xml", - "lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll", - "lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml", - "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll", - "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml", - "microsoft.bcl.asyncinterfaces.1.1.1.nupkg.sha512", - "microsoft.bcl.asyncinterfaces.nuspec", - "ref/net461/Microsoft.Bcl.AsyncInterfaces.dll", - "ref/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll", - "ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Diagnostics.DiagnosticSource/6.0.1": { - "sha512": "KiLYDu2k2J82Q9BJpWiuQqCkFjRBWVq4jDzKKWawVi9KWzyD0XG3cmfX0vqTQlL14Wi9EufJrbL0+KCLTbqWiQ==", - "type": "package", - "path": "system.diagnostics.diagnosticsource/6.0.1", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "buildTransitive/netcoreapp2.0/System.Diagnostics.DiagnosticSource.targets", - "buildTransitive/netcoreapp3.1/_._", - "lib/net461/System.Diagnostics.DiagnosticSource.dll", - "lib/net461/System.Diagnostics.DiagnosticSource.xml", - "lib/net5.0/System.Diagnostics.DiagnosticSource.dll", - "lib/net5.0/System.Diagnostics.DiagnosticSource.xml", - "lib/net6.0/System.Diagnostics.DiagnosticSource.dll", - "lib/net6.0/System.Diagnostics.DiagnosticSource.xml", - "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll", - "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.xml", - "system.diagnostics.diagnosticsource.6.0.1.nupkg.sha512", - "system.diagnostics.diagnosticsource.nuspec", - "useSharedDesignerContext.txt" - ] - }, - "System.Memory.Data/1.0.2": { - "sha512": "JGkzeqgBsiZwKJZ1IxPNsDFZDhUvuEdX8L8BDC8N3KOj+6zMcNU28CNN59TpZE/VJYy9cP+5M+sbxtWJx3/xtw==", - "type": "package", - "path": "system.memory.data/1.0.2", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "CHANGELOG.md", - "DotNetPackageIcon.png", - "README.md", - "lib/net461/System.Memory.Data.dll", - "lib/net461/System.Memory.Data.xml", - "lib/netstandard2.0/System.Memory.Data.dll", - "lib/netstandard2.0/System.Memory.Data.xml", - "system.memory.data.1.0.2.nupkg.sha512", - "system.memory.data.nuspec" - ] - }, - "System.Numerics.Vectors/4.5.0": { - "sha512": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==", - "type": "package", - "path": "system.numerics.vectors/4.5.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/MonoAndroid10/_._", - "lib/MonoTouch10/_._", - "lib/net46/System.Numerics.Vectors.dll", - "lib/net46/System.Numerics.Vectors.xml", - "lib/netcoreapp2.0/_._", - "lib/netstandard1.0/System.Numerics.Vectors.dll", - "lib/netstandard1.0/System.Numerics.Vectors.xml", - "lib/netstandard2.0/System.Numerics.Vectors.dll", - "lib/netstandard2.0/System.Numerics.Vectors.xml", - "lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.dll", - "lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.xml", - "lib/uap10.0.16299/_._", - "lib/xamarinios10/_._", - "lib/xamarinmac20/_._", - "lib/xamarintvos10/_._", - "lib/xamarinwatchos10/_._", - "ref/MonoAndroid10/_._", - "ref/MonoTouch10/_._", - "ref/net45/System.Numerics.Vectors.dll", - "ref/net45/System.Numerics.Vectors.xml", - "ref/net46/System.Numerics.Vectors.dll", - "ref/net46/System.Numerics.Vectors.xml", - "ref/netcoreapp2.0/_._", - "ref/netstandard1.0/System.Numerics.Vectors.dll", - "ref/netstandard1.0/System.Numerics.Vectors.xml", - "ref/netstandard2.0/System.Numerics.Vectors.dll", - "ref/netstandard2.0/System.Numerics.Vectors.xml", - "ref/uap10.0.16299/_._", - "ref/xamarinios10/_._", - "ref/xamarinmac20/_._", - "ref/xamarintvos10/_._", - "ref/xamarinwatchos10/_._", - "system.numerics.vectors.4.5.0.nupkg.sha512", - "system.numerics.vectors.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Runtime.CompilerServices.Unsafe/6.0.0": { - "sha512": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", - "type": "package", - "path": "system.runtime.compilerservices.unsafe/6.0.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "buildTransitive/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.targets", - "buildTransitive/netcoreapp3.1/_._", - "lib/net461/System.Runtime.CompilerServices.Unsafe.dll", - "lib/net461/System.Runtime.CompilerServices.Unsafe.xml", - "lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll", - "lib/net6.0/System.Runtime.CompilerServices.Unsafe.xml", - "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll", - "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.xml", - "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", - "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", - "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512", - "system.runtime.compilerservices.unsafe.nuspec", - "useSharedDesignerContext.txt" - ] - }, - "System.Text.Encodings.Web/4.7.2": { - "sha512": "iTUgB/WtrZ1sWZs84F2hwyQhiRH6QNjQv2DkwrH+WP6RoFga2Q1m3f9/Q7FG8cck8AdHitQkmkXSY8qylcDmuA==", - "type": "package", - "path": "system.text.encodings.web/4.7.2", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/net461/System.Text.Encodings.Web.dll", - "lib/net461/System.Text.Encodings.Web.xml", - "lib/netstandard1.0/System.Text.Encodings.Web.dll", - "lib/netstandard1.0/System.Text.Encodings.Web.xml", - "lib/netstandard2.0/System.Text.Encodings.Web.dll", - "lib/netstandard2.0/System.Text.Encodings.Web.xml", - "lib/netstandard2.1/System.Text.Encodings.Web.dll", - "lib/netstandard2.1/System.Text.Encodings.Web.xml", - "system.text.encodings.web.4.7.2.nupkg.sha512", - "system.text.encodings.web.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Text.Json/4.7.2": { - "sha512": "TcMd95wcrubm9nHvJEQs70rC0H/8omiSGGpU4FQ/ZA1URIqD4pjmFJh2Mfv1yH1eHgJDWTi2hMDXwTET+zOOyg==", - "type": "package", - "path": "system.text.json/4.7.2", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/net461/System.Text.Json.dll", - "lib/net461/System.Text.Json.xml", - "lib/netcoreapp3.0/System.Text.Json.dll", - "lib/netcoreapp3.0/System.Text.Json.xml", - "lib/netstandard2.0/System.Text.Json.dll", - "lib/netstandard2.0/System.Text.Json.xml", - "system.text.json.4.7.2.nupkg.sha512", - "system.text.json.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Threading.Tasks.Extensions/4.5.4": { - "sha512": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "type": "package", - "path": "system.threading.tasks.extensions/4.5.4", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/MonoAndroid10/_._", - "lib/MonoTouch10/_._", - "lib/net461/System.Threading.Tasks.Extensions.dll", - "lib/net461/System.Threading.Tasks.Extensions.xml", - "lib/netcoreapp2.1/_._", - "lib/netstandard1.0/System.Threading.Tasks.Extensions.dll", - "lib/netstandard1.0/System.Threading.Tasks.Extensions.xml", - "lib/netstandard2.0/System.Threading.Tasks.Extensions.dll", - "lib/netstandard2.0/System.Threading.Tasks.Extensions.xml", - "lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll", - "lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml", - "lib/xamarinios10/_._", - "lib/xamarinmac20/_._", - "lib/xamarintvos10/_._", - "lib/xamarinwatchos10/_._", - "ref/MonoAndroid10/_._", - "ref/MonoTouch10/_._", - "ref/netcoreapp2.1/_._", - "ref/xamarinios10/_._", - "ref/xamarinmac20/_._", - "ref/xamarintvos10/_._", - "ref/xamarinwatchos10/_._", - "system.threading.tasks.extensions.4.5.4.nupkg.sha512", - "system.threading.tasks.extensions.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - } - }, - "projectFileDependencyGroups": { - "net7.0": [ - "Azure.AI.FormRecognizer >= 4.1.0" - ] - }, - "packageFolders": { - "C:\\Users\\calopez\\.nuget\\packages\\": {}, - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} - }, - "project": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\solution\\invoicereader\\C-Sharp\\invoicereader.csproj", - "projectName": "invoicereader", - "projectPath": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\solution\\invoicereader\\C-Sharp\\invoicereader.csproj", - "packagesPath": "C:\\Users\\calopez\\.nuget\\packages\\", - "outputPath": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\solution\\invoicereader\\C-Sharp\\obj\\", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configFilePaths": [ - "C:\\Users\\calopez\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net7.0" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "C:\\Program Files\\dotnet\\library-packs": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "dependencies": { - "Azure.AI.FormRecognizer": { - "target": "Package", - "version": "[4.1.0, )" - } - }, - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.403\\RuntimeIdentifierGraph.json" - } - } - } -} \ No newline at end of file diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/project.nuget.cache b/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/project.nuget.cache deleted file mode 100644 index d33ff24..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/C-Sharp/obj/project.nuget.cache +++ /dev/null @@ -1,19 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "qDOba+kWOR3LjJFdUfmRVNUiwyWCVzqPFHWuCRWOrDkguIMse+WgBB2O62BjlvMUfprLmct7ZniG1aI+UbvnEQ==", - "success": true, - "projectFilePath": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\solution\\invoicereader\\C-Sharp\\invoicereader.csproj", - "expectedPackageFiles": [ - "C:\\Users\\calopez\\.nuget\\packages\\azure.ai.formrecognizer\\4.1.0\\azure.ai.formrecognizer.4.1.0.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\azure.core\\1.34.0\\azure.core.1.34.0.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\1.1.1\\microsoft.bcl.asyncinterfaces.1.1.1.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.diagnostics.diagnosticsource\\6.0.1\\system.diagnostics.diagnosticsource.6.0.1.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.memory.data\\1.0.2\\system.memory.data.1.0.2.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.numerics.vectors\\4.5.0\\system.numerics.vectors.4.5.0.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.text.encodings.web\\4.7.2\\system.text.encodings.web.4.7.2.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.text.json\\4.7.2\\system.text.json.4.7.2.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512" - ], - "logs": [] -} \ No newline at end of file diff --git a/Labfiles/01-prebuild-models/solution/invoicereader/Python/document-analysis.py b/Labfiles/01-prebuild-models/solution/invoicereader/Python/document-analysis.py deleted file mode 100644 index 54cfcd4..0000000 --- a/Labfiles/01-prebuild-models/solution/invoicereader/Python/document-analysis.py +++ /dev/null @@ -1,43 +0,0 @@ -from azure.core.credentials import AzureKeyCredential -from azure.ai.formrecognizer import DocumentAnalysisClient - -# Store connection information -endpoint = "Endpoint URL" -key = "API Key" - -fileUri = "https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence/blob/main/Labfiles/01-prebuild-models/sample-invoice/sample-invoice.pdf" -fileLocale = "en-US" -fileModelId = "prebuilt-invoice" - -print(f"\nConnecting to Forms Recognizer at: {endpoint}") -print(f"Analyzing invoice at: {fileUri}") - -# Create the client -document_analysis_client = DocumentAnalysisClient( - endpoint=endpoint, credential=AzureKeyCredential(key) -) - -# Analyse the invoice -poller = document_analysis_client.begin_analyze_document_from_url( - fileModelId, fileUri, locale=fileLocale -) - -# Display invoice information to the user -receipts = poller.result() - -for idx, receipt in enumerate(receipts.documents): - - vendor_name = receipt.fields.get("VendorName") - if vendor_name: - print(f"\nVendor Name: {vendor_name.value}, with confidence {vendor_name.confidence}.") - - customer_name = receipt.fields.get("CustomerName") - if customer_name: - print(f"Customer Name: '{customer_name.value}, with confidence {customer_name.confidence}.") - - - invoice_total = receipt.fields.get("InvoiceTotal") - if invoice_total: - print(f"Invoice Total: '{invoice_total.value.symbol}{invoice_total.value.amount}, with confidence {invoice_total.confidence}.") - -print("\nAnalysis complete.\n") \ No newline at end of file diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/invoicereader.csproj b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/invoicereader.csproj deleted file mode 100644 index e7b7d35..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/invoicereader.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - Exe - net7.0 - enable - enable - - - - - - - diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs deleted file mode 100644 index 36203c7..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/apphost b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/apphost deleted file mode 100644 index b06ae39..0000000 Binary files a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/apphost and /dev/null differ diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfo.cs b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfo.cs deleted file mode 100644 index 4205fc6..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyTitleAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfoInputs.cache b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfoInputs.cache deleted file mode 100644 index 96f47ed..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -0f53dcd0d866e3f678275057ba89ba1b89a5bc6f diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index cf26f37..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net6.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = invoicereader -build_property.ProjectDir = C:\WWL\learn-pr\mslearn-ai-document-intelligence\Labfiles\01-prebuild-models\starter\invoicereader\ diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GlobalUsings.g.cs b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GlobalUsings.g.cs deleted file mode 100644 index 8578f3d..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.GlobalUsings.g.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.assets.cache b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.assets.cache deleted file mode 100644 index 0e2117c..0000000 Binary files a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.assets.cache and /dev/null differ diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.csproj.AssemblyReference.cache b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.csproj.AssemblyReference.cache deleted file mode 100644 index 75029f1..0000000 Binary files a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.csproj.AssemblyReference.cache and /dev/null differ diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.csproj.FileListAbsolute.txt b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net6.0/invoicereader.csproj.FileListAbsolute.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs deleted file mode 100644 index 4257f4b..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfo.cs b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfo.cs deleted file mode 100644 index 4205fc6..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyTitleAttribute("invoicereader")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfoInputs.cache b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfoInputs.cache deleted file mode 100644 index 96f47ed..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -0f53dcd0d866e3f678275057ba89ba1b89a5bc6f diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 434a38c..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net7.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = invoicereader -build_property.ProjectDir = C:\WWL\learn-pr\mslearn-ai-document-intelligence\Labfiles\01-prebuild-models\starter\invoicereader\C-Sharp\ diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GlobalUsings.g.cs b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GlobalUsings.g.cs deleted file mode 100644 index 8578f3d..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.GlobalUsings.g.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.assets.cache b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.assets.cache deleted file mode 100644 index ee1755e..0000000 Binary files a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.assets.cache and /dev/null differ diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.csproj.AssemblyReference.cache b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.csproj.AssemblyReference.cache deleted file mode 100644 index c87b823..0000000 Binary files a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/Debug/net7.0/invoicereader.csproj.AssemblyReference.cache and /dev/null differ diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.dgspec.json b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.dgspec.json deleted file mode 100644 index 08b0769..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.dgspec.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "format": 1, - "restore": { - "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\starter\\invoicereader\\C-Sharp\\invoicereader.csproj": {} - }, - "projects": { - "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\starter\\invoicereader\\C-Sharp\\invoicereader.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\starter\\invoicereader\\C-Sharp\\invoicereader.csproj", - "projectName": "invoicereader", - "projectPath": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\starter\\invoicereader\\C-Sharp\\invoicereader.csproj", - "packagesPath": "C:\\Users\\calopez\\.nuget\\packages\\", - "outputPath": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\starter\\invoicereader\\C-Sharp\\obj\\", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configFilePaths": [ - "C:\\Users\\calopez\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net7.0" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "C:\\Program Files\\dotnet\\library-packs": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "dependencies": { - "Azure.AI.FormRecognizer": { - "target": "Package", - "version": "[4.1.0, )" - } - }, - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.403\\RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.props b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.props deleted file mode 100644 index b7643e8..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.props +++ /dev/null @@ -1,16 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - $(UserProfile)\.nuget\packages\ - C:\Users\calopez\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages - PackageReference - 6.7.0 - - - - - - \ No newline at end of file diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.targets b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.targets deleted file mode 100644 index 3dc06ef..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/invoicereader.csproj.nuget.g.targets +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/project.assets.json b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/project.assets.json deleted file mode 100644 index 47268e3..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/project.assets.json +++ /dev/null @@ -1,493 +0,0 @@ -{ - "version": 3, - "targets": { - "net7.0": { - "Azure.AI.FormRecognizer/4.1.0": { - "type": "package", - "dependencies": { - "Azure.Core": "1.34.0", - "System.Text.Json": "4.7.2" - }, - "compile": { - "lib/netstandard2.0/Azure.AI.FormRecognizer.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Azure.AI.FormRecognizer.dll": { - "related": ".xml" - } - } - }, - "Azure.Core/1.34.0": { - "type": "package", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.1", - "System.Diagnostics.DiagnosticSource": "6.0.1", - "System.Memory.Data": "1.0.2", - "System.Numerics.Vectors": "4.5.0", - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.7.2", - "System.Threading.Tasks.Extensions": "4.5.4" - }, - "compile": { - "lib/net6.0/Azure.Core.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/net6.0/Azure.Core.dll": { - "related": ".xml" - } - } - }, - "Microsoft.Bcl.AsyncInterfaces/1.1.1": { - "type": "package", - "compile": { - "ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {} - }, - "runtime": { - "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { - "related": ".xml" - } - } - }, - "System.Diagnostics.DiagnosticSource/6.0.1": { - "type": "package", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - }, - "compile": { - "lib/net6.0/System.Diagnostics.DiagnosticSource.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/net6.0/System.Diagnostics.DiagnosticSource.dll": { - "related": ".xml" - } - }, - "build": { - "buildTransitive/netcoreapp3.1/_._": {} - } - }, - "System.Memory.Data/1.0.2": { - "type": "package", - "dependencies": { - "System.Text.Encodings.Web": "4.7.2", - "System.Text.Json": "4.6.0" - }, - "compile": { - "lib/netstandard2.0/System.Memory.Data.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/System.Memory.Data.dll": { - "related": ".xml" - } - } - }, - "System.Numerics.Vectors/4.5.0": { - "type": "package", - "compile": { - "ref/netcoreapp2.0/_._": {} - }, - "runtime": { - "lib/netcoreapp2.0/_._": {} - } - }, - "System.Runtime.CompilerServices.Unsafe/6.0.0": { - "type": "package", - "compile": { - "lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": { - "related": ".xml" - } - }, - "build": { - "buildTransitive/netcoreapp3.1/_._": {} - } - }, - "System.Text.Encodings.Web/4.7.2": { - "type": "package", - "compile": { - "lib/netstandard2.1/System.Text.Encodings.Web.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.1/System.Text.Encodings.Web.dll": { - "related": ".xml" - } - } - }, - "System.Text.Json/4.7.2": { - "type": "package", - "compile": { - "lib/netcoreapp3.0/System.Text.Json.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netcoreapp3.0/System.Text.Json.dll": { - "related": ".xml" - } - } - }, - "System.Threading.Tasks.Extensions/4.5.4": { - "type": "package", - "compile": { - "ref/netcoreapp2.1/_._": {} - }, - "runtime": { - "lib/netcoreapp2.1/_._": {} - } - } - } - }, - "libraries": { - "Azure.AI.FormRecognizer/4.1.0": { - "sha512": "R9mEeYFa2+EcCu5dOGOFG07nbELHY/2o6JtgJoxNTo2wtsonLnLwcKzX/sxOnYhpib4TJEBTUX0/ea0lL130Iw==", - "type": "package", - "path": "azure.ai.formrecognizer/4.1.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "CHANGELOG.md", - "README.md", - "azure.ai.formrecognizer.4.1.0.nupkg.sha512", - "azure.ai.formrecognizer.nuspec", - "azureicon.png", - "lib/netstandard2.0/Azure.AI.FormRecognizer.dll", - "lib/netstandard2.0/Azure.AI.FormRecognizer.xml" - ] - }, - "Azure.Core/1.34.0": { - "sha512": "6dNpM8OlGO+5gvt97tHXBp9qWRFkimRFulupDSGRgyT3sje1kQNza1/EMYaDcolmNARPmVJo8+wgD6ReV9wG5Q==", - "type": "package", - "path": "azure.core/1.34.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "CHANGELOG.md", - "README.md", - "azure.core.1.34.0.nupkg.sha512", - "azure.core.nuspec", - "azureicon.png", - "lib/net461/Azure.Core.dll", - "lib/net461/Azure.Core.xml", - "lib/net5.0/Azure.Core.dll", - "lib/net5.0/Azure.Core.xml", - "lib/net6.0/Azure.Core.dll", - "lib/net6.0/Azure.Core.xml", - "lib/netcoreapp2.1/Azure.Core.dll", - "lib/netcoreapp2.1/Azure.Core.xml", - "lib/netstandard2.0/Azure.Core.dll", - "lib/netstandard2.0/Azure.Core.xml" - ] - }, - "Microsoft.Bcl.AsyncInterfaces/1.1.1": { - "sha512": "yuvf07qFWFqtK3P/MRkEKLhn5r2UbSpVueRziSqj0yJQIKFwG1pq9mOayK3zE5qZCTs0CbrwL9M6R8VwqyGy2w==", - "type": "package", - "path": "microsoft.bcl.asyncinterfaces/1.1.1", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/net461/Microsoft.Bcl.AsyncInterfaces.dll", - "lib/net461/Microsoft.Bcl.AsyncInterfaces.xml", - "lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll", - "lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml", - "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll", - "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml", - "microsoft.bcl.asyncinterfaces.1.1.1.nupkg.sha512", - "microsoft.bcl.asyncinterfaces.nuspec", - "ref/net461/Microsoft.Bcl.AsyncInterfaces.dll", - "ref/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll", - "ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Diagnostics.DiagnosticSource/6.0.1": { - "sha512": "KiLYDu2k2J82Q9BJpWiuQqCkFjRBWVq4jDzKKWawVi9KWzyD0XG3cmfX0vqTQlL14Wi9EufJrbL0+KCLTbqWiQ==", - "type": "package", - "path": "system.diagnostics.diagnosticsource/6.0.1", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "buildTransitive/netcoreapp2.0/System.Diagnostics.DiagnosticSource.targets", - "buildTransitive/netcoreapp3.1/_._", - "lib/net461/System.Diagnostics.DiagnosticSource.dll", - "lib/net461/System.Diagnostics.DiagnosticSource.xml", - "lib/net5.0/System.Diagnostics.DiagnosticSource.dll", - "lib/net5.0/System.Diagnostics.DiagnosticSource.xml", - "lib/net6.0/System.Diagnostics.DiagnosticSource.dll", - "lib/net6.0/System.Diagnostics.DiagnosticSource.xml", - "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll", - "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.xml", - "system.diagnostics.diagnosticsource.6.0.1.nupkg.sha512", - "system.diagnostics.diagnosticsource.nuspec", - "useSharedDesignerContext.txt" - ] - }, - "System.Memory.Data/1.0.2": { - "sha512": "JGkzeqgBsiZwKJZ1IxPNsDFZDhUvuEdX8L8BDC8N3KOj+6zMcNU28CNN59TpZE/VJYy9cP+5M+sbxtWJx3/xtw==", - "type": "package", - "path": "system.memory.data/1.0.2", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "CHANGELOG.md", - "DotNetPackageIcon.png", - "README.md", - "lib/net461/System.Memory.Data.dll", - "lib/net461/System.Memory.Data.xml", - "lib/netstandard2.0/System.Memory.Data.dll", - "lib/netstandard2.0/System.Memory.Data.xml", - "system.memory.data.1.0.2.nupkg.sha512", - "system.memory.data.nuspec" - ] - }, - "System.Numerics.Vectors/4.5.0": { - "sha512": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==", - "type": "package", - "path": "system.numerics.vectors/4.5.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/MonoAndroid10/_._", - "lib/MonoTouch10/_._", - "lib/net46/System.Numerics.Vectors.dll", - "lib/net46/System.Numerics.Vectors.xml", - "lib/netcoreapp2.0/_._", - "lib/netstandard1.0/System.Numerics.Vectors.dll", - "lib/netstandard1.0/System.Numerics.Vectors.xml", - "lib/netstandard2.0/System.Numerics.Vectors.dll", - "lib/netstandard2.0/System.Numerics.Vectors.xml", - "lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.dll", - "lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.xml", - "lib/uap10.0.16299/_._", - "lib/xamarinios10/_._", - "lib/xamarinmac20/_._", - "lib/xamarintvos10/_._", - "lib/xamarinwatchos10/_._", - "ref/MonoAndroid10/_._", - "ref/MonoTouch10/_._", - "ref/net45/System.Numerics.Vectors.dll", - "ref/net45/System.Numerics.Vectors.xml", - "ref/net46/System.Numerics.Vectors.dll", - "ref/net46/System.Numerics.Vectors.xml", - "ref/netcoreapp2.0/_._", - "ref/netstandard1.0/System.Numerics.Vectors.dll", - "ref/netstandard1.0/System.Numerics.Vectors.xml", - "ref/netstandard2.0/System.Numerics.Vectors.dll", - "ref/netstandard2.0/System.Numerics.Vectors.xml", - "ref/uap10.0.16299/_._", - "ref/xamarinios10/_._", - "ref/xamarinmac20/_._", - "ref/xamarintvos10/_._", - "ref/xamarinwatchos10/_._", - "system.numerics.vectors.4.5.0.nupkg.sha512", - "system.numerics.vectors.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Runtime.CompilerServices.Unsafe/6.0.0": { - "sha512": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", - "type": "package", - "path": "system.runtime.compilerservices.unsafe/6.0.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "buildTransitive/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.targets", - "buildTransitive/netcoreapp3.1/_._", - "lib/net461/System.Runtime.CompilerServices.Unsafe.dll", - "lib/net461/System.Runtime.CompilerServices.Unsafe.xml", - "lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll", - "lib/net6.0/System.Runtime.CompilerServices.Unsafe.xml", - "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll", - "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.xml", - "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", - "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", - "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512", - "system.runtime.compilerservices.unsafe.nuspec", - "useSharedDesignerContext.txt" - ] - }, - "System.Text.Encodings.Web/4.7.2": { - "sha512": "iTUgB/WtrZ1sWZs84F2hwyQhiRH6QNjQv2DkwrH+WP6RoFga2Q1m3f9/Q7FG8cck8AdHitQkmkXSY8qylcDmuA==", - "type": "package", - "path": "system.text.encodings.web/4.7.2", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/net461/System.Text.Encodings.Web.dll", - "lib/net461/System.Text.Encodings.Web.xml", - "lib/netstandard1.0/System.Text.Encodings.Web.dll", - "lib/netstandard1.0/System.Text.Encodings.Web.xml", - "lib/netstandard2.0/System.Text.Encodings.Web.dll", - "lib/netstandard2.0/System.Text.Encodings.Web.xml", - "lib/netstandard2.1/System.Text.Encodings.Web.dll", - "lib/netstandard2.1/System.Text.Encodings.Web.xml", - "system.text.encodings.web.4.7.2.nupkg.sha512", - "system.text.encodings.web.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Text.Json/4.7.2": { - "sha512": "TcMd95wcrubm9nHvJEQs70rC0H/8omiSGGpU4FQ/ZA1URIqD4pjmFJh2Mfv1yH1eHgJDWTi2hMDXwTET+zOOyg==", - "type": "package", - "path": "system.text.json/4.7.2", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/net461/System.Text.Json.dll", - "lib/net461/System.Text.Json.xml", - "lib/netcoreapp3.0/System.Text.Json.dll", - "lib/netcoreapp3.0/System.Text.Json.xml", - "lib/netstandard2.0/System.Text.Json.dll", - "lib/netstandard2.0/System.Text.Json.xml", - "system.text.json.4.7.2.nupkg.sha512", - "system.text.json.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "System.Threading.Tasks.Extensions/4.5.4": { - "sha512": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "type": "package", - "path": "system.threading.tasks.extensions/4.5.4", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/MonoAndroid10/_._", - "lib/MonoTouch10/_._", - "lib/net461/System.Threading.Tasks.Extensions.dll", - "lib/net461/System.Threading.Tasks.Extensions.xml", - "lib/netcoreapp2.1/_._", - "lib/netstandard1.0/System.Threading.Tasks.Extensions.dll", - "lib/netstandard1.0/System.Threading.Tasks.Extensions.xml", - "lib/netstandard2.0/System.Threading.Tasks.Extensions.dll", - "lib/netstandard2.0/System.Threading.Tasks.Extensions.xml", - "lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll", - "lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml", - "lib/xamarinios10/_._", - "lib/xamarinmac20/_._", - "lib/xamarintvos10/_._", - "lib/xamarinwatchos10/_._", - "ref/MonoAndroid10/_._", - "ref/MonoTouch10/_._", - "ref/netcoreapp2.1/_._", - "ref/xamarinios10/_._", - "ref/xamarinmac20/_._", - "ref/xamarintvos10/_._", - "ref/xamarinwatchos10/_._", - "system.threading.tasks.extensions.4.5.4.nupkg.sha512", - "system.threading.tasks.extensions.nuspec", - "useSharedDesignerContext.txt", - "version.txt" - ] - } - }, - "projectFileDependencyGroups": { - "net7.0": [ - "Azure.AI.FormRecognizer >= 4.1.0" - ] - }, - "packageFolders": { - "C:\\Users\\calopez\\.nuget\\packages\\": {}, - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} - }, - "project": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\starter\\invoicereader\\C-Sharp\\invoicereader.csproj", - "projectName": "invoicereader", - "projectPath": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\starter\\invoicereader\\C-Sharp\\invoicereader.csproj", - "packagesPath": "C:\\Users\\calopez\\.nuget\\packages\\", - "outputPath": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\starter\\invoicereader\\C-Sharp\\obj\\", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configFilePaths": [ - "C:\\Users\\calopez\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net7.0" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "C:\\Program Files\\dotnet\\library-packs": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "dependencies": { - "Azure.AI.FormRecognizer": { - "target": "Package", - "version": "[4.1.0, )" - } - }, - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.403\\RuntimeIdentifierGraph.json" - } - } - } -} \ No newline at end of file diff --git a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/project.nuget.cache b/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/project.nuget.cache deleted file mode 100644 index 6400b46..0000000 --- a/Labfiles/01-prebuild-models/starter/invoicereader/C-Sharp/obj/project.nuget.cache +++ /dev/null @@ -1,19 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "ZdOopZYiSEUOXJw4XTxXj8GfgwUHzacK8AqzQ0rPS2pfhDm734kLCsGPP2tmSpC31HB0HT/9q4fQgJ99GDHe5A==", - "success": true, - "projectFilePath": "C:\\WWL\\learn-pr\\mslearn-ai-document-intelligence\\Labfiles\\01-prebuild-models\\starter\\invoicereader\\C-Sharp\\invoicereader.csproj", - "expectedPackageFiles": [ - "C:\\Users\\calopez\\.nuget\\packages\\azure.ai.formrecognizer\\4.1.0\\azure.ai.formrecognizer.4.1.0.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\azure.core\\1.34.0\\azure.core.1.34.0.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\1.1.1\\microsoft.bcl.asyncinterfaces.1.1.1.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.diagnostics.diagnosticsource\\6.0.1\\system.diagnostics.diagnosticsource.6.0.1.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.memory.data\\1.0.2\\system.memory.data.1.0.2.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.numerics.vectors\\4.5.0\\system.numerics.vectors.4.5.0.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.text.encodings.web\\4.7.2\\system.text.encodings.web.4.7.2.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.text.json\\4.7.2\\system.text.json.4.7.2.nupkg.sha512", - "C:\\Users\\calopez\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512" - ], - "logs": [] -} \ No newline at end of file diff --git a/Labfiles/02-custom-document-intelligence/C-Sharp/test-model/Program.cs b/Labfiles/02-custom-document-intelligence/C-Sharp/Program.cs similarity index 89% rename from Labfiles/02-custom-document-intelligence/C-Sharp/test-model/Program.cs rename to Labfiles/02-custom-document-intelligence/C-Sharp/Program.cs index f056012..b493762 100644 --- a/Labfiles/02-custom-document-intelligence/C-Sharp/test-model/Program.cs +++ b/Labfiles/02-custom-document-intelligence/C-Sharp/Program.cs @@ -12,7 +12,7 @@ DocumentAnalysisClient client = new DocumentAnalysisClient(new Uri(endpoint), credential); string modelId = configuration["ModelId"]; -Uri fileUri = new Uri("https://raw.githubusercontent.com/MicrosoftLearning/mslearn-ai-document-intelligence/main/Labfiles/02-custom-document-intelligence/test1.jpg"); +Uri fileUri = new Uri("https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence/blob/main/Labfiles/02-custom-document-intelligence/test1.jpg?raw=true"); Console.WriteLine($"Analyzing document from Uri: {fileUri.AbsoluteUri}"); AnalyzeDocumentOperation operation = await client.AnalyzeDocumentFromUriAsync(WaitUntil.Completed, modelId, fileUri); diff --git a/Labfiles/02-custom-document-intelligence/C-Sharp/test-model/appsettings.json b/Labfiles/02-custom-document-intelligence/C-Sharp/appsettings.json similarity index 100% rename from Labfiles/02-custom-document-intelligence/C-Sharp/test-model/appsettings.json rename to Labfiles/02-custom-document-intelligence/C-Sharp/appsettings.json diff --git a/Labfiles/02-custom-document-intelligence/C-Sharp/readme.txt b/Labfiles/02-custom-document-intelligence/C-Sharp/readme.txt deleted file mode 100644 index 5a9dd24..0000000 --- a/Labfiles/02-custom-document-intelligence/C-Sharp/readme.txt +++ /dev/null @@ -1 +0,0 @@ -This folder contains C# code \ No newline at end of file diff --git a/Labfiles/02-custom-document-intelligence/C-Sharp/test-model/test-model.csproj b/Labfiles/02-custom-document-intelligence/C-Sharp/test-model.csproj similarity index 100% rename from Labfiles/02-custom-document-intelligence/C-Sharp/test-model/test-model.csproj rename to Labfiles/02-custom-document-intelligence/C-Sharp/test-model.csproj diff --git a/Labfiles/02-custom-document-intelligence/Python/test-model.py b/Labfiles/02-custom-document-intelligence/Python/test-model.py index 4559f0e..1ef26e2 100644 --- a/Labfiles/02-custom-document-intelligence/Python/test-model.py +++ b/Labfiles/02-custom-document-intelligence/Python/test-model.py @@ -9,7 +9,7 @@ key = os.getenv("DOC_INTELLIGENCE_KEY") model_id = os.getenv("MODEL_ID") -formUrl = "https://raw.githubusercontent.com/MicrosoftLearning/mslearn-ai-document-intelligence/main/Labfiles/02-custom-document-intelligence/test1.jpg" +formUrl = "https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence/blob/main/Labfiles/02-custom-document-intelligence/test1.jpg?raw=true" document_analysis_client = DocumentAnalysisClient( endpoint=endpoint, credential=AzureKeyCredential(key) diff --git a/Labfiles/02-custom-document-intelligence/setup.cmd b/Labfiles/02-custom-document-intelligence/setup.cmd index 214f129..4edb1c4 100644 --- a/Labfiles/02-custom-document-intelligence/setup.cmd +++ b/Labfiles/02-custom-document-intelligence/setup.cmd @@ -12,7 +12,7 @@ set unique_id=!random!!random! rem Create a storage account in your Azure resource group echo Creating storage... -call az storage account create --name ai102form!unique_id! --subscription !subscription_id! --resource-group !resource_group! --location !location! --sku Standard_LRS --encryption-services blob --default-action Allow --output none +call az storage account create --name ai102form!unique_id! --subscription !subscription_id! --resource-group !resource_group! --location !location! --sku Standard_LRS --encryption-services blob --default-action Allow --allow-blob-public-access true --only-show-errors --output none echo Uploading files... rem Get storage key to create a container in the storage account diff --git a/Labfiles/02-custom-document-intelligence/setup.sh b/Labfiles/02-custom-document-intelligence/setup.sh index 543abdf..06dde49 100644 --- a/Labfiles/02-custom-document-intelligence/setup.sh +++ b/Labfiles/02-custom-document-intelligence/setup.sh @@ -11,7 +11,7 @@ unique_id=$((1 + RANDOM % 99999)) # Create a storage account in your Azure resource group echo "Creating storage..." -az storage account create --name "ai102form$unique_id" --subscription "$subscription_id" --resource-group "$resource_group" --location "$location" --sku Standard_LRS --encryption-services blob --default-action Allow --output none +az storage account create --name "ai102form$unique_id" --subscription "$subscription_id" --resource-group "$resource_group" --location "$location" --sku Standard_LRS --encryption-services blob --default-action Allow --allow-blob-public-access true --only-show-errors --output none echo "Uploading files..." # Get storage key to create a container in the storage account diff --git a/mslearn-ai-document-intelligence.sln b/mslearn-ai-document-intelligence.sln index d88ba76..275e477 100644 --- a/mslearn-ai-document-intelligence.sln +++ b/mslearn-ai-document-intelligence.sln @@ -7,21 +7,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Labfiles", "Labfiles", "{17 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "01-prebuild-models", "01-prebuild-models", "{A4CCAC4C-5278-4819-B056-D860F4DA83E6}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "solution", "solution", "{264C51E7-7557-41EE-B7F6-33765A1795A2}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "invoicereader", "Labfiles\01-prebuild-models\solution\invoicereader\C-Sharp\invoicereader.csproj", "{A3D32EAE-4B77-467F-B680-8935B8DEF0F9}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "starter", "starter", "{3542882E-FBA8-4974-B77F-DB4E8FFC1643}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "invoicereader", "Labfiles\01-prebuild-models\starter\invoicereader\C-Sharp\invoicereader.csproj", "{648577C6-EA7E-4855-BAA2-5FFCA84AC679}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CSharp", "Labfiles\01-prebuild-models\CSharp\invoicereader.csproj", "{A3D32EAE-4B77-467F-B680-8935B8DEF0F9}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "02-custom-document-intelligence", "02-custom-document-intelligence", "{F935E336-2EB5-4462-8724-C7FF701899B3}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "C-Sharp", "C-Sharp", "{4B034ED2-50E5-4704-8C8D-9DB19404694F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "test-model", "Labfiles\02-custom-document-intelligence\C-Sharp\test-model\test-model.csproj", "{9C8262E2-C3B5-43A1-81B6-A2F2B6945B7B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "train-model", "Labfiles\02-custom-document-intelligence\C-Sharp\train-model\train-model.csproj", "{4F8A0AA8-E723-4E94-8003-971EE7EBA0AA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "C-Sharp", "Labfiles\02-custom-document-intelligence\C-Sharp\test-model.csproj", "{9C8262E2-C3B5-43A1-81B6-A2F2B6945B7B}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -33,32 +23,17 @@ Global {A3D32EAE-4B77-467F-B680-8935B8DEF0F9}.Debug|Any CPU.Build.0 = Debug|Any CPU {A3D32EAE-4B77-467F-B680-8935B8DEF0F9}.Release|Any CPU.ActiveCfg = Release|Any CPU {A3D32EAE-4B77-467F-B680-8935B8DEF0F9}.Release|Any CPU.Build.0 = Release|Any CPU - {648577C6-EA7E-4855-BAA2-5FFCA84AC679}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {648577C6-EA7E-4855-BAA2-5FFCA84AC679}.Debug|Any CPU.Build.0 = Debug|Any CPU - {648577C6-EA7E-4855-BAA2-5FFCA84AC679}.Release|Any CPU.ActiveCfg = Release|Any CPU - {648577C6-EA7E-4855-BAA2-5FFCA84AC679}.Release|Any CPU.Build.0 = Release|Any CPU {9C8262E2-C3B5-43A1-81B6-A2F2B6945B7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9C8262E2-C3B5-43A1-81B6-A2F2B6945B7B}.Debug|Any CPU.Build.0 = Debug|Any CPU {9C8262E2-C3B5-43A1-81B6-A2F2B6945B7B}.Release|Any CPU.ActiveCfg = Release|Any CPU {9C8262E2-C3B5-43A1-81B6-A2F2B6945B7B}.Release|Any CPU.Build.0 = Release|Any CPU - {4F8A0AA8-E723-4E94-8003-971EE7EBA0AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4F8A0AA8-E723-4E94-8003-971EE7EBA0AA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4F8A0AA8-E723-4E94-8003-971EE7EBA0AA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4F8A0AA8-E723-4E94-8003-971EE7EBA0AA}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {A4CCAC4C-5278-4819-B056-D860F4DA83E6} = {17838C11-6DB1-406A-B536-152DAEF61507} - {264C51E7-7557-41EE-B7F6-33765A1795A2} = {A4CCAC4C-5278-4819-B056-D860F4DA83E6} - {A3D32EAE-4B77-467F-B680-8935B8DEF0F9} = {264C51E7-7557-41EE-B7F6-33765A1795A2} - {3542882E-FBA8-4974-B77F-DB4E8FFC1643} = {A4CCAC4C-5278-4819-B056-D860F4DA83E6} - {648577C6-EA7E-4855-BAA2-5FFCA84AC679} = {3542882E-FBA8-4974-B77F-DB4E8FFC1643} {F935E336-2EB5-4462-8724-C7FF701899B3} = {17838C11-6DB1-406A-B536-152DAEF61507} - {4B034ED2-50E5-4704-8C8D-9DB19404694F} = {F935E336-2EB5-4462-8724-C7FF701899B3} - {9C8262E2-C3B5-43A1-81B6-A2F2B6945B7B} = {4B034ED2-50E5-4704-8C8D-9DB19404694F} - {4F8A0AA8-E723-4E94-8003-971EE7EBA0AA} = {4B034ED2-50E5-4704-8C8D-9DB19404694F} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {D6A59BB8-1DF0-4D70-8319-0695104D6C51}