google.generativeai.get_tuned_model

Calls the API to fetch a tuned model by name.

import pprint
model = genai.get_tuned_model('tunedModels/gemini-1.0-pro-001')
pprint.pprint(model)

name The name of the model to fetch. Should start with tunedModels/
client The client to use.
request_options Options for the request.

A types.TunedModel.