Skip to content

Commit 32cf3b7

Browse files
authored
Merge pull request #109024 from MicrosoftDocs/diberry/0325-qna-performance
[Cogsvcs] QnA Maker - performance
2 parents 4f46a9a + a259b9a commit 32cf3b7

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

articles/cognitive-services/QnAMaker/Concepts/azure-resources.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Azure resources - QnA Maker
33
description: QnA Maker uses several Azure sources, each with a different purpose. Understanding how they are used individually allows you to plan for and select the correct pricing tier or know when to change your pricing tier. Understanding how they are used in combination allows you to find and fix problems when they occur.
44
ms.topic: conceptual
5-
ms.date: 01/27/2020
5+
ms.date: 03/25/2020
66
---
77

88
# Azure resources for QnA Maker
@@ -25,7 +25,9 @@ Plan to have a single QnA Maker resource hold all knowledge bases that have the
2525

2626
Typically there are three parameters you need to consider:
2727

28-
* **The throughput you need from the service**: Select the appropriate [App Plan](https://azure.microsoft.com/pricing/details/app-service/plans/) for your App service based on your needs. You can [scale up](https://docs.microsoft.com/azure/app-service/manage-scale-up) or down the App. This should also influence your Azure Cognitive Search SKU selection, see more details [here](https://docs.microsoft.com/azure/search/search-sku-tier).
28+
* **The throughput you need from the service**:
29+
* Select the appropriate [App Plan](https://azure.microsoft.com/pricing/details/app-service/plans/) for your App service based on your needs. You can [scale up](https://docs.microsoft.com/azure/app-service/manage-scale-up) or down the App.
30+
* This should also influence your Azure **Cognitive Search** SKU selection, see more details [here](https://docs.microsoft.com/azure/search/search-sku-tier). Additionally, you may need to adjust Cognitive Search [capacity](../../../search/search-capacity-planning.md) with replicas.
2931

3032
* **Size and the number of knowledge bases**: Choose the appropriate [Azure search SKU](https://azure.microsoft.com/pricing/details/search/) for your scenario. Typically, you decide number of knowledge bases you need based on number of different subject domains. Once subject domain (for a single language) should be in one knowledge base.
3133

@@ -48,7 +50,7 @@ The following table gives you some high-level guidelines.
4850
|Upgrade|Reason|
4951
|--|--|
5052
|[Upgrade](../How-to/set-up-qnamaker-service-azure.md#upgrade-qna-maker-sku) QnA Maker management SKU|You want to have more QnA sets or document sources in your knowledge base.|
51-
|[Upgrade](../How-to/set-up-qnamaker-service-azure.md#upgrade-app-service) App Service SKU|Your knowledge base needs to serve more requests from your client app, such as a chat bot.|
53+
|[Upgrade](../How-to/set-up-qnamaker-service-azure.md#upgrade-app-service) App Service SKU and check Cognitive Search tier and [create Cognitive Search replicas](../../../search/search-capacity-planning.md)|Your knowledge base needs to serve more requests from your client app, such as a chat bot.|
5254
|[Upgrade](../How-to/set-up-qnamaker-service-azure.md#upgrade-the-azure-cognitive-search-service) Azure Cognitive Search service|You plan to have many knowledge bases.|
5355

5456
Get the latest runtime updates by [updating your App Service in the Azure portal](../how-to/set-up-qnamaker-service-azure.md#get-the-latest-runtime-updates).
@@ -109,7 +111,7 @@ The second ranking applies intelligent filters that can include metadata and fol
109111

110112
#### QnA Maker resource configuration settings
111113

112-
When you create a new knowledge base in the [QnA Maker portal](https://qnamaker.ai), the **Language** setting is the only setting that is applied at the resource level. You select the language when you create the first knowledge base for the resource.
114+
When you create a new knowledge base in the [QnA Maker portal](https://qnamaker.ai), the **Language** setting is the only setting that is applied at the resource level. You select the language when you create the first knowledge base for the resource.
113115

114116
### App service and App service plan
115117

@@ -133,7 +135,7 @@ QnA Maker creates several Azure resources. To reduce management and benefit from
133135
|App Service plan||Fixed disk space allocated for an App Service plan. If other apps that sharing the same App Service plan use significant disk space, the QnAMaker App Service instance will encounter problems.|
134136
|App Service|X|Not possible by design|
135137
|Application Insights||Can be shared|
136-
|Search service||1. `testkb` is a reserved name for the QnAMaker service; it cant be used by others.<br>2. Synonym map by the name `synonym-map` is reserved for the QnAMaker service.<br>3. The number of published knowledge bases is limited by Search service tier. If there are free indexes available, other services can use them.|
138+
|Search service||1. `testkb` is a reserved name for the QnAMaker service; it can't be used by others.<br>2. Synonym map by the name `synonym-map` is reserved for the QnAMaker service.<br>3. The number of published knowledge bases is limited by Search service tier. If there are free indexes available, other services can use them.|
137139

138140
### Using a single Cognitive Search service
139141

articles/cognitive-services/QnAMaker/troubleshooting.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshooting - QnA Maker
33
description: The curated list of the most frequently asked questions regarding the QnA Maker service will help you adopt the service faster and with better results.
44
ms.topic: troubleshooting
5-
ms.date: 02/21/2020
5+
ms.date: 03/25/2020
66
ms.author: diberry
77
---
88
# Troubleshooting for QnA Maker
@@ -11,6 +11,17 @@ The curated list of the most frequently asked questions regarding the QnA Maker
1111

1212
<a name="how-to-get-the-qnamaker-service-hostname"></a>
1313

14+
## Manage predictions
15+
16+
<details>
17+
<summary><b>How can I improve the throughput performance for query predictions?</b></summary>
18+
19+
**Answer**:
20+
Throughput performance issues indicate you need to scale up for both your App service and your Cognitive Search. Consider adding a replica to your Cognitive Search to improve performance.
21+
22+
Learn more about [pricing tiers](Concepts/azure-resources.md).
23+
</details>
24+
1425
<details>
1526
<summary><b>How to get the QnAMaker service endpoint</b></summary>
1627

0 commit comments

Comments
 (0)