8 references to Use
Microsoft.Extensions.AI (1)
ChatCompletion\ConfigureOptionsChatClientBuilderExtensions.cs (1)
34
return builder.
Use
(innerClient => new ConfigureOptionsChatClient(innerClient, configure));
Microsoft.Extensions.AI.Tests (7)
ChatCompletion\ChatClientBuilderTest.cs (1)
76
builder.
Use
(_ => null!);
ChatCompletion\FunctionInvokingChatClientTests.cs (6)
114
Func<ChatClientBuilder, ChatClientBuilder> configure = b => b.
Use
(s => new FunctionInvokingChatClient(s) { ConcurrentInvocation = concurrentInvocation });
154
Func<ChatClientBuilder, ChatClientBuilder> configure = b => b.
Use
(s => new FunctionInvokingChatClient(s) { ConcurrentInvocation = true });
235
Func<ChatClientBuilder, ChatClientBuilder> configure = b => b.
Use
(client => new FunctionInvokingChatClient(client) { KeepFunctionCallingMessages = keepFunctionCallingMessages });
281
Func<ChatClientBuilder, ChatClientBuilder> configure = b => b.
Use
(client => new FunctionInvokingChatClient(client) { KeepFunctionCallingMessages = keepFunctionCallingMessages });
343
Func<ChatClientBuilder, ChatClientBuilder> configure = b => b.
Use
(s => new FunctionInvokingChatClient(s) { DetailedErrors = detailedErrors });
463
Func<ChatClientBuilder, ChatClientBuilder> configure = b => b.
Use
(c =>