Skip to content

UpdateMaaSModelRefRequest

Request body for updating an existing MaaSModelRef resource

Type: object

Properties

Property Type Required Description
modelRef ModelReference Yes
endpointOverride string No

Optional endpoint URL override

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 to set as the opendatahub.io/model-capabilities annotation. Omit to leave the existing annotation unchanged; send an empty array to remove it.

Constraints: maximum items 50

Example

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