Skip to main content

Module identifiers

Module identifiers 

Source
Expand description

The vocabulary types that identify a model and its runtime.

Modality, Capability, SourceKind, and RuntimeId are open string sets (new values can appear without a code change), modeled as string newtypes with constructors for the well-known values. The remaining enums are closed.

Structs§

BidPreference
The bid preference numbers runtime adapters use to compete for a model. Lower wins. This is the single global ordering; adapters must not mint their own.
Capability
Something a model can be asked to do.
Modality
A model’s primary output modality.
RuntimeId
The identifier of a runtime adapter that can execute a model.
SourceKind
Where a model was found or installed from.

Enums§

ExecutionMode
How a runtime delivers a model’s output.
ModelState
The lifecycle state of a model record.
RunTier
How much support a model needs before it can run.