google.generativeai.get_tuned_model#
|  View source on GitHub | 
Calls the API to fetch a tuned model by name.
google.generativeai.get_tuned_model(
    name: model_types.TunedModelNameOptions,
    *,
    client=None,
    request_options: (helper_types.RequestOptionsType | None) = None
) -> model_types.TunedModel
import pprint
model = genai.get_tuned_model('tunedModels/gemini-1.0-pro-001')
pprint.pprint(model)
| Args | |
|---|---|
| The name of the model to fetch. Should start with  | |
| The client to use. | |
| Options for the request. | |
| Returns | |
|---|---|