|
2 | 2 | title: Set up a QnA Maker service - QnA Maker
|
3 | 3 | description: Before you can create any QnA Maker knowledge bases, you must first set up a QnA Maker service in Azure. Anyone with authorization to create new resources in a subscription can set up a QnA Maker service.
|
4 | 4 | ms.topic: conceptual
|
5 |
| -ms.date: 01/28/2020 |
| 5 | +ms.date: 03/19/2020 |
6 | 6 | ---
|
7 | 7 | # Manage QnA Maker resources
|
8 | 8 |
|
@@ -183,6 +183,27 @@ QnA Maker's **App Service** resource uses the Cognitive Search resource. In orde
|
183 | 183 |
|
184 | 184 | If you create a QnA service through Azure Resource Manager templates, you can create all resources and control the App Service creation to use an existing Search service.
|
185 | 185 |
|
| 186 | +Learn more about how to configure the App Service [Application settings](../../../app-service/configure-common.md#configure-app-settings). |
| 187 | + |
| 188 | +## Configure App service idle setting to avoid timeout |
| 189 | + |
| 190 | +The app service, which serves the QnA Maker prediction runtime for a published knowledge base, has an idle timeout configuration, which defaults to automatically timeout if the service is idle. For QnA Maker, this means your prediction runtime generateAnswer API occasionally times out after periods of no traffic. |
| 191 | + |
| 192 | +In order to keep the prediction endpoint app loaded even when there is no traffic, set the idle to always on. |
| 193 | + |
| 194 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 195 | +1. Search for and select your QnA Maker resource's app service. It will have the same name as the QnA Maker resource but it will have a different **type** of App Service. |
| 196 | +1. Find **Settings** then select **Configuration**. |
| 197 | +1. On the Configuration pane, select **General settings**, then find **Always on**, and select **On** as the value. |
| 198 | + |
| 199 | + > [!div class="mx-imgBorder"] |
| 200 | + >  |
| 201 | +
|
| 202 | +1. Select **Save** to save the configuration. |
| 203 | +1. You are asked if you want to restart the app to use the new setting. Select **Continue**. |
| 204 | + |
| 205 | +Learn more about how to configure the App Service [General settings](../../../app-service/configure-common.md#configure-general-settings). |
| 206 | + |
186 | 207 | ## Delete Azure resources
|
187 | 208 |
|
188 | 209 | If you delete any of the Azure resources used for your QnA Maker knowledge bases, the knowledge bases will no longer function. Before deleting any resources, make sure you export your knowledge bases from the **Settings** page.
|
|
0 commit comments