SDK reference / Models / Ai

AiModel

Kind: class

Namespace: Egulu.Sdk.Models.Ai

Immutable model or LoRA adapter artefact registered by @sha256: digest (ADR-1005, ADR-1007).Unsigned, mutable-tag, or pickle-serialised (.pkl, .pt, .bin) artefacts are refused at admission.

Properties

NameTypeJSON nameDescription
AnnotationsModels.Ai.AiModel_annotations?annotationsAt most 256 KiB in all; never policy input.
ArtefactRefstring?artefactRefImmutable content-addressed artefact reference (`name@sha256:<64 hex>`).
BaseModelDigeststring?baseModelDigestDigest of the base model when `kind` is `adapter`.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
Digeststring?digestExtracted immutable `sha256:<64 hex>` digest.
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
FilePathsList<string>?filePathsArtefact file paths validated against pickle-format prohibition (`.safetensors`, `.gguf`, `.json`, `.tiktoken`).
Formatstring?formatSafe serialisation format: `gguf` | `safetensors` | `onnx`.
HasVerifiedSignaturebool?hasVerifiedSignatureWhether the artefact carries a verified Cosign / provenance signature (default `true` when verified; `false` is refused).
Kindstring?kind`base` | `adapter` (LoRA/QLoRA adapter pinned to `baseModelDigest`).
LabelsModels.Ai.AiModel_labels?labelsAt most 64.
Modalitystring?modalityModality (`text` | `embeddings` | `rerank`); generative media (`image`, `video`, `voice-cloning`) is refused with `modality-not-available`.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
ParameterCountBillionsdouble?parameterCountBillionsApproximate parameter count in billions.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
SourceTrainingJobstring?sourceTrainingJobCanonical resource name of the `ai.TrainingJob` that produced this artefact, if any.
SpdxLicencestring?spdxLicenceSPDX licence identifier (`Apache-2.0`, `MIT`, `Llama-3.1`, …).
StateModels.Ai.AiModelState?stateModel registry artefact lifecycle states (ADR-1005).
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property