37 references to AddAzureOpenAIClient
Aspire.Azure.AI.OpenAI (1)
AspireConfigurableOpenAIExtensions.cs (1)
43
builder.
AddAzureOpenAIClient
(connectionName);
Aspire.Azure.AI.OpenAI.Tests (35)
AspireAzureAIOpenAIExtensionsTests.cs (6)
40
builder.
AddAzureOpenAIClient
("openai");
71
builder.
AddAzureOpenAIClient
("openai");
97
builder.
AddAzureOpenAIClient
("openai", settings => { settings.Endpoint = uri; settings.Key = key; });
120
builder.
AddAzureOpenAIClient
("openai");
138
builder.
AddAzureOpenAIClient
("openai1");
178
builder.
AddAzureOpenAIClient
("openai", configureClientBuilder: BuildConfiguration);
AspireAzureOpenAIClientBuilderChatClientExtensionsTests.cs (14)
27
builder.
AddAzureOpenAIClient
("openai").AddKeyedChatClient("openai_chatclient");
31
builder.
AddAzureOpenAIClient
("openai").AddChatClient();
57
builder.
AddAzureOpenAIClient
("openai").AddKeyedChatClient("openai_chatclient");
61
builder.
AddAzureOpenAIClient
("openai").AddChatClient();
85
builder.
AddAzureOpenAIClient
("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1");
89
builder.
AddAzureOpenAIClient
("openai").AddChatClient("testdeployment1");
113
builder.
AddAzureOpenAIClient
("openai").AddKeyedChatClient("openai_chatclient");
117
builder.
AddAzureOpenAIClient
("openai").AddChatClient();
144
builder.
AddAzureOpenAIClient
("openai").AddKeyedChatClient("openai_chatclient");
148
builder.
AddAzureOpenAIClient
("openai").AddChatClient();
178
builder.
AddAzureOpenAIClient
("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1");
182
builder.
AddAzureOpenAIClient
("openai").AddChatClient("testdeployment1");
205
builder.
AddAzureOpenAIClient
("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1").Use(TestMiddleware, null);
209
builder.
AddAzureOpenAIClient
("openai").AddChatClient("testdeployment1").Use(TestMiddleware, null);
AspireAzureOpenAIClientBuilderEmbeddingGeneratorExtensionsTests.cs (14)
27
builder.
AddAzureOpenAIClient
("openai").AddKeyedEmbeddingGenerator("openai_embeddinggenerator");
31
builder.
AddAzureOpenAIClient
("openai").AddEmbeddingGenerator();
57
builder.
AddAzureOpenAIClient
("openai").AddKeyedEmbeddingGenerator("openai_embeddinggenerator");
61
builder.
AddAzureOpenAIClient
("openai").AddEmbeddingGenerator();
85
builder.
AddAzureOpenAIClient
("openai").AddKeyedEmbeddingGenerator("openai_embeddinggenerator", "testdeployment1");
89
builder.
AddAzureOpenAIClient
("openai").AddEmbeddingGenerator("testdeployment1");
113
builder.
AddAzureOpenAIClient
("openai").AddKeyedEmbeddingGenerator("openai_embeddinggenerator");
117
builder.
AddAzureOpenAIClient
("openai").AddEmbeddingGenerator();
144
builder.
AddAzureOpenAIClient
("openai").AddKeyedEmbeddingGenerator("openai_embeddinggenerator");
148
builder.
AddAzureOpenAIClient
("openai").AddEmbeddingGenerator();
178
builder.
AddAzureOpenAIClient
("openai").AddKeyedEmbeddingGenerator("openai_embeddinggenerator", "testdeployment1");
182
builder.
AddAzureOpenAIClient
("openai").AddEmbeddingGenerator("testdeployment1");
205
builder.
AddAzureOpenAIClient
("openai").AddKeyedEmbeddingGenerator("openai_embeddinggenerator", "testdeployment1").Use(TestMiddleware);
209
builder.
AddAzureOpenAIClient
("openai").AddEmbeddingGenerator("testdeployment1").Use(TestMiddleware);
ConformanceTests.cs (1)
67
builder.
AddAzureOpenAIClient
("openai", ConfigureCredentials);
OpenAIEndToEnd.WebStory (1)
Program.cs (1)
13
builder.
AddAzureOpenAIClient
("openai").AddChatClient(openAiDeploymentName);