Skip to content

Commit e5f47c3

Browse files
committed
final edits
1 parent c799d01 commit e5f47c3

File tree

5 files changed

+20
-13
lines changed

5 files changed

+20
-13
lines changed

articles/cognitive-services/QnAMaker/Tutorials/active-learning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ ms.date: 06/29/2021
1111

1212
# Enrich your knowledge base with Active Learning
1313

14-
Over time, the Microsoft team observed that customers are asking questions, which are not part of the knowledge base. There were variations of the question that were paraphrased differently.
14+
This tutorial shows you how enhance your knowledge base with active learning. If you notice that customers are asking questions, which are not part of your knowledge base. There are often variations of question that are paraphrased differently.
1515

16-
These variations when added as alternate questions to the relevant QnA pair, helps optimize the knowledge base to answer real world user queries. The customer can manually add alternate questions to QnA pairs through the editor. At the same time, they can also use the Active Learning feature to generate active learning suggestions based on user queries. The active learning feature, however, requires that the knowledge base receives regular user traffic to generate suggestions.
16+
These variations when added as alternate questions to the relevant QnA pair, help to optimize the knowledge base to answer real world user queries. You can manually add alternate questions to QnA pairs through the editor. At the same time, you can also use the active learning feature to generate active learning suggestions based on user queries. The active learning feature, however, requires that the knowledge base receives regular user traffic to generate suggestions.
1717

1818
## Enable Active Learning
1919
Active Learning is turned on by default for the Custom Question Answering feature. However, you need to manually update the Active Learning setting for QnA Maker GA. You can find more details here: [Turn on Active Learning](../how-to/use-active-learning.md#turn-on-active-learning-for-alternate-questions).

articles/cognitive-services/QnAMaker/Tutorials/adding-synonyms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 06/29/2021
1111

1212
# Improve quality of response with synonyms
1313

14-
The team observed 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 [Alterations API](/rest/api/cognitiveservices-qnamaker/QnAMaker4.0/Alterations) to add synonyms to such keywords.
14+
This tutorial will show you how you can improve the quality of your responses by using synonymns. 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 [Alterations API](/rest/api/cognitiveservices-qnamaker/QnAMaker4.0/Alterations) to add synonyms for keywords.
1515

1616
## Add synonyms using Alterations API
1717

@@ -72,7 +72,7 @@ For the question and answer pair “Fix problems with Surface Pen” shown below
7272
As you can see, when `trouble shoot` was not added as a synonym, we got a low confidence response to the query “How to troubleshoot your surface pen”. However, after we add `trouble shoot` as a synonym to “fix problems”, we received the correct response to the query with a higher confidence score. Once, these word alterations were added, the relevance of results improved thereby improving user experience.
7373

7474
> [!NOTE]
75-
> It may be noted that 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).
75+
> 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).
7676
7777
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 filtered when query is processed.
7878

articles/cognitive-services/QnAMaker/Tutorials/guided-conversations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ ms.date: 06/29/2021
1111

1212
# Add guided conversations with multi-turn prompts
1313

14-
Let's say the marketing team at Microsoft wants to build a customer support bot that answers common user queries on [Surface Pen FAQ](https://support.microsoft.com/en-us/surface/how-to-use-your-surface-pen-8a403519-cd1f-15b2-c9df-faa5aa924e98). In this tutorial, we use [Surface Pen FAQ](https://support.microsoft.com/en-us/surface/how-to-use-your-surface-pen-8a403519-cd1f-15b2-c9df-faa5aa924e98) to create a knowledge base.
14+
In this tutorial, we use [Surface Pen FAQ](https://support.microsoft.com/en-us/surface/how-to-use-your-surface-pen-8a403519-cd1f-15b2-c9df-faa5aa924e98) to create a knowledge base.
1515

16-
The marketing team has observed that users are asking additional details about the Surface Pen product, particularly how to troubleshoot their Surface Pen but they are not getting the correct answers. So, we add more prompts to support additional scenarios and guide the users to the correct answers using multi-turn prompts.
16+
For this example let's assume that users are asking for additional details about the Surface Pen product, particularly how to troubleshoot their Surface Pen, but they are not getting the correct answers. So, we add more prompts to support additional scenarios and guide the users to the correct answers using multi-turn prompts.
1717

1818
## View QnAs with context
1919
While creating the knowledge base for [Surface Pen FAQ](https://support.microsoft.com/en-us/surface/how-to-use-your-surface-pen-8a403519-cd1f-15b2-c9df-faa5aa924e98), we choose to enable multi-turn extraction from the source document. For more details, follow [Create multi-turn conversation from document](../how-to/multiturn-conversation.md#create-a-multi-turn-conversation-from-a-documents-structure). This lists the multi-turn prompts that are associated with QnA pairs, which can be viewed using **Show context** under **View Options**.

articles/cognitive-services/QnAMaker/Tutorials/multiple-languages.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,24 @@ ms.date: 06/29/2021
1111

1212
# Create knowledge bases in multiple languages
1313

14-
Microsoft’s device division is increasingly receiving user queries from different countries. So, they want to add knowledge bases in multiple languages to address user queries.
15-
16-
In this tutorial, we use the [Surface Pen FAQ](https://support.microsoft.com/surface/how-to-use-your-surface-pen-8a403519-cd1f-15b2-c9df-faa5aa924e98) URL and create knowledge bases in German and English. We then publish the knowledge bases and use [GenerateAnswerAPI](/rest/api/cognitiveservices-qnamaker/QnAMaker4.0/Runtime/GenerateAnswer) to query them to get answers to FAQs in the desired language.
14+
This tutorial will walk through the process of creating knowledge bases in multiple languages. We use the [Surface Pen FAQ](https://support.microsoft.com/surface/how-to-use-your-surface-pen-8a403519-cd1f-15b2-c9df-faa5aa924e98) URL to create knowledge bases in German and English. We then publish the knowledge bases and use the [GenerateAnswerAPI](/rest/api/cognitiveservices-qnamaker/QnAMaker4.0/Runtime/GenerateAnswer) to query them to get answers to FAQs in the desired language.
1715

1816
## Create Knowledge Base in German
19-
To be able to create a knowledge base in more than one language, the language setting must be set at the creation of the first KB of the QnA service.
17+
18+
To be able to create a knowledge base in more than one language, the language setting must be set at the creation of the first Knowledge Base (KB) of the QnA service.
2019

2120
> [!NOTE]
22-
> The option to enable adding knowledge bases in multiple language to a service is only available as Custom Question Answering > feature as part of Text Analytics.
21+
> The option to enable adding knowledge bases in multiple languages to a service is only available as part of Custom Question Answering which is a feature of Text Analytics.
2322
>
24-
> If you are using the GA version, a separate QnA Maker resource would need to be created for each distinct language.
23+
> If you are using the GA version of QnA Maker, a separate QnA Maker resource would need to be created for each distinct language.
2524
2625
> [!div class="mx-imgBorder"]
2726
> [ ![Screenshot of UI for Connect your QnA service to your knowledge base with add knowledge bases in multiple languages selected]( ../media/multiple-languages/add-knowledge-bases.png) ]( ../media/multiple-languages/add-knowledge-bases.png#lightbox)
2827
2928
In **Step 2**: Enable “Add knowledge bases in multiple languages to this service” and choose **German** as the language of the KB from “Language” drop-down list.
3029
Fill relevant details in Step 3 and 4 and finally select on **Create your KB**.
3130

32-
At this step, QnA maker reads the document and extracts QnA pairs from the source URL to create the knowledge base in the German language. The Knowledge base page opens where we can edit the contents of the knowledge base.
31+
At this step, QnA maker reads the document and extracts QnA pairs from the source URL to create the knowledge base in the German language. The knowledge base page opens where we can edit the contents of the knowledge base.
3332

3433
> [!div class="mx-imgBorder"]
3534
> [ ![Screenshot of UI with German questions and answers]( ../media/multiple-languages/german.png) ]( ../media/multiple-languages/german.png#lightbox)

articles/cognitive-services/QnAMaker/toc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,14 @@
123123
items:
124124
- name: Create FAQ Bot with Azure Bot Service
125125
href: Tutorials/create-faq-bot-with-azure-bot-service.md
126+
- name: Knowledge bases with active learning
127+
href: Tutorials/active-learning.md
128+
- name: Guided conversations with multiturn prompts
129+
href: Tutorials/guided-conversations.md
130+
- name: Adding synonyms
131+
href: Tutorials/adding-synonyms.md
132+
- name: Knowledge bases with mutliple languages
133+
href: Tutorials/multiple-languages.md
126134
- name: Customize your bot
127135
items:
128136
- name: Add multiple domains to FAQ Bot

0 commit comments

Comments
 (0)