12 references to AsBuilder
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
AzureAIInferenceChatClientTests.cs (1)
81.AsBuilder()
Microsoft.Extensions.AI.Ollama.Tests (3)
OllamaChatClientIntegrationTests.cs (2)
41.AsBuilder() 66.AsBuilder()
OllamaChatClientTests.cs (1)
52.AsBuilder()
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIChatClientTests.cs (2)
99.AsBuilder() 124.AsBuilder()
Microsoft.Extensions.AI.Tests (6)
ChatCompletion\ChatClientBuilderTest.cs (1)
62Assert.Throws<ArgumentNullException>("innerClient", () => ((IChatClient)null!).AsBuilder());
ChatCompletion\ConfigureOptionsChatClientTests.cs (2)
26var builder = innerClient.AsBuilder(); 59.AsBuilder()
ChatCompletion\FunctionInvokingChatClientTests.cs (3)
373IChatClient service = innerClient.AsBuilder().UseFunctionInvocation().Build(); 524IChatClient service = configurePipeline(innerClient.AsBuilder()).Build(services); 591IChatClient service = configurePipeline(innerClient.AsBuilder()).Build(services);