Rebase a TunedModel.
Endpoint
post https: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:
Required. TunedModel reference to retrieve the legacy model information.
Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.
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.
tuned_model_ref
. 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 |
---|
{ // Union field |
GcsDestination
The Google Cloud Storage location where the output is to be written to.
outputUriPrefix
string
Required. Google Cloud Storage URI to output directory. If the uri doesn't end with '/', a '/' will be automatically appended. The directory is created if it doesn't exist.
JSON representation |
---|
{ "outputUriPrefix": string } |