5 references to AddOpenAIClientFromConfiguration
Aspire.Azure.AI.Extensions.OpenAI (1)
AspireConfigurableOpenAIExtensions.cs (1)
60
/// <remarks>Uses the same endpoint and authentication selection as <see cref="
AddOpenAIClientFromConfiguration
"/>.</remarks>
Aspire.Azure.AI.Extensions.OpenAI.Tests (3)
AspireConfigurableOpenAIExtensionsTests.cs (3)
123
Assert.Throws<ArgumentNullException>(() => AspireConfigurableOpenAIExtensions.
AddOpenAIClientFromConfiguration
(null!, "chat"));
126
Assert.Throws<ArgumentException>(() => builder.
AddOpenAIClientFromConfiguration
(""));
180
=> keyed ? builder.AddKeyedOpenAIClientFromConfiguration("chat") : builder.
AddOpenAIClientFromConfiguration
("chat");
FoundryEndToEnd.WebStory (1)
Program.cs (1)
10
builder.
AddOpenAIClientFromConfiguration
("chat").AddChatClient();