Objects
A detailed description of the objects used in the client library
Last updated
A detailed description of the objects used in the client library
Last updated
The Instance
class represents an instance managed by the library. It contains the instance's metadata, arguments, and status.
The InstanceArgs
encapsulate the arguments of an instance.
The InstanceStatus
represents the current status and lifecycle information of an instance.
The WorkerStatus represents the status of an individual worker. As soon as at least one worker is running, the instance is usable and can be queried.
The ModelPreview
object provides basic information about a model, including its model_id
, creator details, configuration options, etc.
The HardwareType
object defines the specifications and pricing details for a hardware type available for instances. It includes information about the id, pricing, and technical specifications.