forked from Azure-Samples/azure-search-power-skills
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate_skillset.json
33 lines (33 loc) · 963 Bytes
/
create_skillset.json
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
{
"description": "Cluster images for labelling",
"skills": [
{
"@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
"description": "A custom skill that can cluster and auto label images",
"uri": "https://[yourwebapp]/api/extraction",
"timeout": "PT160S",
"batchSize": 1,
"context": "/document/normalized_images/*",
"httpHeaders": {
"Ocp-Apim-Subscription-Key": "OneWeek"
},
"httpMethod": "POST",
"inputs": [
{
"name": "images",
"source": "/document/normalized_images/*"
}
],
"outputs": [
{
"name": "label"
}
]
}
],
"cognitiveServices": {
"@odata.type": "#Microsoft.Azure.Search.CognitiveServicesByKey",
"description": "cogsvc",
"key": ""
}
}