ModelCollection

class oci.generative_ai.models.ModelCollection(**kwargs)

Bases: object

Results of a model search. Contains ModelSummary items and other information such as metadata.

Methods:

__init__(**kwargs)

Initializes a new ModelCollection object with values from keyword arguments.

Attributes:

items

[Required] Gets the items of this ModelCollection.

__init__(**kwargs)

Initializes a new ModelCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

items (list[oci.generative_ai.models.ModelSummary]) – The value to assign to the items property of this ModelCollection.

property items

[Required] Gets the items of this ModelCollection. The results of a model search.

Returns

The items of this ModelCollection.

Return type

list[oci.generative_ai.models.ModelSummary]