list

public Pager<Model> list(ListModelsConfig config)

Makes an API request to list the available models.

If `queryBase` is set to True in the ListModelsConfig or not set (default), the API will return all available base models. If set to False, it will return all tuned models.

Return

A Pager object that contains the list of models. The pager is an iterable and automatically queries the next page once the current page is exhausted.

Parameters

config

A ListModelsConfig for configuring the list request.