7 references to AzureOpenAIResource
Aspire.Hosting.Azure.CognitiveServices (7)
AzureOpenAIExtensions.cs (7)
23public static IResourceBuilder<AzureOpenAIResource> AddAzureOpenAI(this IDistributedApplicationBuilder builder, [ResourceName] string name) 59var resource = (AzureOpenAIResource)infrastructure.AspireResource; 101var resource = new AzureOpenAIResource(name, configureInfrastructure); 107/// Adds an Azure OpenAI Deployment resource to the application model. This resource requires an <see cref="AzureOpenAIResource"/> to be added to the application model. 112public static IResourceBuilder<AzureOpenAIResource> AddDeployment(this IResourceBuilder<AzureOpenAIResource> builder, AzureOpenAIDeployment deployment)