forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSuccessfulAnalyzeTextJobsMultipleTaskSubmitRequest.json
More file actions
51 lines (51 loc) · 1.29 KB
/
Copy pathSuccessfulAnalyzeTextJobsMultipleTaskSubmitRequest.json
File metadata and controls
51 lines (51 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"operationId": "AnalyzeTextSubmitJob",
"title": "SuccessfulAnalyzeTextJobsMultipleTaskSubmitRequest",
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2025-11-15-preview",
"Endpoint": "{Endpoint}",
"jobId": "{Job ID}",
"body": {
"displayName": "Extracting Location & US Region",
"analysisInput": {
"documents": [
{
"id": "1",
"language": "en",
"text": "I had a wonderful trip to Seattle last week."
},
{
"id": "2",
"language": "en",
"text": "I'm flying to NYC tomorrow. See you there."
}
]
},
"tasks": [
{
"kind": "EntityRecognition",
"taskName": "Recognize Entities",
"parameters": {
"modelVersion": "latest"
}
},
{
"kind": "CustomEntityRecognition",
"taskName": "Recognize US Regions",
"parameters": {
"projectName": "MyProject",
"deploymentName": "MyDeployment"
}
}
]
}
},
"responses": {
"202": {
"headers": {
"Operation-Location": "{endpoint}/language/analyze-text/jobs/{jobId}?api-version=2025-11-15-preview"
}
}
}
}