“Create a Custom Skill for Azure AI Search” lab fails

I tried to follow the “Create a Custom Skill for Azure AI Search” but it failed with this error “The request is invalid. Details: The property ‘includeTypelessEntities’ does not exist on type ‘Microsoft.Skills.Text.V3.EntityRecognitionSkill’. Make sure to only use property names that are defined by the type.”

If you try to follow the “Create a Custom Skill for Azure AI Search” lab that is part of the “Implement knowledge mining with Azure AI Search” course it fails (at least until Microsoft updates the lab files as per my PR).

There are 2 issues in the update-skillset.json file that is part of this lab

Issue and Error #1

The request is invalid. Details: The property ‘includeTypelessEntities’ does not exist on type ‘Microsoft.Skills.Text.V3.EntityRecognitionSkill’. Make sure to only use property names that are defined by the type.

The request is invalid. Details: The property 'includeTypelessEntities' does not exist on type 'Microsoft.Skills.Text.V3.EntityRecognitionSkill'. Make sure to only use property names that are defined by the type.

To fix it remove the line that contains includeTypelessEntities in the JSON file mentioned above.

This is due to a depreciation of this parameter by Microsoft

Issue and Error #2

If you try to run the update-skillset script again, after fixing the first error, you will be greeted by error #2:

“One or more skills are invalid. Details: Error in skill ‘#1’: Outputs are not supported by skill: entities”

To fix it, a few lines below the line that you’ve just removed under the outputs section, replace

"name": "entities"

with

"name": "namedEntities"

Since that is the available output name of this API.

That’s it folks, enjoy

More posts related to my AI journey:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.