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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET