Example: Import options results

If the destination IQ Bot environment contains a learning instance with the same ID as the one in the IQBA file, you must select an import option to instruct IQ Bot how to handle the document groups in the learning instance. This page walks you through the most-common scenarios.

Scenario 1: Destination environment is empty

In this scenario, the destination environment is empty, such as in the case of a new installation of a testing environment. For the simplicity of this example, the IQBA file contains one learning instance with two groups. The fourth column of the table shows the outcome of each import option.

G = group

Import option Environment before importing IQBA file IQBA file Environment after importing the IQBA file
Option 1: Append imported groups and trained bots to duplicate existing learning instances: G1, G2 G1, G2
Option 2: Import learning instances, and ignore duplicate learning instances: G1, G2
Option 3: Overwrite duplicate existing learning instances with imported learning instances: G1, G2
Option 4: Remove all existing learning instances and replace with imported learning instances: G1, G2

Scenario 2: Import a learning instance with new groups

In this scenario, the learning instance in the IQBA file has document groups which are not present in the learning instance in the destination environment. The fourth column of the table shows the outcome of each import option, with the groups already present in the environment italicized for emphasis.

Note that in option 3, the imported learning instance (IQBA file) overwrites the duplicate existing learning instance. To determine whether a learning instance is a duplicate, the system compares the IDs of the learning instances in the two environments, not the groups. As a result, the environment after the import only contains G3.

Import option Environment before importing IQBA file IQBA file Environment after importing the IQBA file
Option 1: Append imported groups and trained bots to duplicate existing learning instances: G1, G2 G3 G1, G2, G3
Option 2: Import learning instances, and ignore duplicate learning instances: G1, G2
Option 3: Overwrite duplicate existing learning instances with imported learning instances: G3
Option 4: Remove all existing learning instances and replace with imported learning instances: G3

Scenario 3: Import a learning instance with duplicate groups

In this scenario, the learning instance in the IQBA file has the same groups as the learning instance in the destination environment, for example, the groups were retrained. The fourth column of the table shows the outcome of each import option, with the groups already present in the environment italicized for emphasis.
Import option Environment before importing IQBA file IQBA file Environment after importing the IQBA file
Option 1: Append imported groups and trained bots to duplicate existing learning instances: G1, G2, G3 G3 G1, G2, G3
Option 2: Import learning instances, and ignore duplicate learning instances: G1, G2, G3
Option 3: Overwrite duplicate existing learning instances with imported learning instances: G3
Option 4: Remove all existing learning instances and replace with imported learning instances: G3