Skip to content

Instantly share code, notes, and snippets.

@csiebler
Created November 3, 2021 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save csiebler/f63cd55e3c6cf5c64064f5e64b3e1e4d to your computer and use it in GitHub Desktop.
Save csiebler/f63cd55e3c6cf5c64064f5e64b3e1e4d to your computer and use it in GitHub Desktop.
Run Skill on individual fields in nested array structure in Cognitive Search
{
"@odata.type": "#Microsoft.Skills.Text.V3.SentimentSkill",
"name": "#4",
"description": null,
"context": "/document/transcript/*",
"defaultLanguageCode": "en",
"modelVersion": null,
"includeOpinionMining": false,
"inputs": [
{
"name": "text",
"source": "/document/transcript/*/text",
"sourceContext": null,
"inputs": []
},
{
"name": "languageCode",
"source": "/document/language",
"sourceContext": null,
"inputs": []
}
],
"outputs": [
{
"name": "sentiment",
"targetName": "sentiment"
},
{
"name": "confidenceScores",
"targetName": "confidenceScores"
},
{
"name": "sentences",
"targetName": "sentences"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment