AIInferenceModelFactory.ModelInfo(String, ModelType, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET