Skip to content

Commit

Permalink
Add DocumentExtractionSkill (Azure#13003)
Browse files Browse the repository at this point in the history
* Add DocumentExtractionSkill

* Fix braces

* Update searchservice.json

* Add DocumentExtractionSkill to 2020-06-03

* Update searchservice.json

* Update searchservice.json

* Update searchservice.json
  • Loading branch information
shuyangmsft authored and mkarmark committed Jul 20, 2021
1 parent 973120d commit 162b8f7
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7663,6 +7663,38 @@
},
"description": "A skill to translate text from one language to another."
},
"DocumentExtractionSkill": {
"x-ms-discriminator-value": "#Microsoft.Skills.Util.DocumentExtractionSkill",
"allOf": [
{
"$ref": "#/definitions/SearchIndexerSkill"
}
],
"properties": {
"parsingMode": {
"type": "string",
"x-nullable": true,
"description": "The parsingMode for the skill. Will be set to 'default' if not defined."
},
"dataToExtract": {
"type": "string",
"x-nullable": true,
"description": "The type of data to be extracted for the skill. Will be set to 'contentAndMetadata' if not defined."
},
"configuration": {
"type": "object",
"additionalProperties": {
"type": "object"
},
"x-nullable": true,
"description": "A dictionary of configurations for the skill."
}
},
"externalDocs": {
"url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-document-extraction"
},
"description": "A skill that extracts content from a file within the enrichment pipeline."
},
"WebApiSkill": {
"x-ms-discriminator-value": "#Microsoft.Skills.Custom.WebApiSkill",
"allOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7663,6 +7663,38 @@
},
"description": "A skill to translate text from one language to another."
},
"DocumentExtractionSkill": {
"x-ms-discriminator-value": "#Microsoft.Skills.Util.DocumentExtractionSkill",
"allOf": [
{
"$ref": "#/definitions/SearchIndexerSkill"
}
],
"properties": {
"parsingMode": {
"type": "string",
"x-nullable": true,
"description": "The parsingMode for the skill. Will be set to 'default' if not defined."
},
"dataToExtract": {
"type": "string",
"x-nullable": true,
"description": "The type of data to be extracted for the skill. Will be set to 'contentAndMetadata' if not defined."
},
"configuration": {
"type": "object",
"additionalProperties": {
"type": "object"
},
"x-nullable": true,
"description": "A dictionary of configurations for the skill."
}
},
"externalDocs": {
"url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-document-extraction"
},
"description": "A skill that extracts content from a file within the enrichment pipeline."
},
"WebApiSkill": {
"x-ms-discriminator-value": "#Microsoft.Skills.Custom.WebApiSkill",
"allOf": [
Expand Down

0 comments on commit 162b8f7

Please sign in to comment.