- Overview
- Model building
- Model validation
- Model deployment
- Consuming models
- Developer
- Frequently asked questions
Moving a project between tenants
Options for using an IXP project in another tenant, from promoting a read-only model to migrating the whole project with the command-line interface.
The right option depends on what the other tenant needs to do with the model:
- If the tenant only runs the model, the project stays where it is, and a read-only model is promoted. Automations call the model, and nobody builds or evaluates it there.
- If people build or evaluate the model in that tenant, the project itself has to move.
IXP has no project export or import in the interface. You can export and import a taxonomy, and the command-line interface (CLI) can move a whole project.
Comparing the options
| Option | Promote a read-only model | Call the project from another tenant | Migrate the project with the CLI | Recreate the project from a taxonomy |
|---|---|---|---|---|
| Use it when | The target tenant only runs the model. | Other tenants only run the model, and you do not package it in a solution. | You are permanently moving a project to another tenant or organization. | You need a working project in the target tenant and cannot use the CLI. |
| What moves | The model version, inside the solution package. | Nothing. Automations in other tenants connect to the tenant that owns the project. | The project, including documents, annotations, and taxonomy. | The taxonomy, including fields, field groups, and instructions. |
| What does not move | Everything else. The project stays where it is. | The project stays where it is. | Nothing. | Documents, annotations, deployed versions, and tags. |
| In the target tenant | Read-only. No uploading, annotating, or evaluating. | No model. The automation calls the model in the tenant that owns it. | A full project. | A full project, with no documents, annotations, or deployed versions yet. |
| Requires | A solution that contains the model. | An external application and a credentials asset with access to the tenant that owns the project. | The IXP CLI. | Nothing beyond access to both tenants. |
Promote a read-only model
Promoting a read-only model is the recommended option when the target tenant only runs the model. The project, its documents, and its annotations stay in the tenant where you built them, and the model travels to the other environments inside the solution that contains your automation.
For the steps, refer to Promoting a model across environments.
Call the project from another tenant
The project stays in one tenant, and automations in other tenants call it there. Nothing is moved or copied: the automation authenticates against the tenant that owns the project and selects the project and a version or tag.
In this setup, the Use Solution Resource toggle is off on the activity, and its External connection fields are configured. The setup requires an external application and a credentials asset. For the steps, refer to Consuming models via a workflow and to the Extract Document Data activity.
The following applies:
- Every environment depends on the tenant that owns the project. Its automations send their documents to that tenant for extraction.
- The production and staging tags control which version each automation calls. For more details, refer to Updating a deployed model.
- The model is not part of a solution, so it does not follow the automation when you deploy the solution to another environment.
Migrate the project with the CLI
The IXP command-line interface (re) moves a project, with its documents, annotations, and taxonomy, to another tenant or organization. This is the only option that moves a project in full. For the steps, refer to CLI.
This option suits a one-time move. The CLI was the way to get a model into another environment before read-only models could be promoted inside a solution. A model, or a change to it, reaches testing or production through a promoted read-only model.
The following applies when you upload a package to a tenant that already has the project:
- The upload does not replace the project. New and changed fields, documents, and annotations are applied, and nothing is removed. A field, document, or annotation that you deleted in the source project stays in the target project.
- The upload can create a second project with the same title and leave the existing project unchanged. The interface shows the title of a project. The CLI identifies a project by its name, which can differ between tenants.
- The
reCLI moves projects. It does not deploy a model to an Orchestrator folder. To deploy or upgrade a model from the command line, refer to uip ixp deployments.
Recreate the project from a taxonomy
When the target tenant needs a working project and the CLI is not an option, the project can be recreated there from the taxonomy and the model configuration of the source project. The result is an equivalent model.
- In the source project, export the taxonomy. For the steps, refer to Importing and exporting taxonomies.
- In the target tenant, create a project.
- Import the taxonomy file into the new project.
- Reproduce the model configuration of the source project, including the extraction model and the advanced settings. For the fields to match, refer to Model configuration.
- Deploy a model version in the new project. For the steps, refer to Publishing model versions.
- Add the tags that your automations select to the deployed version. For the steps, refer to Managing published versions.
- In the target tenant, configure the automation to select the new project.
Maintaining the same taxonomy in two tenants means keeping two copies in step. Each instruction change has to be made in both, or the two models drift apart.
The new project is a separate project, not a copy that stays linked to the source. Deployed versions and tags are not part of a taxonomy, so they do not transfer, and version numbers in the new project are independent of the source project. An automation built against the source project keeps referring to that project until you select the new one in the activity.
The documents and annotations of the source project do not transfer either. Annotations are ground truth for evaluation, so their absence does not change the predictions the model returns: the new project extracts the same way, but it has no evaluation history and no performance metrics until you annotate documents there.
This does not apply to a project that uses a fine-tunable model, where annotations also serve as training data. Such a project is not equivalent without them.