Skip to content

CreateMaaSModelRefRequest

Request body for creating a new MaaSModelRef resource

Type: object

Properties

Property Type Required Description
name string Yes

Name for the MaaSModelRef resource

Example: granite-3-8b-instruct

namespace string Yes

Namespace for the MaaSModelRef resource

Example: maas-models

modelRef ModelReference Yes
endpointOverride string No

Optional endpoint URL override

Example:

uid string No

UID of the OwnerReference Resource

Example:

displayName string No

Human-readable display name stored as openshift.io/display-name annotation

Example: Granite 3 8B Instruct

description string No

Human-readable description stored as openshift.io/description annotation

Example: A high-performance instruction-tuned language model

modelCapabilities array of string No

Model capability tags copied from the opendatahub.io/model-capabilities annotation on the source LLMInferenceService (e.g. text-generation, vision). Omit or leave empty when the annotation is absent.

Constraints: maximum items 50

Example

{
  "name": "granite-3-8b-instruct",
  "namespace": "maas-models",
  "modelRef": {
    "kind": "LLMInferenceService",
    "name": "llama-2-7b-chat"
  },
  "endpointOverride": "",
  "uid": "",
  "displayName": "Granite 3 8B Instruct",
  "description": "A high-performance instruction-tuned language model",
  "modelCapabilities": ["text-generation", "vision"]
}