The Skill Definition Templates in (prod) Azure Portal has an example template of a custom Web API skill. They mention parameters like degreeOfParallelism, but this one is not documented.
What does degreeOfParallelism mean and what values can it have? It would be good to know the boundaries and the default value.
{
"@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
"uri": "",
"httpHeaders": "",
"httpMethod": "",
"timeout": "",
"batchSize": 0,
"degreeOfParallelism": 0,
"name": "",
"description": "",
"context": "",
"inputs": [
{
"name": "text",
"source": ""
}
],
"outputs": [
{
"name": "output",
"targetName": "output"
}
]
}
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@iMicknl , Thanks for brining this to our attention. We will investigate it further and update you shortly.
@iMicknl - I'm going to assign this to the document author so they can update the document accordingly.
@iMicknl Thanks for the heads up. An engineer just documented this parameter. The change is making its way through the system and will be published in a few days. Pasting it here to unblock you:
degreeOfParallelism | (Optional) When specified, indicates the number of calls the indexer will make in parallel to the endpoint you have provided. You can decrease this value if your endpoint is failing under too high of a request load, or raise it if your endpoint is able to accept more requests and you would like an increase in the performance of the indexer. If not set, a default value of 5 is used. The degreeOfParallelism can be set to a maximum of 10 and a minimum of 1.
Thanks for the quick fix, @HeidiSteen & team!
@HeidiSteen Thank you!
@iMicknl Thanks again for bringing this to our attention! We will now proceed to close this thread as resolved, but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.