3 instantiations of AzureOpenAIDeployment
Aspire.Hosting.Azure.Tests (2)
AzureBicepResourceTests.cs (2)
2647
.AddDeployment(
new
("mymodel", "gpt-35-turbo", "0613", "Basic", 4))
2648
.AddDeployment(
new
("embedding-model", "text-embedding-ada-002", "2", "Basic", 4));
OpenAIEndToEnd.AppHost (1)
Program.cs (1)
8
new
(deploymentAndModelName, deploymentAndModelName, "2024-05-13")
4 references to AzureOpenAIDeployment
Aspire.Hosting.Azure.CognitiveServices (4)
AzureOpenAIExtensions.cs (1)
112
public static IResourceBuilder<AzureOpenAIResource> AddDeployment(this IResourceBuilder<AzureOpenAIResource> builder,
AzureOpenAIDeployment
deployment)
AzureOpenAIResource.cs (3)
16
private readonly List<
AzureOpenAIDeployment
> _deployments = [];
32
public IReadOnlyList<
AzureOpenAIDeployment
> Deployments => _deployments;
34
internal void AddDeployment(
AzureOpenAIDeployment
deployment)