google.generativeai.list_tuned_models#
View source on GitHub |
Calls the API to list all tuned models.
google.generativeai.list_tuned_models(
*,
page_size: (int | None) = 50,
client: (glm.ModelServiceClient | None) = None,
request_options: (helper_types.RequestOptionsType | None) = None
) -> model_types.TunedModelsIterable
import pprint
for model in genai.list_tuned_models():
pprint.pprint(model)
Args | |
---|---|
How many |
|
You may pass a |
|
Options for the request. |
Yields | |
---|---|
|