Migrate a knowledge base using export-import
QnA Maker announced General Availability on May 7, 2018 at the \\build\ conference. QnA Maker GA has a new architecture built on Azure. Knowledge bases created with QnA Maker Free Preview will need to be migrated to QnA Maker GA. QnA Maker Preview will be deprecated in January 2019. For more information about the changes in QnA Maker GA, see the QnA Maker GA announcement blog post.
QnA Maker now has a pricing model.
Migrate a knowledge base from QnA Maker Preview portal
- Navigate to QnA Maker Preview portal and click on My services.
Select the knowledge base you want to migrate by clicking on the edit icon.
Click on Download knowledge base to download a .tsv file that contains the content of your knowledge base - questions, answers, metadata, and the data source names from which they were extracted.
Sign into to the QnA Maker portal with your azure credentials and click on Create a knowledge base.
If you have not already created a QnA Maker service, select Create a QnA service. Otherwise, choose a QnA Maker service from the drop-downs in Step 2. Select the QnA Maker service that will host the Knowledge Base.
Create an empty knowledge base
- Give your service a name. Duplicate names are supported and special characters are supported as well.
- Skip uploading files or URLs as you want to use the data from your Preview knowledge base. For now, you will create an empty knowledge base.
In this new Knowledge base, open the Settings tab and click on Import knowledge base. This imports the questions, answers, and metadata, and retains the data source names from which they were extracted.
Test the new knowledge base using the Test panel. Learn how to test your knowledge base.
- Publish the knowledge base. Learn how to publish your knowledge base.
Use the endpoint below in your application or bot code. See here how to create a QnA bot.
At this point, all the knowledge base content - questions, answers and metadata, along with the names of the source files and the URLs, are imported to the new knowledge base.
Chatlogs and alterations
There is no way to migrate chatlogs, since the new stack uses Application Insights for storing chatlogs. You can however download the chatlogs from the preview portal.