package
0.0.0-20250210042439-635214f5ce39
Repository: https://github.com/cloudnativeai/model-spec.git
Documentation: pkg.go.dev
# Constants
AnnotationConfig is the annotation key for the layer is a configuration file (boolean), such as `true` or `false`.
AnnotationFilepath is the annotation key for the file path of the layer.
AnnotationModel is the annotation key for the layer is a model file (boolean), such as `true` or `false`.
ArtifactTypeModelConfig specifies the media type for a model configuration.
ArtifactTypeModelLayer is the media type used for layers referenced by the manifest.
ArtifactTypeModelLayerGzip is the media type used for gzipped layers referenced by the manifest.
ArtifactTypeModelManifest specifies the media type for a model manifest.
# Structs
Model defines the basic information of a model.
ModelConfig defines the execution parameters which should be used as a base when running a model using an inference engine.
ModelDescriptor defines the general information of a model.
ModelFS describes a layer content addresses.