Apologies for the delayed response. Just checking if it's working fine?
Based on my understanding of your issue, kindly check the sample:
If you're looking to implement authentication for your custom web API skill within a skillset, you might consider using the authResourceId
property. This property is part of the skillset definition that enables Azure AI Search to authenticate to your custom web API using Managed Identity.
{
"@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
"description": "A custom skill that can identify positions of different phrases in the source text",
"uri": "https://contoso.count-things.com",
"batchSize": 4,
"context": "/document",
"inputs": [
{
"name": "text",
"source": "/document/content"
},
{
"name": "language",
"source": "/document/languageCode"
},
{
"name": "phraseList",
"source": "/document/keyphrases"
}
],
"outputs": [
{
"name": "hitPositions"
}
]
}
Checkout this similar SO discussion thread:
Just to highlight,
- Review your skillset definition and make sure it adheres to the expected structure.
- If you’re using any custom code or extensions, ensure they handle the correct class instantiation
Kind let us know, I'll follow-up with you further.