Method: projects.locations.tuningJobs.rebaseTunedModel

Rebase a TunedModel.

Endpoint

post https://aiplatform.googleapis.com/v1beta1/{parent}/tuningJobs:rebaseTunedModel

Path parameters

parent string

Required. The resource name of the Location into which to rebase the Model. Format: projects/{project}/locations/{location}

Request body

The request body contains data with the following structure:

Fields
tunedModelRef object (TunedModelRef)

Required. TunedModel reference to retrieve the legacy model information.

tuningJob object (TuningJob)

Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.

artifactDestination object (GcsDestination)

Optional. The Google Cloud Storage location to write the artifacts.

deployToSameEndpoint boolean

Optional. By default, bison to gemini migration will always create new model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the same endpoint. See details in this Section.

Response body

If successful, the response body contains an instance of Operation.

TunedModelRef

TunedModel Reference for legacy model migration.

Fields
tuned_model_ref Union type
The Tuned Model Reference for the model. tuned_model_ref can be only one of the following:
tunedModel string

Support migration from model registry.

tuningJob string

Support migration from tuning job list page, from gemini-1.0-pro-002 to 1.5 and above.

pipelineJob string

Support migration from tuning job list page, from bison model to gemini model.

JSON representation
{

  // tuned_model_ref
  "tunedModel": string,
  "tuningJob": string,
  "pipelineJob": string
  // Union type
}