Skip to content

Commit 137b8f4

Browse files
authored
Merge pull request #181056 from mrbullwinkle/mrb_11_24_2021_link_updates
[Cognitive Services] Q&A API linking
2 parents af7ac79 + 9229fed commit 137b8f4

File tree

8 files changed

+21
-5
lines changed

8 files changed

+21
-5
lines changed

articles/cognitive-services/QnAMaker/How-To/metadata-generateanswer-usage.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ To get the predicted answer to a user's question, use the GenerateAnswer API. Wh
2323

2424
You use the [GenerateAnswer API](/rest/api/cognitiveservices/qnamakerruntime/runtime/generateanswer) in your bot or application to query your knowledge base with a user question, to get the best match from the question and answer pairs.
2525

26+
> [!NOTE]
27+
> This documentation does not apply to the latest release. To learn about using the latest question answering APIs consult the [question answering quickstart guide](https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk).
28+
2629
<a name="generateanswer-endpoint"></a>
2730

2831
## Publish to get GenerateAnswer endpoint

articles/cognitive-services/QnAMaker/How-To/using-prebuilt-api.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ ms.custom: "devx-track-js, devx-track-csharp"
1515

1616
Prebuilt question answering provides user the capability to answer question over a passage of text without having to create knowledgebases, maintain question and answer pairs or incurring cost for underutilized infrastructure. This functionality is provided as an API and can be used to meet question and answering needs without having to learn the details about QnA Maker or additional storage.
1717

18-
Given a user query and a block of text/passage the API will return an answer and precise answer (if available).
18+
> [!NOTE]
19+
> This documentation does not apply to the latest release. To learn about using the Prebuilt API with the latest release consult the [question answering prebuilt API article](../../language-service/question-answering/how-to/prebuilt.md).
20+
21+
Given a user query and a block of text/passage the API will return an answer and precise answer (if available).
1922

2023
<a name="qna-entity"></a>
2124

articles/cognitive-services/QnAMaker/Quickstarts/get-answer-from-knowledge-base-using-url-tool.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ ms.custom: ignite-fall-2021
1616

1717
[!INCLUDE [Custom question answering](../includes/new-version.md)]
1818

19+
> [!NOTE]
20+
> This documentation does not apply to the latest release. To learn about using the latest question answering APIs consult the [question answering authoring guide](../../language-service/question-answering/how-to/authoring.md).
21+
1922
::: zone pivot="url-test-tool-curl"
2023

2124
[!INCLUDE [Get answer using cURL](../includes/quickstart-test-tool-curl.md)]

articles/cognitive-services/QnAMaker/Quickstarts/quickstart-sdk.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ zone_pivot_groups: qnamaker-quickstart
1313

1414
Get started with the QnA Maker client library. Follow these steps to install the package and try out the example code for basic tasks.
1515

16-
> [!NOTE]
17-
> A newer version of question and answering capability is now available as part of Azure Cognitive Service for Language. For more information see [Azure Cognitive Service for Language Documentation](../../language-service/index.yml). For question answering capabilities within the Language Service, see [Question Answering](../../language-service/question-answering/overview.md).
18-
1916
[!INCLUDE [Custom question answering](../includes/new-version.md)]
2017

2118
::: zone pivot="rest"

articles/cognitive-services/language-service/question-answering/includes/rest.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ author: mrbullwinkle
77
ms.author: mbullwin
88
ms.custom: ignite-fall-2021
99
---
10+
1011
## Prerequisites
1112

13+
> [!NOTE]
14+
> This documentation does not apply to the latest release. To learn about using the REST API with the latest release consult the [question answering REST API quickstart](https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk?pivots=rest).
15+
1216
* The current version of [cURL](https://curl.haxx.se/). Several command-line switches are used in the quickstarts, which are noted in the [cURL documentation](https://curl.haxx.se/docs/manpage.html).
1317
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
1418
* Question answering, requires a [Language resource](https://ms.portal.azure.com/?quickstart=true#create/Microsoft.CognitiveServicesTextAnalytics) with the custom question answering feature enabled to generate an API key and endpoint.

articles/cognitive-services/language-service/question-answering/includes/sdk-csharp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ Use this quickstart for the question answering client library for .NET to:
2222

2323
## Prerequisites
2424

25+
> [!NOTE]
26+
> This documentation does not apply to the latest release. To learn about using the C# API with the latest release consult the [question answering C# quickstart](https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk?pivots=programming-language-csharp).
27+
2528
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
2629
* The [Visual Studio IDE](https://visualstudio.microsoft.com/vs/) or current version of [.NET Core](https://dotnet.microsoft.com/download/dotnet-core).
2730
* Question answering, requires a [Language resource](https://ms.portal.azure.com/?quickstart=true#create/Microsoft.CognitiveServicesTextAnalytics) with the custom question answering feature enabled to generate an API key and endpoint. <!--TODO: Change link-->

articles/cognitive-services/language-service/question-answering/includes/sdk-python.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Use this quickstart for the question answering client library for Python to:
2323

2424
## Prerequisites
2525

26+
> [!NOTE]
27+
> This documentation does not apply to the latest release. To learn about using the Python API with the latest release consult the [question answering Python quickstart](https://docs.microsoft.com/azure/cognitive-services/language-service/question-answering/quickstart/sdk?pivots=programming-language-python).
28+
2629
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
2730
* [Python 3.x](https://www.python.org/)
2831
* Question answering, requires a [Language resource](https://ms.portal.azure.com/?quickstart=true#create/Microsoft.CognitiveServicesTextAnalytics) with the custom question answering feature enabled to generate an API key and endpoint.

articles/cognitive-services/language-service/question-answering/tutorials/adding-synonyms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In this tutorial, you learn how to:
1818
> * Add synonyms to improve the quality of your responses
1919
> * Evaluate the response quality via the inspect option of the Test pane
2020
21-
This tutorial will show you how you can improve the quality of your responses by using synonyms. Let's assume that users are not getting an accurate response to their queries, when they use alternate forms, synonyms or acronyms of a word. So, they decide to improve the quality of the response by using [Authoring API](/rest/api/cognitiveservices-qnamaker/QnAMaker4.0/Alterations) to add synonyms for keywords.
21+
This tutorial will show you how you can improve the quality of your responses by using synonyms. Let's assume that users are not getting an accurate response to their queries, when they use alternate forms, synonyms or acronyms of a word. So, they decide to improve the quality of the response by using [Authoring API](../how-to/authoring.md) to add synonyms for keywords.
2222

2323
## Add synonyms using Authoring API
2424

0 commit comments

Comments
 (0)