BetaModelsCreateOptions interface

Options for the create method that uploads local files and registers a model version.

Extends

Properties

baseModel

Base model asset ID.

description

Description of the model version.

pollingInterval

Polling interval in milliseconds. Default: 2000.

pollingTimeout

Polling timeout in milliseconds. Default: 300000 (5 minutes).

tags

Tag dictionary.

weightType

The weight type of the model (e.g. "FullWeight", "LoRA").

Inherited Properties

abortSignal

The signal which can be used to abort requests.

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

requestOptions

Options used when creating and sending HTTP requests for this operation.

tracingOptions

Options used when tracing is enabled.

Property Details

baseModel

Base model asset ID.

baseModel?: string

Property Value

string

description

Description of the model version.

description?: string

Property Value

string

pollingInterval

Polling interval in milliseconds. Default: 2000.

pollingInterval?: number

Property Value

number

pollingTimeout

Polling timeout in milliseconds. Default: 300000 (5 minutes).

pollingTimeout?: number

Property Value

number

tags

Tag dictionary.

tags?: Record<string, string>

Property Value

Record<string, string>

weightType

The weight type of the model (e.g. "FullWeight", "LoRA").

weightType?: FoundryModelWeightType

Property Value

Inherited Property Details

abortSignal

The signal which can be used to abort requests.

abortSignal?: AbortSignalLike

Property Value

Inherited From OperationOptions.abortSignal

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

onResponse?: RawResponseCallback

Property Value

Inherited From OperationOptions.onResponse

requestOptions

Options used when creating and sending HTTP requests for this operation.

requestOptions?: OperationRequestOptions

Property Value

Inherited From OperationOptions.requestOptions

tracingOptions

Options used when tracing is enabled.

tracingOptions?: OperationTracingOptions

Property Value

Inherited From OperationOptions.tracingOptions