Importing QnAs in Bulk

This feature works with collections of QnA sets, using template-based import/export of the QnA sets from/to the current solution in Excel file format.

Important!   The upload process will REPLACE the matching QnAs for this bot and solution with those in the excel file. The other non-matching QnAs will not be affected by the upload. Make sure that you download a copy of the existing train set before processing. To do so, click the Download button and click DownloadTrainSet. Based on your browser settings, the file is either automatically saved to your default Download folder or you need to save it.

You can import a new set of KB articles or update the existing one.

Importing a new set of QnAs

To import a new set of QnAa:

  1. Download the QnA train set template. To do so, click the Download button and select DownloadTemplate.
  2. Based on your browser settings, an excel file template containing the supported QnA Train Set format is either automatically saved to your default Download folder or you need to save it.

  3. Fill in the excel template following the supported format and save the file with a different name. For reference on the solution train set format, see QnA Set Format.
  4. At the top-right corner of the Questions and Answers page, click the Upload button (). The UploadTrainSet pop-up appears.
  5. Browse for your QnA train set file and select it.
  6. Click the Upload button. Based on the file size, it might take a few seconds for the file to upload.
  7. If you upload a wrong extension file or the file format is incorrect, a pop-up appears notifying that the import was unsuccessful.
  8. Example:

  9. Click Ok and retry.

When the import is successful, you can close the pop-up.

Note:  After the import, you need to train the bot.

Updating existing set of QnAs

To update an existing set of QnAs:

  1. Download the current QnA train set file by clicking the Download button and selecting DownloadTrainSet.
  2. Store this file for backup purposes.
  3. Copy and paste the file and rename it.
  4. Open the renamed file and update it to accommodate your needs. For reference on the file format, see KB Article Set Format. After you finish updating the file, save it.
  5. Click the Upload button ().
  6. The UploadTrainSet pop-up appears.
  7. Browse for the updated QnA train set file and select it.
  8. Click the Upload button. Based on the file size, it might take a few seconds for the file to upload.
  9. If you upload a wrong extension file or the file format is incorrect, a pop-up appears notifying that the import was unsuccessful.

    Example:

  10. Click Ok and retry.
Note:  After the import, you need to train the bot.