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)
62
Assert.Throws<ArgumentNullException>("innerClient", () => ((IChatClient)null!).
AsBuilder
());
ChatCompletion\ConfigureOptionsChatClientTests.cs (2)
26
var builder = innerClient.
AsBuilder
();
59
.
AsBuilder
()
ChatCompletion\FunctionInvokingChatClientTests.cs (3)
373
IChatClient service = innerClient.
AsBuilder
().UseFunctionInvocation().Build();
524
IChatClient service = configurePipeline(innerClient.
AsBuilder
()).Build(services);
591
IChatClient service = configurePipeline(innerClient.
AsBuilder
()).Build(services);