Language

CustomAIModelProperties Class

Definition

Custom AI model properties.

public class CustomAIModelProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerServiceAIManager.Models.CustomAIModelProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerServiceAIManager.Models.CustomAIModelProperties>
type CustomAIModelProperties = class
    interface IJsonModel<CustomAIModelProperties>
    interface IPersistableModel<CustomAIModelProperties>
Public Class CustomAIModelProperties
Implements IJsonModel(Of CustomAIModelProperties), IPersistableModel(Of CustomAIModelProperties)
Inheritance
CustomAIModelProperties
Implements

Constructors

Name Description
CustomAIModelProperties(String, BaseModelReference, ResourceIdentifier)

Initializes a new instance of CustomAIModelProperties.

Properties

Name Description
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 &lt;org&gt;/&lt;repo&gt; 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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CustomAIModelProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CustomAIModelProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CustomAIModelProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CustomAIModelProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CustomAIModelProperties>.Write(ModelReaderWriterOptions)

Applies to