Move projects and question answer pairs

Note

This article deals with the process to export and move projects and sources from one Language resource to another.

You may want to create copies of your projects or sources for several reasons:

  • To implement a backup and restore process
  • Integrate with your CI/CD pipeline
  • When you wish to move your data to different regions

Prerequisites

  • If you don't have an Azure subscription, create a free account before you begin.
  • A language resource with the custom question answering feature enabled in the Azure portal. Remember your Azure Active Directory ID, Subscription, and the Language resource name you selected when you created the resource.

Export a project

Exporting a project allows you to back up all the question answer sources that are contained within a single project.

  1. Sign in to the Language Studio.
  2. Select the Language resource you want to move a project from.
  3. Go to Custom Question Answering service. On the Projects page, you have the options to export in two formats, Excel or TSV. This will determine the contents of the file. The file itself will be exported as a .zip containing the contents of your project.
  4. You can export only one project at a time.

Import a project

  1. Select the Language resource, which will be the destination for your previously exported project.
  2. Go to Custom Question Answering service. On the Projects page, select Import and choose the format used when you selected export. Then browse to the local .zip file containing your exported project. Enter a name for your newly imported project and select Done.

Export sources

  1. Select the Language resource you want to move an individual source from.
  2. Go to Custom Question Answering. Select the project that contains the source you wish to export.
  3. On the Edit knowledge base page, select the ellipsis (...) icon to the right of Enable rich text in the toolbar. You have the option to export in either Excel or TSV.

Import question and answers

  1. Select the Language resource, which will be the destination for your previously exported source.
  2. Go to Custom Question Answering. Select the project where you want to import a question and answer source.
  3. On the Edit knowledge base page, select the ellipsis (...) icon to the right of Enable rich text in the toolbar. You have the option to import either an Excel or TSV file.
  4. Browse to the local location of the file with the Choose File option and select Done.

Test

Test the source by selecting the Test option from the toolbar in the Edit knowledge base page which will launch the test panel. Learn how to test your knowledge base.

Deploy

Deploy the project and create a chat bot. Learn how to deploy your knowledge base.

Chat logs

There is no way to move chat logs with the projects. If diagnostic logs are enabled, chat logs are stored in the associated Azure Monitor resource.

Next steps