AzureOpenAIDeployment(String, String, String, String, Int32) Constructor

Definition

Represents an Azure OpenAI Deployment.

public AzureOpenAIDeployment (string name, string modelName, string modelVersion, string skuName = "Standard", int skuCapacity = 8);
new Aspire.Hosting.ApplicationModel.AzureOpenAIDeployment : string * string * string * string * int -> Aspire.Hosting.ApplicationModel.AzureOpenAIDeployment
Public Sub New (name As String, modelName As String, modelVersion As String, Optional skuName As String = "Standard", Optional skuCapacity As Integer = 8)

Parameters

name
String

The name of the deployment

modelName
String

The name of the model.

modelVersion
String

The version of the model.

skuName
String

The name of the SKU.

skuCapacity
Int32

The capacity of the SKU.

Applies to