Skip to content

Commit

Permalink
Copy changes from private repo (#14848)
Browse files Browse the repository at this point in the history
  • Loading branch information
Careyjmac authored Jun 17, 2021
1 parent cef3c4f commit d910266
Showing 1 changed file with 180 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7822,6 +7822,162 @@
},
"description": "Text analytics positive-negative sentiment analysis, scored as a floating point value in a range of zero to 1."
},
"SentimentSkillV3": {
"x-ms-discriminator-value": "#Microsoft.Skills.Text.V3.SentimentSkill",
"allOf": [
{
"$ref": "#/definitions/SearchIndexerSkill"
}
],
"properties": {
"defaultLanguageCode": {
"type": "string",
"x-nullable": true,
"description": "A value indicating which language code to use. Default is en."
},
"includeOpinionMining": {
"type": "boolean",
"default": false,
"description": "If set to true, the skill output will include information from Text Analytics for opinion mining, namely targets (nouns or verbs) and their associated assessment (adjective) in the text. Default is false."
},
"modelVersion": {
"type": "string",
"x-nullable": true,
"description": "The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary."
}
},
"externalDocs": {
"url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-sentiment-v3"
},
"description": "Using the Text Analytics API, evaluates unstructured text and for each record, provides sentiment labels (such as \"negative\", \"neutral\" and \"positive\") based on the highest confidence score found by the service at a sentence and document-level."
},
"EntityLinkingSkill": {
"x-ms-discriminator-value": "#Microsoft.Skills.Text.V3.EntityLinkingSkill",
"allOf": [
{
"$ref": "#/definitions/SearchIndexerSkill"
}
],
"properties": {
"defaultLanguageCode": {
"type": "string",
"x-nullable": true,
"description": "A value indicating which language code to use. Default is en."
},
"minimumPrecision": {
"type": "number",
"format": "double",
"minimum": 0.0,
"maximum": 1.0,
"x-nullable": true,
"description": "A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included."
},
"modelVersion": {
"type": "string",
"x-nullable": true,
"description": "The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary."
}
},
"externalDocs": {
"url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-entity-linking-v3"
},
"description": "Using the Text Analytics API, extracts linked entities from text."
},
"EntityRecognitionSkillV3": {
"x-ms-discriminator-value": "#Microsoft.Skills.Text.V3.EntityRecognitionSkill",
"allOf": [
{
"$ref": "#/definitions/SearchIndexerSkill"
}
],
"properties": {
"categories": {
"type": "array",
"items": {
"type": "string",
"x-nullable": false
},
"description": "A list of entity categories that should be extracted."
},
"defaultLanguageCode": {
"type": "string",
"x-nullable": true,
"description": "A value indicating which language code to use. Default is en."
},
"minimumPrecision": {
"type": "number",
"format": "double",
"minimum": 0.0,
"maximum": 1.0,
"x-nullable": true,
"description": "A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included."
},
"modelVersion": {
"type": "string",
"x-nullable": true,
"description": "The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary."
}
},
"externalDocs": {
"url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-entity-recognition-v3"
},
"description": "Using the Text Analytics API, extracts entities of different types from text."
},
"PIIDetectionSkill": {
"x-ms-discriminator-value": "#Microsoft.Skills.Text.PIIDetectionSkill",
"allOf": [
{
"$ref": "#/definitions/SearchIndexerSkill"
}
],
"properties": {
"defaultLanguageCode": {
"type": "string",
"x-nullable": true,
"description": "A value indicating which language code to use. Default is en."
},
"minimumPrecision": {
"type": "number",
"format": "double",
"x-nullable": true,
"minimum": 0.0,
"maximum": 1.0,
"description": "A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included."
},
"maskingMode": {
"$ref": "#/definitions/PIIDetectionSkillMaskingMode",
"description": "A parameter that provides various ways to mask the personal information detected in the input text. Default is 'none'."
},
"maskingCharacter": {
"type": "string",
"x-nullable": true,
"maxLength": 1,
"description": "The character used to mask the text if the maskingMode parameter is set to replace. Default is '*'."
},
"modelVersion": {
"type": "string",
"x-nullable": true,
"description": "The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary."
},
"piiCategories": {
"type": "array",
"items": {
"type": "string",
"x-nullable": false
},
"description": "A list of PII entity categories that should be extracted and masked."
},
"domain": {
"type": "string",
"x-nullable": true,
"description": "If specified, will set the PII domain to include only a subset of the entity categories. Possible values include: 'phi', 'none'. Default is 'none'."
}
},
"externalDocs": {
"url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-pii-detection"
},
"description": "Using the Text Analytics API, extracts personal information from an input text and gives you the option of masking it."
},
"SplitSkill": {
"x-ms-discriminator-value": "#Microsoft.Skills.Text.SplitSkill",
"allOf": [
Expand Down Expand Up @@ -8187,6 +8343,30 @@
},
"description": "A string indicating what entity categories to return."
},
"PIIDetectionSkillMaskingMode": {
"type": "string",
"enum": [
"none",
"replace"
],
"x-ms-enum": {
"name": "PIIDetectionSkillMaskingMode",
"modelAsString": true,
"values": [
{
"value": "none",
"name": "None",
"description": "No masking occurs and the maskedText output will not be returned."
},
{
"value": "replace",
"name": "Replace",
"description": "Replaces the detected entities with the character given in the maskingCharacter parameter. The character will be repeated to the length of the detected entity so that the offsets will correctly correspond to both the input text as well as the output maskedText."
}
]
},
"description": "A string indicating what maskingMode to use to mask the personal information detected in the input text."
},
"SentimentSkillLanguage": {
"type": "string",
"enum": [
Expand Down

0 comments on commit d910266

Please sign in to comment.