Share via


AIInferenceModelFactory.ModelInfo(String, ModelType, String) Method

Definition

Initializes a new instance of ModelInfo.

public static Azure.AI.Inference.ModelInfo ModelInfo (string modelName = default, Azure.AI.Inference.ModelType modelType = default, string modelProviderName = default);
static member ModelInfo : string * Azure.AI.Inference.ModelType * string -> Azure.AI.Inference.ModelInfo
Public Shared Function ModelInfo (Optional modelName As String = Nothing, Optional modelType As ModelType = Nothing, Optional modelProviderName As String = Nothing) As ModelInfo

Parameters

modelName
String

The name of the AI model. For example: Phi21.

modelType
ModelType

The type of the AI model. A Unique identifier for the profile.

modelProviderName
String

The model provider name. For example: Microsoft Research.

Returns

A new ModelInfo instance for mocking.

Applies to