Skip to content

Commit b0c712a

Browse files
committed
[Cogsvcs] QnA Maker - idle setting
1 parent d5e9f5f commit b0c712a

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

articles/cognitive-services/QnAMaker/How-To/set-up-qnamaker-service-azure.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Set up a QnA Maker service - QnA Maker
33
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.
44
ms.topic: conceptual
5-
ms.date: 01/28/2020
5+
ms.date: 03/19/2020
66
---
77
# Manage QnA Maker resources
88

@@ -183,6 +183,22 @@ QnA Maker's **App Service** resource uses the Cognitive Search resource. In orde
183183
184184
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.
185185

186+
Learn more about how to configure the App Service [General settings](../../app-service/configure-common.md#configure-general-settings).
187+
188+
## Configure App service idle setting
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. For QnA Maker, this means your prediction runtime appears to timeout when called by your client application, such as a chat bot.
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+
1. Select **Save** to save the configuration.
199+
1. You are asked if you want to restart the app to use the new setting. Select **Continue**.
200+
201+
186202
## Delete Azure resources
187203

188204
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

Comments
 (0)