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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.