Skip to content

Commit 2b2f181

Browse files
committed
update file
1 parent 0d0da4d commit 2b2f181

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

articles/applied-ai-services/form-recognizer/tutorial-azure-function.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ In this tutorial, you learn how to:
3434

3535
* **A Form Recognizer resource**. Once you have your Azure subscription, create a [Form Recognizer resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesFormRecognizer) in the Azure portal to get your key and endpoint. You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
3636

37-
* After your resource deploys, select **Go to resource**. You need the key and endpoint from the resource you create to connect your application to the Form Recognizer API. You'll paste your key and endpoint into the code below later in the quickstart:
37+
* After your resource deploys, select **Go to resource**. You need the key and endpoint from the resource you create to connect your application to the Form Recognizer API. You'll paste your key and endpoint into the code below later in the tutorial:
3838

3939
:::image type="content" source="media/containers/keys-and-endpoint.png" alt-text="Screenshot: keys and endpoint location in the Azure portal.":::
4040

4141
* [**Python 3.6.x, 3.7.x, 3.8.x or 3.9.x**](https://www.python.org/downloads/) (Python 3.10.x isn't supported for this project).
4242

43-
* The latest version of [**Visual Studio Code**](https://code.visualstudio.com/) with the following extensions installed:
43+
* The latest version of [**Visual Studio Code**](https://code.visualstudio.com/) (VS Code) with the following extensions installed:
4444

45-
* [**Azure Functions extension**](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.VS Code-azurefunctions). Once it's installed, you should see the Azure logo in the left-navigation pane.
45+
* [**Azure Functions extension**](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions). Once it's installed, you should see the Azure logo in the left-navigation pane.
4646

4747
* [**Azure Functions Core Tools**](/azure/azure-functions/functions-run-local?tabs=v3%2Cwindows%2Ccsharp%2Cportal%2Cbash) version 3.x (Version 4.x isn't supported for this project).
4848

@@ -67,7 +67,7 @@ In this tutorial, you learn how to:
6767

6868
1. Create a new folder named **functions-app** to contain the project and choose **Select**.
6969

70-
1. Open Visual Studio Code and open the Command Palette (Ctrl+Shift+P). Search for and choose **Python:Select Interpreter** → choose **Use Python from \`python.defaultInterpreterPath` setting**. This selection will set the default Python interpreter path.
70+
1. Open Visual Studio Code and open the Command Palette (Ctrl+Shift+P). Search for and choose **Python:Select Interpreter** → choose an installed Python interpreter that is version 3.6.x, 3.7.x, 3.8.x or 3.9.x. This selection will add the Python interpreter path you selected to your project.
7171

7272
1. Select the Azure logo from the left-navigation pane.
7373

@@ -113,17 +113,15 @@ In this tutorial, you learn how to:
113113

114114
## Test the function
115115

116-
* Press F5 to run the basic function. VS Code will prompt you to select a storage account to interface with.
116+
1. Press F5 to run the basic function. VS Code will prompt you to select a storage account to interface with.
117117

118-
* Select the storage account you created and continue.
118+
1. Select the storage account you created and continue.
119119

120-
* Open Azure Storage Explorer and upload the sample PDF document to the **input** container. Then check the VS Code terminal.
121-
122-
* The script should log that it was triggered by the PDF upload.
120+
1. Open Azure Storage Explorer and upload the sample PDF document to the **input** container. Then check the VS Code terminal.The script should log that it was triggered by the PDF upload.
123121

124122
:::image type="content" source="media/tutorial-azure-function/vs-code-terminal-test.png" alt-text="Screenshot of the VS Code terminal after uploading a new document.":::
125123

126-
* Stop the script before continuing.
124+
1. Stop the script before continuing.
127125

128126
## Add document processing code
129127

@@ -285,9 +283,9 @@ Next, you'll add your own code to the Python script to call the Form Recognizer
285283
286284
## Run the function
287285
288-
* Press F5 to run the function again.
286+
1. Press F5 to run the function again.
289287
290-
* Use Azure Storage Explorer to upload a sample PDF form to the **input** storage container. This action should trigger the script to run, and you should then see the resulting .csv file (displayed as a table) in the **output** container.
288+
1. Use Azure Storage Explorer to upload a sample PDF form to the **input** storage container. This action should trigger the script to run, and you should then see the resulting .csv file (displayed as a table) in the **output** container.
291289
292290
You can connect this container to Power BI to create rich visualizations of the data it contains.
293291

0 commit comments

Comments
 (0)