Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DocumentExtractionSkill #13003

Merged
merged 7 commits into from
Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7657,6 +7657,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,
jhendrixMSFT marked this conversation as resolved.
Show resolved Hide resolved
"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": {
shuyangmsft marked this conversation as resolved.
Show resolved Hide resolved
"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 @@ -7657,6 +7657,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