Skip to content

Commit c1c4b28

Browse files
committed
[CogSvcs] QnA Maker - programmatically migrate kb
1 parent 4a5a495 commit c1c4b28

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

articles/cognitive-services/QnAMaker/Tutorials/migrate-knowledge-base.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
---
22
title: Migrate knowledge bases - QnA Maker
3-
titleSuffix: Azure Cognitive Services
43
description: Migrating a knowledge base requires exporting from one knowledge base, then importing into another.
5-
services: cognitive-services
6-
author: diberry
7-
manager: nitinme
8-
ms.service: cognitive-services
9-
ms.subservice: qna-maker
104
ms.topic: article
11-
ms.date: 01/28/2020
12-
ms.author: diberry
13-
ms.custom: seodec18
5+
ms.date: 03/25/2020
146
---
157
# Migrate a knowledge base using export-import
168

@@ -44,6 +36,20 @@ Migrating a knowledge base requires exporting from one knowledge base, then impo
4436

4537
1. **Publish** the knowledge base and create a chat bot. Learn how to [publish your knowledge base](../Quickstarts/create-publish-knowledge-base.md#publish-the-knowledge-base).
4638

39+
## Programmatically migrate a knowledge base from QnA Maker
40+
41+
The migration process is programmatically available using the following REST APIs:
42+
43+
**Export**
44+
45+
* [Download knowledge base API](https://docs.microsoft.com/rest/api/cognitiveservices/qnamaker/knowledgebase/download)
46+
47+
**Import**
48+
49+
* [Replace API (reload with same knowledge base ID)](https://docs.microsoft.com/rest/api/cognitiveservices/qnamaker/knowledgebase/replace)
50+
* [Create API (load with new knowledge base ID)](https://docs.microsoft.com/rest/api/cognitiveservices/qnamaker/knowledgebase/create)
51+
52+
4753
## Chat logs and alterations
4854
Case-insensitive alterations (synonyms) are not imported automatically. Use the [V4 APIs](https://go.microsoft.com/fwlink/?linkid=2092179) to move the alterations in the new knowledge base.
4955

0 commit comments

Comments
 (0)