You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/content-understanding/tutorial/create-custom-analyzer.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.date: 05/19/2025
12
12
13
13
# Create a custom analyzer
14
14
15
-
Content Understanding analyzers define how your content will be processed and what insights will be extracted or generated. They ensure uniform processing and output structure across all your content to deliver reliable and predictable results. We offer [prebuilt analyzers](LINK TO PREBUILT ANALYZER PAGE]for all modalities and common use cases. This guide shows how these analyzers can be customized to better fit your needs.
15
+
Content Understanding analyzers define how to process and extract insights from your content. They ensure uniform processing and output structure across all your content to deliver reliable and predictable results. We offer [prebuilt analyzers](../concepts/prebuilt-analyzers.md)for common use cases. This guide shows how these analyzers can be customized to better fit your needs.
16
16
17
17
In this guide, we use the cURL command line tool. If it isn't installed, you can download the appropriate version for your dev environment:
18
18
@@ -23,7 +23,7 @@ In this guide, we use the cURL command line tool. If it isn't installed, you can
23
23
24
24
# [Document](#tab/document)
25
25
26
-
To create a custom analyzer, define a field schema that describes the structured data you want to extract. In the following example, we create an analyzer based on prebuilt document analyzer](LINK TO PREBUILT ANALYZER) for processing a receipt.
26
+
To create a custom analyzer, define a field schema that describes the structured data you want to extract. In the following example, we create an analyzer based on [prebuilt document analyzer](../concepts/prebuilt-analyzers.md) for processing a receipt.
27
27
28
28
Create a JSON file named `request_body.json` with the following content:
29
29
```json
@@ -70,7 +70,7 @@ Create a JSON file named `request_body.json` with the following content:
70
70
71
71
# [Image](#tab/image)
72
72
73
-
To create a custom analyzer, define a field schema that describes the structured data you want to extract. In the following example, we create an analyzer based on [prebuilt image analyzer](LINK TO PREBUILT ANALYZER) for processing images of charts and graphs.
73
+
To create a custom analyzer, define a field schema that describes the structured data you want to extract. In the following example, we create an analyzer based on [prebuilt image analyzer](../concepts/prebuilt-analyzers.md) for processing images of charts and graphs.
74
74
75
75
Create a JSON file named `request_body.json` with the following content:
76
76
```json
@@ -97,7 +97,7 @@ Create a JSON file named `request_body.json` with the following content:
97
97
98
98
# [Audio](#tab/audio)
99
99
100
-
To create a custom analyzer, define a field schema that describes the structured data you want to extract. In the following example, we create an analyzer based on [prebuilt call center] (LINK) for processing customer support call recordings.
100
+
To create a custom analyzer, define a field schema that describes the structured data you want to extract. In the following example, we create an analyzer based on [prebuilt call center analyzer](../concepts/prebuilt-analyzers.md) for processing customer support call recordings.
101
101
102
102
Create a JSON file named `request_body.json` with the following content:
103
103
```json
@@ -138,7 +138,7 @@ Create a JSON file named `request_body.json` with the following content:
138
138
139
139
# [Video](#tab/video)
140
140
141
-
To create a custom analyzer, define a field schema that describes the structured data you want to extract. In the following example, we create an analyzer based on [prebuilt video analyzer] (LINK) for processing product demos and reviews.
141
+
To create a custom analyzer, define a field schema that describes the structured data you want to extract. In the following example, we create an analyzer based on [prebuilt video analyzer](../concepts/prebuilt-analyzers.md) for processing product demos and reviews.
142
142
143
143
Create a JSON file named `request_body.json` with the following content:
144
144
```json
@@ -274,8 +274,6 @@ The `202 Accepted` response includes the `{resultId}` which you can use to track
274
274
275
275
### Get Analyze Result
276
276
277
-
Use the `resultId` from the `POST` response to retrieve the result of the analysis.
278
-
279
277
1. Replace `{endpoint}` and `{key}` with the endpoint and key values from your Azure portal Azure AI Services instance.
280
278
2. Replace `{resultId}` with the `resultId` in `POST` response.
281
279
@@ -288,7 +286,7 @@ curl -i -X GET "{endpoint}/contentunderstanding/analyzerResults/{resultId}?api-v
288
286
#### GET Response
289
287
290
288
A `200 OK` response includes a `status` field that shows the operation's progress.
291
-
-If the operation is complete, `status`will be `Succeeded`.
289
+
-`status`is `Succeeded` if the operation is completed successfully.
292
290
- If it's `running` or `notStarted`, call the API again manually or with a script: wait at least one second between requests.
293
291
294
292
##### Sample Response
@@ -594,5 +592,5 @@ A `200 OK` response includes a `status` field that shows the operation's progres
594
592
595
593
## Next steps
596
594
597
-
* Analyzer configurations (LINK TO PAGE EXPLAINING ANALYZER CONFIGURATIONS)
595
+
*TODO: Analyzer configurations (LINK TO PAGE EXPLAINING ANALYZER CONFIGURATIONS)
0 commit comments