Moving a Model Between Compartments

Move a model in Language to a different compartment.

    1. Open the navigation menu and select Analytics & AI. Under AI Services, select Language.
    2. In the left-side navigation menu, select Projects.
      The projects list page opens. All projects in the selected compartment are displayed in a table.
    3. Select the compartment that contains the project with the models that you want to view.
    4. Under Resources, select Models.

      The models in the project are displayed. All models are displayed in a table.

    5. Click the name of the model to move.

      The model details page opens.

    6. Click the name of the model to move, and then click Move resource.
    7. Select the new compartment for the model and, then click Move resource.
    A notification displays indicating that the model is moved to the new compartment successfully. You might notice the model status change to Moving. After the move has completed successfully, the model status changes back to Active.
  • Use the oci ai language endpoint change-compartment command and required parameters to change a model's compartment:

    oci ai language endpoint change-compartment --compartment-id <compartment-id>.-c [<text>].. [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Use the ChangeModelCompartment operation to change the compartment for the model.