20 references to AddChatClient
Aspire.Azure.AI.Extensions.OpenAI.Tests (7)
AspireAzureOpenAIExtensionsTests.cs (2)
133
clientBuilder.
AddChatClient
();
234
clientBuilder.
AddChatClient
("chat");
AspireAzureProjectOpenAIExtensionsTests.cs (2)
200
clientBuilder.
AddChatClient
();
370
clientBuilder.
AddChatClient
("chat");
AspireConfigurableOpenAIExtensionsTests.cs (1)
190
builder.
AddChatClient
();
ConformanceTests.cs (2)
38
builder.AddAzureOpenAIClient("openai", configure).
AddChatClient
();
101
builder.AddAzureProjectOpenAIClient("project", configure).
AddChatClient
();
Aspire.OpenAI.Tests (10)
AspireOpenAIClientBuilderChatClientExtensionsTests.cs (8)
34
builder.AddOpenAIClient("openai").
AddChatClient
();
64
builder.AddOpenAIClient("openai").
AddChatClient
();
92
builder.AddOpenAIClient("openai").
AddChatClient
("testdeployment1");
120
builder.AddOpenAIClient("openai").
AddChatClient
();
151
builder.AddOpenAIClient("openai").
AddChatClient
();
190
builder.AddOpenAIClient("openai").
AddChatClient
("testdeployment1");
217
builder.AddOpenAIClient("openai").
AddChatClient
("testdeployment1").Use(TestMiddleware, null);
251
builder.AddOpenAIClient("openai").
AddChatClient
("testdeployment1").Use(TestMiddleware, null);
ConformanceTests.cs (1)
59
builder.AddOpenAIClient("openai", configure).
AddChatClient
();
OpenAIPublicApiTests.cs (1)
50
var action = () => builder.
AddChatClient
();
AzureOpenAIEndToEnd.WebStory (1)
Program.cs (1)
11
.
AddChatClient
();
FoundryEndToEnd.WebStory (1)
Program.cs (1)
10
builder.AddOpenAIClientFromConfiguration("chat").
AddChatClient
();
OpenAIEndToEnd.WebStory (1)
Program.cs (1)
10
builder.AddOpenAIClient("chat").
AddChatClient
();