21 references to AddChatClient
Aspire.Azure.AI.OpenAI.Tests (9)
AspireAzureOpenAIClientBuilderChatClientExtensionsTests.cs (7)
31builder.AddAzureOpenAIClient("openai").AddChatClient(); 61builder.AddAzureOpenAIClient("openai").AddChatClient(); 89builder.AddAzureOpenAIClient("openai").AddChatClient("testdeployment1"); 117builder.AddAzureOpenAIClient("openai").AddChatClient(); 148builder.AddAzureOpenAIClient("openai").AddChatClient(); 182builder.AddAzureOpenAIClient("openai").AddChatClient("testdeployment1"); 209builder.AddAzureOpenAIClient("openai").AddChatClient("testdeployment1").Use(TestMiddleware, null);
AspireConfigurableOpenAIExtensionsTests.cs (1)
232: builder.AddOpenAIClientFromConfiguration("openai").AddChatClient();
ConformanceTests.cs (1)
69builder.AddAzureOpenAIClient("openai", ConfigureCredentials).AddChatClient();
Aspire.OpenAI.Tests (10)
AspireOpenAIClientBuilderChatClientExtensionsTests.cs (8)
34builder.AddOpenAIClient("openai").AddChatClient(); 64builder.AddOpenAIClient("openai").AddChatClient(); 92builder.AddOpenAIClient("openai").AddChatClient("testdeployment1"); 120builder.AddOpenAIClient("openai").AddChatClient(); 151builder.AddOpenAIClient("openai").AddChatClient(); 185builder.AddOpenAIClient("openai").AddChatClient("testdeployment1"); 212builder.AddOpenAIClient("openai").AddChatClient("testdeployment1").Use(TestMiddleware, null); 245builder.AddOpenAIClient("openai").AddChatClient("testdeployment1").Use(TestMiddleware, null);
ConformanceTests.cs (1)
60builder.AddOpenAIClient("openai", configure).AddChatClient();
OpenAIPublicApiTests.cs (1)
50var action = () => builder.AddChatClient();
AzureOpenAIEndToEnd.WebStory (1)
Program.cs (1)
11.AddChatClient();
OpenAIEndToEnd.WebStory (1)
Program.cs (1)
10builder.AddOpenAIClient("chat").AddChatClient();