Language

ModelVersion Class

Definition

Model Version Definition.

public class ModelVersion : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.ModelVersion>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.ModelVersion>
type ModelVersion = class
    interface IJsonModel<ModelVersion>
    interface IPersistableModel<ModelVersion>
Public Class ModelVersion
Implements IJsonModel(Of ModelVersion), IPersistableModel(Of ModelVersion)
Inheritance
ModelVersion
Implements

Constructors

Name Description
ModelVersion(Uri)

Initializes a new instance of ModelVersion.

Properties

Name Description
ArtifactProfile

The artifact profile of the model.

BaseModel

Base model asset ID.

BlobUri

URI of the model artifact in blob storage.

Description

The asset description text.

Id

Asset ID, a unique identifier for the asset.

LoraConfig

Adapter-specific configuration. Required when weight_type is lora; ignored otherwise. May be auto-populated from adapter_config.json when present in the uploaded files — user-provided values take precedence over auto-detected values.

Name

The name of the resource.

Source

The source of the model.

Tags

Tag dictionary. Tags can be added, removed, and updated.

Version

The version of the resource.

Warnings

Service-computed advisory warnings derived from the artifact profile.

WeightType

The weight type of the model.

Methods

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

Operators

Name Description
Explicit(ClientResult to ModelVersion)
Implicit(ModelVersion to BinaryContent)

Explicit Interface Implementations

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

Applies to