From fba3c7e2bc775c3a7e41b9b1dde7a0fce0c06b8d Mon Sep 17 00:00:00 2001 From: Rohan Kulkarni <36928710+rokulka@users.noreply.github.com> Date: Wed, 13 Nov 2019 04:41:40 +0530 Subject: [PATCH] [QnA Maker] Update API data fields. (#7729) * [QnA Maker] Update API data fields. * camel casing --- .../QnAMaker/stable/v4.0/QnAMaker.json | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json index 1e2608898e8c..a508c540a305 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json @@ -627,6 +627,16 @@ "$ref": "#/definitions/UpdateKbContentsDTO" } ] + }, + "enableHierarchicalExtraction": { + "type": "boolean", + "description": "Enable hierarchical extraction of Q-A from files and urls. The value set during KB creation will be used if this field is not present." + }, + "defaultAnswerUsedForExtraction": { + "type": "string", + "description": "Text string to be used as the answer in any Q-A which has no extracted answer from the document but has a hierarchy. Required when EnableHierarchicalExtraction field is set to True.", + "maxLength": 300, + "minLength": 1 } } }, @@ -879,6 +889,16 @@ "items": { "$ref": "#/definitions/FileDTO" } + }, + "enableHierarchicalExtraction": { + "type": "boolean", + "description": "Enable hierarchical extraction of Q-A from files and urls. Value to be considered False if this field is not present." + }, + "defaultAnswerUsedForExtraction":{ + "type": "string", + "description": "Text string to be used as the answer in any Q-A which has no extracted answer from the document but has a hierarchy. Required when EnableHierarchicalExtraction field is set to True.", + "maxLength": 300, + "minLength": 1 } } },