The lifecycle details.

interface LifeCycleState {
    alternative_model_ids?: string[];
    id: string;
    label?: string;
    start_date?: string;
    url?: string;
}

Properties

alternative_model_ids?: string[]

Alternative models, or model versions, that can be used instead of this model.

id: string

The possible lifecycle stages, in order, are described below:

  • available: this means that the model is available for use.
  • deprecated: this means that the model is still available but the model will be removed soon, so an alternative model should be used.
  • constricted: this means that the model is still available for inferencing but cannot be used for training or in a deployment. The model will be removed soon so an alternative model should be used.
  • withdrawn: this means that the model is no longer available, check the alternative_model_ids to see what it can be replaced by.
label?: string

An optional label that may be used in the UI.

start_date?: string

The date (ISO 8601 format YYYY-MM-DD) when this lifecycle stage starts.

url?: string

A link to the documentation specifying details on the lifecycle plan for this model.