Steps to use this custom skill:
-
Adapt regex
-
Deploy skill to Azure Function (Python) using
vscode
s oraz cli
-
Add skill entry to skillset and adapt fields
... { "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill", "name": "productids", "description": "RegEx extraction Skill", "uri": "https://<name>.azurewebsites.net/api/RegexExtractor?code=<key>", "context": "/document/merged_content", "inputs": [ { "name": "text", "source": "/document/merged_content" } ], "outputs": [ { "name": "matches", "targetName": "product_ids" } ] }, ...
-
Add entry for
outputFieldMappings
to indexer... { "sourceFieldName": "/document/merged_content/product_ids", "targetFieldName": "product_ids" }, ...
-
Re-index data