CustomAIModelProperties interface

Custom AI model properties.

Properties

baseModel

The base model this custom model was trained from (id + config.json). Immutable after creation.

description

Optional. Free-form description of the model. Mutable.

modelId

The model identifier, interpreted per the referenced ModelSource type. For HuggingFace sources this is the upstream <org>/<repo> id, e.g. meta-llama/Llama-2-7b-chat. For MicrosoftFoundry sources this is modelName/version, e.g. private-llama/1. Immutable after creation.

modelSourceResourceId

Azure resource id of the ModelSource to use when pulling artifacts. Used to determine model location and access. Immutable after creation.

provisioningState

The status of the last operation.

spec

Read-only. Platform-resolved specification of the model.

Property Details

baseModel

The base model this custom model was trained from (id + config.json). Immutable after creation.

baseModel: BaseModelReference

Property Value

description

Optional. Free-form description of the model. Mutable.

description?: string

Property Value

string

modelId

The model identifier, interpreted per the referenced ModelSource type. For HuggingFace sources this is the upstream <org>/<repo> id, e.g. meta-llama/Llama-2-7b-chat. For MicrosoftFoundry sources this is modelName/version, e.g. private-llama/1. Immutable after creation.

modelId: string

Property Value

string

modelSourceResourceId

Azure resource id of the ModelSource to use when pulling artifacts. Used to determine model location and access. Immutable after creation.

modelSourceResourceId: string

Property Value

string

provisioningState

The status of the last operation.

provisioningState?: string

Property Value

string

spec

Read-only. Platform-resolved specification of the model.

spec?: CustomAIModelSpec

Property Value