|
1 | 1 | ---
|
2 | 2 | title: Migrate knowledge bases - QnA Maker
|
3 |
| -titleSuffix: Azure Cognitive Services |
4 | 3 | 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 |
10 | 4 | ms.topic: article
|
11 |
| -ms.date: 01/28/2020 |
12 |
| -ms.author: diberry |
13 |
| -ms.custom: seodec18 |
| 5 | +ms.date: 03/25/2020 |
14 | 6 | ---
|
15 | 7 | # Migrate a knowledge base using export-import
|
16 | 8 |
|
17 |
| -Migrating a knowledge base requires exporting from one knowledge base, then importing into another. |
| 9 | +Migration is the process of creating a new knowledge base from an existing knowledge base. You may do this for several reasons: |
| 10 | + |
| 11 | +* backup and restore process |
| 12 | +* CI/CD pipeline |
| 13 | +* move regions |
| 14 | + |
| 15 | +Migrating a knowledge base requires exporting from an existing knowledge base, then importing into another. |
18 | 16 |
|
19 | 17 | ## Prerequisites
|
20 | 18 |
|
@@ -44,6 +42,20 @@ Migrating a knowledge base requires exporting from one knowledge base, then impo
|
44 | 42 |
|
45 | 43 | 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).
|
46 | 44 |
|
| 45 | +## Programmatically migrate a knowledge base from QnA Maker |
| 46 | + |
| 47 | +The migration process is programmatically available using the following REST APIs: |
| 48 | + |
| 49 | +**Export** |
| 50 | + |
| 51 | +* [Download knowledge base API](https://docs.microsoft.com/rest/api/cognitiveservices/qnamaker/knowledgebase/download) |
| 52 | + |
| 53 | +**Import** |
| 54 | + |
| 55 | +* [Replace API (reload with same knowledge base ID)](https://docs.microsoft.com/rest/api/cognitiveservices/qnamaker/knowledgebase/replace) |
| 56 | +* [Create API (load with new knowledge base ID)](https://docs.microsoft.com/rest/api/cognitiveservices/qnamaker/knowledgebase/create) |
| 57 | + |
| 58 | + |
47 | 59 | ## Chat logs and alterations
|
48 | 60 | 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.
|
49 | 61 |
|
|
0 commit comments