From 9e347a648d99495902c5e83dd5cdc3169cea60df Mon Sep 17 00:00:00 2001 From: Rohan Kulkarni Date: Thu, 17 Oct 2019 15:21:34 +0530 Subject: [PATCH 1/2] Updating the docs to include rankerType field in QueryDTO --- .../data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json index adc3dd313096..2e79957aaa54 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json @@ -357,6 +357,10 @@ } ] }, + "rankerType": { + "type": "string", + "description": "Optional field. Set to 'QuestionOnly' for using a question only Ranker.", + }, "strictFilters": { "type": "array", "description": "Find only answers that contain these metadata.", From 53f49a5402c416fa6143aefc0c541491bbcad1ff Mon Sep 17 00:00:00 2001 From: Rohan Kulkarni Date: Fri, 18 Oct 2019 15:09:13 +0530 Subject: [PATCH 2/2] PR comments --- .../data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json index 2e79957aaa54..4707f478307c 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json @@ -359,7 +359,7 @@ }, "rankerType": { "type": "string", - "description": "Optional field. Set to 'QuestionOnly' for using a question only Ranker.", + "description": "Optional field. Set to 'QuestionOnly' for using a question only Ranker." }, "strictFilters": { "type": "array",