Machine Learning Utterances - Export, Import & Behavior

With release 6.2.2, developers are now provided the flexibility to export and import ML utterances from the bot builder.

This option will be available at Machine Learning Utterances section of the bot as shown in below snip:

Developers could export the utterances either in JSON format or CSV format.

The behavior of ML utterances Export:

  • Export of utterances will export all the utterances of all tasks present in bot. The utterances of tasks of type Action, Alert, Information Tasks, Dialogs and Sub Intents will all be exported.
  • Choosing the export at In Development will export the utterances of all tasks at the “latest copy” i.e utterances at tasks in “configured state”, utterances of tasks in “upgrade in progress” state, utterances of tasks in “published state” (which do not have an upgrade copy) etc.
  • Choosing the export at Published will export the utterances of all tasks which are only present in “published state”
  • Utterances will only be exported for the language which has been chosen on the builder. i.e, if the bot is a multi-language enabled bot, the utterances at tasks will vary from language to language.
  • Export of utterances to JSON will also include NER tagging present at simple tasks and dialog tasks.
  • Export of utterances to CSV will not include NER tagging present at simple tasks and dialog tasks in the exported file.

The behavior of ML utterances Import:

  • Import of utterances CSV/ JSON will do a full replacement of utterances present in the “latest copy” of the tasks.
  • If the task is in “configured state” the utterances which are present in the task will be replaced completely with the new utterances present in the import file for the task.
  • If the task is in “upgrade in progress state” the utterances which are present in the task will be replaced completely with the new utterances present in the import file for the task. The utterances at the published copy of the task will not be impacted.
  • If the task is in “published state” an “upgrade in progress” copy of the task will be created by default and the new utterances present in the import file will be added for the upgrade copy of task. The utterances at the published copy of the task will not be impacted.
1 Like