You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/QnAMaker/includes/new-version.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,4 +9,4 @@ ms.date: 09/15/2021
9
9
---
10
10
11
11
> [!NOTE]
12
-
> 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). For information on migrating existing knowledge bases consult the [migration guide](../../language-service/question-answering/how-to/migrate-qnamaker.md).
12
+
> A newer version of the 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). For information on migrating existing knowledge bases consult the [migration guide](../../language-service/question-answering/how-to/migrate-qnamaker.md).
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/question-answering/concepts/azure-resources.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,19 +62,16 @@ Your custom question answering feature deals with two kinds of keys: **authoring
62
62
63
63
Use these keys when making requests to the service through APIs.
64
64
65
-
> [!div class="mx-imgBorder"]
66
-
> 
67
-
68
65
|Name|Location|Purpose|
69
66
|--|--|--|
70
67
|Authoring/Subscription key|[Azure portal](https://azure.microsoft.com/free/cognitive-services/)|These keys are used to access the Language Service APIs). These APIs let you edit the questions and answers in your knowledge base, and publish your knowledge base. These keys are created when you create a new resource.<br><br>Find these keys on the **Cognitive Services** resource on the **Keys and Endpoint** page.|
71
68
|Azure Cognitive Search Admin Key|[Azure portal](../../../../search/search-security-api-keys.md)|These keys are used to communicate with the Azure cognitive search service deployed in the user’s Azure subscription. When you associate an Azure Cognitive Search resource with the custom question answering feature, the admin key is automatically passed to question answering. <br><br>You can find these keys on the **Azure Cognitive Search** resource on the **Keys** page.|
72
69
73
70
### Find authoring keys in the Azure portal
74
71
75
-
You can view and reset your authoring keys from the Azure portal, where you added the Custom question answering (Preview) feature in Text Analytics resource.
72
+
You can view and reset your authoring keys from the Azure portal, where you added the custom question answering feature in your language resource.
76
73
77
-
1. Go to the Text Analytics resource in the Azure portal and select the resource that has the *Cognitive Services* type:
74
+
1. Go to the language resource in the Azure portal and select the resource that has the *Cognitive Services* type:
78
75
79
76
> [!div class="mx-imgBorder"]
80
77
> 
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/question-answering/concepts/precise-answering.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,3 @@ The service also returns back the confidence score of the precise answer as an *
33
33
## Deploying a bot
34
34
35
35
When you publish a bot, you get the precise answer enabled experience by default in your application, where you will see short answer along with the answer passage. Refer to the API reference for REST API to see how to use the precise answer (called AnswerSpan) in the response. User has the flexibility to choose other experiences by updating the template through the Bot app service.
36
-
37
-
## Language support
38
-
39
-
Currently the precise answer feature is only supported for English.
Adding chitchat to your bot makes it more conversational and engaging. The chitchat feature in custom question answering allows you to easily add a pre-populated set of the top chitchat, into your knowledge base (KB). This can be a starting point for your bot's personality, and it will save you the time and cost of writing them from scratch.
# Create, test, and deploy custom question answering
11
+
# Create, test, and deploy a custom question answering project
12
12
13
13
You can create a question answering project from your own content, such as FAQs or product manuals. This article includes an example of creating a question answering project from a product manual, to answer questions.
14
14
15
15
## Prerequisites
16
16
17
17
> [!div class="checklist"]
18
18
> * If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/cognitive-services/) before you begin.
19
-
> * A [language resource](https://aka.ms/create-language-resource) with the custom question answering feature enabled. Remember your Azure Active Directory ID, Subscription, language resource name you selected when you created the resource.
19
+
> * A [language resource](https://aka.ms/create-language-resource) with the custom question answering feature enabled.
20
20
21
21
## Create your first question answering project
22
22
@@ -53,7 +53,7 @@ You can create a question answering project from your own content, such as FAQs
53
53
|--------|---------|
54
54
|Surface Book User Guide |https://download.microsoft.com/download/7/B/1/7B10C82E-F520-4080-8516-5CF0D803EEE0/surface-book-user-guide-EN.pdf|
55
55
56
-
The extraction process takes a few moments to read the document and identify questions and answers.
56
+
The extraction process takes a few moments to read the document and identify questions and answers. Question and answering will determine if the underlying content is structured or unstructured.
57
57
58
58
After successfully adding the source, you can then edit the source contents to add more custom question answer sets.
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/question-answering/how-to/network-isolation.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,16 +40,16 @@ Private endpoints are provided by [Azure Private Link](../../../../private-link/
40
40
5. Go to *Networking* tab of language resource and under the *Allow access from*, select the *Selected Networks and private endpoints* option and select *save*.
This will establish a private endpoint connection between language resource and Azure Cognitive Search service instance. You can verify the Private endpoint connection on the *Networking* tab of the Azure Cognitive Search service instance. Once the whole operation is completed, you are good to use your language resource with question answering enabled.
* We don't support changes to Azure Cognitive Search service once you enable private access to your Text Analytics service. If you change the Azure Cognitive Search service via 'Features' tab after you have enabled private access, the Text Analytics service will become unusable.
50
+
* We don't support changes to Azure Cognitive Search service once you enable private access to your language resources. If you change the Azure Cognitive Search service via 'Features' tab after you have enabled private access, the language resource will become unusable.
51
51
52
-
* After establishing Private Endpoint Connection, if you switch Azure Cognitive Search Service Networking to 'Public', you won't be able to use the Text Analytics service. Azure Search Service Networking needs to be 'Private' for the Private Endpoint Connection to work.
52
+
* After establishing Private Endpoint Connection, if you switch Azure Cognitive Search Service Networking to 'Public', you won't be able to use the language resource. Azure Search Service Networking needs to be 'Private' for the Private Endpoint Connection to work.
# Language support for custom question answering and knowledge bases
15
15
16
-
This article describes the language support options for custom question answering enabled resources and knowledge bases.
16
+
This article describes the language support options for custom question answering enabled resources and knowledge bases.
17
17
18
18
In custom question answering, you have the option to either select the language each time you add a new project to a resource allowing multiple language support, or you can select a language that will apply to all future projects for a resource.
19
19
20
-
If you choose to enable the language setting across all your projects you cannot disable this setting.
21
-
22
20
## Supporting multiple languages in one custom question answering enabled resource
23
21
24
22
> [!div class="mx-imgBorder"]
@@ -45,7 +43,7 @@ If you **select the option to set the language used by all projects associated w
45
43
46
44
## Languages supported
47
45
48
-
The following list contains the languages supported for a QnA Maker resource.
46
+
The following list contains the languages supported for a question answering resource.
49
47
50
48
| Language |
51
49
|--|
@@ -106,7 +104,7 @@ The following list contains the languages supported for a QnA Maker resource.
106
104
## Query matching and relevance
107
105
Custom question answering depends on [Azure Cognitive Search language analyzers](/rest/api/searchservice/language-support) for providing results.
108
106
109
-
While the Azure Cognitive Search capabilities are on par for supported languages, QnA Maker has an additional ranker that sits above the Azure search results. In this ranker model, we use some special semantic and word-based features in the following languages.
107
+
While the Azure Cognitive Search capabilities are on par for supported languages, question answering has an additional ranker that sits above the Azure search results. In this ranker model, we use some special semantic and word-based features in the following languages.
Question answering provides cloud-based Natural Language Processing (NLP) that allows you to create a natural conversational layer over your data. It is used to find the most appropriate answer for any input from your custom knowledge base (KB) of information.
15
15
16
-
Question answering is commonly used to build conversational client applications, which include social media applications, chat bots, and speech-enabled desktop applications.
16
+
Question answering is commonly used to build conversational client applications, which include social media applications, chat bots, and speech-enabled desktop applications. Several new features have been added including enhanced relevance using a deep learning ranker, precise answers, and end-to-end region support.
17
17
18
18
This documentation contains the following article types:
19
19
@@ -24,14 +24,14 @@ This documentation contains the following article types:
24
24
25
25
## When to use question answering
26
26
27
-
***When you have static information** - Use question answering when you have static information in your knowledge base of answers. This knowledge base is custom to your needs, which you've built with documents such as [PDFs and URLs](../../qnamaker/Concepts/data-sources-and-content.md).
27
+
***When you have static information** - Use question answering when you have static information in your knowledge base of answers. This knowledge base is custom to your needs, which you've built with documents such as PDFs and URLs.
28
28
***When you want to provide the same answer to a request, question, or command** - when different users submit the same question, the same answer is returned.
29
-
***When you want to filter static information based on meta-information** - add [metadata](../../qnamaker/how-to/metadata-generateanswer-usage.md) tags to provide additional filtering options relevant to your client application's users and the information. Common metadata information includes [chit-chat](./how-to/chit-chat.md), content type or format, content purpose, and content freshness. <!--TODO: Fix Link-->
30
-
***When you want to manage a bot conversation that includes static information** - your knowledge base takes a user's conversational text or command and answers it. If the answer is part of a pre-determined conversation flow, represented in your knowledge base with [multi-turn context](../../qnamaker/how-to/multiturn-conversation.md), the bot can easily provide this flow.
29
+
***When you want to filter static information based on meta-information** - add [metadata](./tutorials/multiple-domains.md) tags to provide additional filtering options relevant to your client application's users and the information. Common metadata information includes [chit-chat](./how-to/chit-chat.md), content type or format, content purpose, and content freshness. <!--TODO: Fix Link-->
30
+
***When you want to manage a bot conversation that includes static information** - your knowledge base takes a user's conversational text or command and answers it. If the answer is part of a pre-determined conversation flow, represented in your knowledge base with [multi-turn context](./tutorials/guided-conversations.md), the bot can easily provide this flow.
31
31
32
32
## What is a knowledge base?
33
33
34
-
Question answering [imports your content](../../qnamaker/Concepts/plan.md) into a knowledge base of question and answer pairs. The import process extracts information about the relationship between the parts of your structured and semi-structured content to imply relationships between the question and answer pairs. You can edit these question and answer pairs or add new pairs.
34
+
Question answering [imports your content](./how-to/manage-knowledge-base.md) into a knowledge base of question and answer pairs. The import process extracts information about the relationship between the parts of your structured and semi-structured content to imply relationships between the question and answer pairs. You can edit these question and answer pairs or add new pairs.
35
35
36
36
The content of the question and answer pair includes:
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/question-answering/tutorials/adding-synonyms.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,8 +75,7 @@ As you can see, when `troubleshoot` was not added as a synonym, we got a low con
75
75
76
76
> [!NOTE]
77
77
> Synonyms are case insensitive. Synonyms also might not work as expected if you add stop words as synonyms. The list of stop words can be found here: [List of stop words](https://github.com/Azure-Samples/azure-search-sample-data/blob/master/STOPWORDS.md).
78
-
79
-
For instance, if you add the abbreviation **IT** for Information technology, the system might not be able to recognize Information Technology because **IT** is a stop word and is filtered when a query is processed.
78
+
> For instance, if you add the abbreviation **IT** for Information technology, the system might not be able to recognize Information Technology because **IT** is a stop word and is filtered when a query is processed.
0 commit comments