Chapter 6. New configuration fields with Red Hat Quay 3.14
The following sections detail new configuration fields added in Red Hat Quay 3.14.
6.1. Model card rendering configuration fields
The following configuration fields have been added to support model card rendering on the v2 UI.
Field | Type | Description |
---|---|---|
FEATURE_UI_MODELCARD | Boolean |
Enables Model card image tab in UI. Defaults to |
UI_MODELCARD_ARTIFACT_TYPE | String | Defines the model card artifact type. |
UI_MODELCARD_ANNOTATION | Object | This optional field defines the layer annotation of the model card stored in an OCI image. |
UI_MODELCARD_LAYER_ANNOTATION | Object | This optional field defines the layer annotation of the model card stored in an OCI image. |
Example model card YAML
FEATURE_UI_MODELCARD: true UI_MODELCARD_ARTIFACT_TYPE: application/x-mlmodel UI_MODELCARD_ANNOTATION: org.opencontainers.image.description: "Model card metadata" UI_MODELCARD_LAYER_ANNOTATION: org.opencontainers.image.title: README.md
FEATURE_UI_MODELCARD: true
UI_MODELCARD_ARTIFACT_TYPE: application/x-mlmodel
UI_MODELCARD_ANNOTATION:
org.opencontainers.image.description: "Model card metadata"
UI_MODELCARD_LAYER_ANNOTATION:
org.opencontainers.image.title: README.md
- 1
- Enables the Model Card image tab in the UI.
- 2
- Defines the model card artifact type. In this example, the artifact type is
application/x-mlmodel
. - 3
- Optional. If an image does not have an
artifactType
defined, this field is checked at the manifest level. If a matching annotation is found, the system then searches for a layer with an annotation matchingUI_MODELCARD_LAYER_ANNOTATION
. - 4
- Optional. If an image has an
artifactType
defined and multiple layers, this field is used to locate the specific layer containing the model card.