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

chore: jsonfmt cognitiveservices #6318

Merged
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 @@ -300,25 +300,25 @@
"minLength": 0,
"type": "string"
},
"sourceFilter":{
"$ref":"#/definitions/TrainSourceFilter",
"description":"Get or set filter to further search the\r\nsource path for content."
"sourceFilter": {
"$ref": "#/definitions/TrainSourceFilter",
"description": "Get or set filter to further search the\r\nsource path for content."
}
}
},
"TrainSourceFilter":{
"description":"Filters to be applied when traversing a data source.",
"type":"object",
"properties":{
"prefix":{
"description":"A case-sensitive prefix string to filter content\r\nunder the source location. For e.g., when using a Azure Blob\r\nUri use the prefix to restrict subfolders for content.",
"maxLength":128,
"minLength":0,
"type":"string"
"TrainSourceFilter": {
"description": "Filters to be applied when traversing a data source.",
"type": "object",
"properties": {
"prefix": {
"description": "A case-sensitive prefix string to filter content\r\nunder the source location. For e.g., when using a Azure Blob\r\nUri use the prefix to restrict subfolders for content.",
"maxLength": 128,
"minLength": 0,
"type": "string"
},
"includeSubFolders":{
"description":"A flag to indicate if sub folders within the set of\r\nprefix folders will also need to be included when searching\r\nfor content to be preprocessed.",
"type":"boolean"
"includeSubFolders": {
"description": "A flag to indicate if sub folders within the set of\r\nprefix folders will also need to be included when searching\r\nfor content to be preprocessed.",
"type": "boolean"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
}
},
"understandingResult": {
"description" : "A set of extracted fields corresponding to a semantic object, such as a receipt, in the input document.",
"description": "A set of extracted fields corresponding to a semantic object, such as a receipt, in the input document.",
"properties": {
"pages": {
"description": "List of pages where the document is found.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"modelAsString": false
},
"x-nullable": false
},
},
"TextRecognitionResult": {
"description": "An object representing a recognized text region",
"type": "object",
Expand All @@ -36,15 +36,15 @@
"description": "The orientation of the image in degrees in the clockwise direction. Range between [0, 360).",
"type": "number"
},
"width": {
"width": {
"description": "The width of the image in pixels or the PDF in inches.",
"type": "number"
},
"height": {
"description": "The height of the image in pixels or the PDF in inches.",
"type": "number"
},
"unit": {
"unit": {
"description": "The unit used in the Width, Height and BoundingBox. For images, the unit is 'pixel'. For PDF, the unit is 'inch'.",
"type": "string",
"enum": [
Expand Down Expand Up @@ -218,6 +218,5 @@
"x-ms-skip-url-encoding": true
}
},
"paths": {
}
}
"paths": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2942,4 +2942,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1453,4 +1453,4 @@
"x-ms-parameter-location": "method"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@
"type": "array",
"description": "Represents Search Result list.",
"items": {
"$ref": "#/definitions/QnASearchResult"
"$ref": "#/definitions/QnASearchResult"
}
}
}
Expand Down Expand Up @@ -428,8 +428,8 @@
"type": "array",
"description": "List of metadata.",
"items": {
"$ref": "#/definitions/MetadataDTO"
}
"$ref": "#/definitions/MetadataDTO"
}
},
"context": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"answer": "There is no direct integration of LUIS with QnA Maker. But, in your bot code, you can use LUIS and QnA Maker together.",
"source": "Custom Editorial",
"questions": [
"How can I integrate LUIS with QnA Maker?"
"How can I integrate LUIS with QnA Maker?"
],
"metadata": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"200": {
"headers": {},
"body": {
"activeLearning":{
"activeLearning": {
"enable": "True"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"endpointSettingsPayload": {
"activeLearning":{
"activeLearning": {
"enable": "True"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"responses": {
"204": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@
],
"description": "The Get Skus operation response."
},
"NetworkRuleSet": {
"NetworkRuleSet": {
"properties": {
"bypass": {
"type": "string",
Expand Down