LLMModelCreate
Payload used to create LLM Model. Required fields are name, type, provider.
alias object
- string
- null
Model placement: internal hosts the model in D.Hub; external registers an existing endpoint.
Possible values: [internal, external]
Provider identifier returned by the provider-list operation.
label object
- string
- null
hint_i18n_key object
- string
- null
model object
- string
- null
context_window object
Maximum model context size in tokens.
- integer
- null
Possible values: >= 1
deployment object
- LLMModelDeployment
- null
Fully qualified container image reference for the model server.
command object
Optional container entrypoint override.
- string[]
- null
options object
Runtime options converted to command-line flags when the model starts.
property name* object
- string
- integer
- number
- boolean
- null
args object
Additional command-line arguments appended after rendered runtime options.
- string[]
- null
8080cpu object
Requested CPU amount, such as 500m.
- string
- null
memory object
Requested memory amount, such as 2Gi.
- string
- null
gpu object
GPU count request
- integer
- null
1/healthzenv object
Non-secret environment variables passed to the model container.
node_selector object
base_url object
- string
- null
api_key object
- string
- null
temperature object
- number
- null
Possible values: >= 0 and <= 2
max_tokens object
- integer
- null
Possible values: >= 1
max_retries object
- integer
- null
Possible values: >= 0
request_timeout object
- number
- null
Possible values: > 0
streaming object
- boolean
- null
model_kwargs object
- object
- null
reasoning object
- LLMReasoningCapability
- null
falsePossible values: [low, medium, high, xhigh]
default object
- string
- null
Possible values: [low, medium, high, xhigh]
collection_id object
Identifier of the containing collection.
- string
- null
Possible values: non-empty
folder_id object
- string
- null
tags object
- string[]
- null
description object
- string
- null
{
"name": "string",
"alias": "string",
"type": "internal",
"provider": "string",
"label": "string",
"hint_i18n_key": "string",
"model": "string",
"context_window": 0,
"deployment": {
"image": "string",
"command": [
"string"
],
"options": {},
"args": [
"string"
],
"port": 8080,
"cpu": "string",
"memory": "string",
"gpu": 0,
"replicas": 1,
"health_path": "/healthz",
"env": {},
"node_selector": {}
},
"base_url": "string",
"api_key": "string",
"temperature": 0,
"max_tokens": 0,
"max_retries": 0,
"request_timeout": 0,
"streaming": true,
"model_kwargs": {},
"reasoning": {
"supported": false,
"levels": [
"low"
],
"default": "low"
},
"collection_id": "string",
"folder_id": "string",
"tags": [
"string"
],
"description": "string"
}