Skip to content

Commit

Permalink
fix naming consistency (#1)
Browse files Browse the repository at this point in the history
* naming updates

* fix typo
  • Loading branch information
mshaban93 authored Jan 19, 2022
1 parent b14982a commit 989e24f
Showing 1 changed file with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@
"Healthcare",
"ExtractiveSummarization",
"CustomEntityRecognition",
"CustomSingleClassification",
"CustomMultiClassification"
"CustomSingleLabelClassification",
"CustomMultiLabelClassification"
],
"x-ms-enum": {
"name": "AnalyzeTextLROTaskKind",
Expand Down Expand Up @@ -303,8 +303,8 @@
"HealthcareLROResults",
"ExtractiveSummarizationLROResults",
"CustomEntityRecognitionLROResults",
"CustomSingleClassificationLROResults",
"CustomMultiClassificationLROResults"
"CustomSingleLabelClassificationLROResults",
"CustomMultiLabelClassificationLROResults"
],
"x-ms-enum": {
"name": "AnalyzeTextLROResultsKind",
Expand Down Expand Up @@ -640,7 +640,7 @@
"documents"
]
},
"CustomSingleClassificationTaskParameters": {
"CustomSingleLabelClassificationTaskParameters": {
"type": "object",
"description": "Supported parameters for a Custom Single Classification task.",
"allOf": [
Expand All @@ -652,22 +652,22 @@
}
]
},
"CustomSingleClassificationLROTask": {
"CustomSingleLabelClassificationLROTask": {
"type": "object",
"description": "Use custom models to classify text into single label taxonomy",
"properties": {
"parameters": {
"$ref": "#/definitions/CustomSingleClassificationTaskParameters"
"$ref": "#/definitions/CustomSingleLabelClassificationTaskParameters"
}
},
"allOf": [
{
"$ref": "#/definitions/AnalyzeTextLROTask"
}
],
"x-ms-discriminator-value": "CustomSingleClassification"
"x-ms-discriminator-value": "CustomSingleLabelClassification"
},
"CustomSingleClassificationResult": {
"CustomSingleLabelClassificationResult": {
"type": "object",
"properties": {
"documents": {
Expand All @@ -694,7 +694,7 @@
"SingleClassificationDocumentResult": {
"type": "object",
"properties": {
"classification": {
"class": {
"$ref": "#/definitions/ClassificationResult"
}
},
Expand All @@ -704,7 +704,7 @@
}
],
"required": [
"classification"
"class"
]
},
"ClassificationResult": {
Expand All @@ -721,11 +721,11 @@
"confidenceScore": {
"type": "number",
"format": "double",
"description": "Confidence score between 0 and 1 of the recognized classification."
"description": "Confidence score between 0 and 1 of the recognized class."
}
}
},
"CustomMultiClassificationTaskParameters": {
"CustomMultiLabelClassificationTaskParameters": {
"type": "object",
"description": "Supported parameters for a Custom Multi Classification task.",
"allOf": [
Expand All @@ -737,22 +737,22 @@
}
]
},
"CustomMultiClassificationLROTask": {
"CustomMultiLabelClassificationLROTask": {
"type": "object",
"description": "Use custom models to classify text into multi label taxonomy",
"properties": {
"parameters": {
"$ref": "#/definitions/CustomMultiClassificationTaskParameters"
"$ref": "#/definitions/CustomMultiLabelClassificationTaskParameters"
}
},
"allOf": [
{
"$ref": "#/definitions/AnalyzeTextLROTask"
}
],
"x-ms-discriminator-value": "CustomMultiClassification"
"x-ms-discriminator-value": "CustomMultiLabelClassification"
},
"CustomMultiClassificationResult": {
"CustomMultiLabelClassificationResult": {
"type": "object",
"properties": {
"documents": {
Expand All @@ -779,7 +779,7 @@
"MultiClassificationDocumentResult": {
"type": "object",
"properties": {
"classifications": {
"class": {
"type": "array",
"items": {
"$ref": "#/definitions/ClassificationResult"
Expand All @@ -792,7 +792,7 @@
}
],
"required": [
"classifications"
"class"
]
},
"HealthcareTaskParameters": {
Expand Down Expand Up @@ -2574,11 +2574,11 @@
],
"x-ms-discriminator-value": "CustomEntityRecognitionLROResults"
},
"CustomSingleClassificationLROResult": {
"CustomSingleLabelClassificationLROResult": {
"type": "object",
"properties": {
"results": {
"$ref": "#/definitions/CustomSingleClassificationResult"
"$ref": "#/definitions/CustomSingleLabelClassificationResult"
}
},
"allOf": [
Expand All @@ -2589,13 +2589,13 @@
"required": [
"results"
],
"x-ms-discriminator-value": "CustomSingleClassificationLROResults"
"x-ms-discriminator-value": "CustomSingleLabelClassificationLROResults"
},
"CustomMultiClassificationLROResult": {
"CustomMultiLabelClassificationLROResult": {
"type": "object",
"properties": {
"results": {
"$ref": "#/definitions/CustomMultiClassificationResult"
"$ref": "#/definitions/CustomMultiLabelClassificationResult"
}
},
"allOf": [
Expand All @@ -2606,7 +2606,7 @@
"required": [
"results"
],
"x-ms-discriminator-value": "CustomMultiClassificationLROResults"
"x-ms-discriminator-value": "CustomMultiLabelClassificationLROResults"
},
"EntityLinkingLROResult": {
"type": "object",
Expand Down

0 comments on commit 989e24f

Please sign in to comment.