BetaModelsCreateOptions interface
Options for the create method that uploads local files and registers a model version.
- Extends
Properties
| base |
Base model asset ID. |
| description | Description of the model version. |
| polling |
Polling interval in milliseconds. Default: 2000. |
| polling |
Polling timeout in milliseconds. Default: 300000 (5 minutes). |
| tags | Tag dictionary. |
| weight |
The weight type of the model (e.g. "FullWeight", "LoRA"). |
Inherited Properties
| abort |
The signal which can be used to abort requests. |
| on |
A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times. |
| request |
Options used when creating and sending HTTP requests for this operation. |
| tracing |
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