본문으로 건너뛰기

LLMModelCreate

Payload used to create LLM Model. Required fields are name, type, provider.

nameName (string)필수
alias object
하나 이상(anyOf)
string
typeType (string)필수

Model placement: internal hosts the model in D.Hub; external registers an existing endpoint.

Possible values: [internal, external]

providerProvider (string)필수

Provider identifier returned by the provider-list operation.

label object
하나 이상(anyOf)
string
hint_i18n_key object
하나 이상(anyOf)
string
model object
하나 이상(anyOf)
string
context_window object

Maximum model context size in tokens.

하나 이상(anyOf)
integer

Possible values: >= 1

deployment object
하나 이상(anyOf)
imageImage (string)필수

Fully qualified container image reference for the model server.

command object

Optional container entrypoint override.

하나 이상(anyOf)
  • Array [
  • string
  • ]
  • options object

    Runtime options converted to command-line flags when the model starts.

    property name* object
    하나 이상(anyOf)
    string
    args object

    Additional command-line arguments appended after rendered runtime options.

    하나 이상(anyOf)
  • Array [
  • string
  • ]
  • portPort (integer)
    기본값: 8080
    cpu object

    Requested CPU amount, such as 500m.

    하나 이상(anyOf)
    string
    memory object

    Requested memory amount, such as 2Gi.

    하나 이상(anyOf)
    string
    gpu object

    GPU count request

    하나 이상(anyOf)
    integer
    replicasReplicas (integer)
    기본값: 1
    health_pathHealth Path (string)
    기본값: /healthz
    env object

    Non-secret environment variables passed to the model container.

    property name*string
    node_selector object
    property name*string
    base_url object
    하나 이상(anyOf)
    string
    api_key object
    하나 이상(anyOf)
    string
    temperature object
    하나 이상(anyOf)
    number

    Possible values: >= 0 and <= 2

    max_tokens object
    하나 이상(anyOf)
    integer

    Possible values: >= 1

    max_retries object
    하나 이상(anyOf)
    integer

    Possible values: >= 0

    request_timeout object
    하나 이상(anyOf)
    number

    Possible values: > 0

    streaming object
    하나 이상(anyOf)
    boolean
    model_kwargs object
    하나 이상(anyOf)
    object
    reasoning object
    하나 이상(anyOf)
    supportedSupported (boolean)
    기본값: false
    levelsstring[]

    Possible values: [low, medium, high, xhigh]

    default object
    하나 이상(anyOf)
    string

    Possible values: [low, medium, high, xhigh]

    collection_id object

    Identifier of the containing collection.

    하나 이상(anyOf)
    string

    Possible values: non-empty

    folder_id object
    하나 이상(anyOf)
    string
    tags object
    하나 이상(anyOf)
  • Array [
  • string
  • ]
  • description object
    하나 이상(anyOf)
    string
    LLMModelCreate
    {
    "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"
    }