maasmodelrefs
Update a MaaSModelRef
Updates an existing MaaSModelRef Kubernetes custom resource. K8s calls: PUT /k8s/v1/maasmodelref/:namespace/:name
put/api/v1/maasmodel/{namespace}/{name}
Path parameters
namespacestring required
Namespace of the MaaSModelRef
namestring required
Name of the MaaSModelRef to update
Request body
Example request
{
"modelRef": {
"kind": "LLMInferenceService",
"name": "llama-2-7b-chat"
},
"displayName": "Granite 3 8B Instruct",
"description": "A high-performance instruction-tuned language model",
"modelCapabilities": [
"text-generation",
"vision"
]
}Response
MaaSModelRef updated successfully
Example response
{
"name": "llama-2-7b-chat",
"namespace": "maas-models",
"displayName": "Granite 3 8B Instruct",
"description": "IBM Granite 3 8B instruction-tuned language model.",
"modelRef": {
"kind": "LLMInferenceService",
"name": "llama-2-7b-chat"
},
"phase": "Ready",
"endpoint": "https://llama-2-7b-chat.example.com",
"modelCapabilities": [
"text-generation",
"vision"
]
}