CreateExternalModelRequest¶
Type: object
Properties¶
| Property | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
namespace | string | Yes | |
displayName | string | No | Optional human-readable display name (openshift.io/display-name annotation) |
description | string | No | Optional description (openshift.io/description annotation) |
modelName | string | No | ModelName is the client-facing model name used in inference request bodies. Clients send this value in the "model" field of chat completion requests. Defaults to metadata.name if not set. Use this field when the desired model name contains characters not allowed in Kubernetes resource names (dots, colons, slashes, uppercase). |
providerRefs | array of ProviderRef | Yes |
Example¶
{
"name": "string",
"namespace": "string",
"displayName": "string",
"description": "string",
"modelName": "string",
"providerRefs": [
{
"providerName": "string",
"weight": 0,
"apiFormat": "string",
"path": "string",
"targetModel": "string",
"config": {
"key": "string"
},
"authMechanism": "apikey",
"credentialSecretRef": "string",
"provider": {
"displayName": "string",
"description": "string",
"endpointUrl": "string",
"authMechanism": "apikey",
"credentialSecretRef": "string",
"provider": "string",
"config": {
"key": "string"
},
"phase": "string",
"statusMessage": "string",
"reason": "Reconciled"
}
}
]
}