Udostępnij za pośrednictwem


AzureOpenAIExtensions Class

Definition

Provides extension methods for adding the Azure OpenAI resources to the application model.

public static class AzureOpenAIExtensions
type AzureOpenAIExtensions = class
Public Module AzureOpenAIExtensions
Inheritance
AzureOpenAIExtensions

Methods

AddAzureOpenAI(IDistributedApplicationBuilder, String, Action<IResourceBuilder<AzureOpenAIResource>, ResourceModuleConstruct,CognitiveServicesAccount,IEnumerable<CognitiveServicesAccountDeployment>>)

Adds an Azure OpenAI resource to the application model.

AddAzureOpenAI(IDistributedApplicationBuilder, String)

Adds an Azure OpenAI resource to the application model.

AddDeployment(IResourceBuilder<AzureOpenAIResource>, AzureOpenAIDeployment)

Adds an Azure OpenAI Deployment resource to the application model. This resource requires an AzureOpenAIResource to be added to the application model.

Applies to