Skip to main content
Version: 1.39

Deploy multiple models from a single Repository

With contract paths, it is possible to deploy multiple models from a single Repository. Instead of having a single contract in the root of a Repository, any subfolder in the Repository can contain it's own contract:

repository
|
|_subfolder_1
| |_ model
| | |_ reference.json
| |_ explainer
| | |_ reference.json
| |_ metadata.json
|
|_subfolder_2
|_ model
|_ reference.json
info

Have a look at the reserved Repository folder names for Deployments for folder names you can't use.

Creating a Deployment from a sub-folder

You can create a Deployment from a sub-folder using the Python client, API, or front-end. For the Python client and API, provide the relative path from the Repository root as input to the Python Client or Core API. From the example above; subfolder_1 or subfolder_2.

When creating a Deployment in the front-end, you can choose to use the root folder or not as part of the Repository step. If you do not choose to use the root, you can select the folder that you want to use instead.