8 instantiations of FunctionInvokingChatClient
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClientBuilderExtensions.cs (1)
27var chatClient = new FunctionInvokingChatClient(innerClient);
Microsoft.Extensions.AI.Integration.Tests (6)
ChatClientIntegrationTests.cs (6)
133using var chatClient = new FunctionInvokingChatClient(_chatClient); 151using var chatClient = new FunctionInvokingChatClient(_chatClient); 167using var chatClient = new FunctionInvokingChatClient(_chatClient); 194using var chatClient = new FunctionInvokingChatClient(_chatClient); 227using var chatClient = new FunctionInvokingChatClient(_chatClient); 248using var chatClient = new FunctionInvokingChatClient(_chatClient);
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\FunctionInvokingChatClientTests.cs (1)
19using FunctionInvokingChatClient client = new(innerClient);
25 references to FunctionInvokingChatClient
Microsoft.Extensions.AI (10)
ChatCompletion\FunctionInvokingChatClient.cs (5)
43/// Initializes a new instance of the <see cref="FunctionInvokingChatClient"/> class. 121/// <see cref="FunctionInvokingChatClient"/>, the <see cref="FunctionInvokingChatClient"/> adds 142/// Each request to this <see cref="FunctionInvokingChatClient"/> may end up making 600/// The initial request to the client that passes along the chat contents provided to the <see cref="FunctionInvokingChatClient"/>
ChatCompletion\FunctionInvokingChatClientBuilderExtensions.cs (5)
10/// Provides extension methods for attaching a <see cref="FunctionInvokingChatClient"/> to a chat pipeline. 17/// <remarks>This works by adding an instance of <see cref="FunctionInvokingChatClient"/> with default options.</remarks> 19/// <param name="configure">An optional callback that can be used to configure the <see cref="FunctionInvokingChatClient"/> instance.</param> 21public static ChatClientBuilder UseFunctionInvocation(this ChatClientBuilder builder, Action<FunctionInvokingChatClient>? configure = null) 27var chatClient = new FunctionInvokingChatClient(innerClient);
Microsoft.Extensions.AI.AzureAIInference.Tests (2)
AzureAIInferenceChatClientTests.cs (2)
72Assert.NotNull(pipeline.GetService<FunctionInvokingChatClient>()); 78Assert.IsType<FunctionInvokingChatClient>(pipeline.GetService<IChatClient>());
Microsoft.Extensions.AI.Integration.Tests (6)
ChatClientIntegrationTests.cs (6)
133using var chatClient = new FunctionInvokingChatClient(_chatClient); 151using var chatClient = new FunctionInvokingChatClient(_chatClient); 167using var chatClient = new FunctionInvokingChatClient(_chatClient); 194using var chatClient = new FunctionInvokingChatClient(_chatClient); 227using var chatClient = new FunctionInvokingChatClient(_chatClient); 248using var chatClient = new FunctionInvokingChatClient(_chatClient);
Microsoft.Extensions.AI.Ollama.Tests (2)
OllamaChatClientTests.cs (2)
43Assert.NotNull(pipeline.GetService<FunctionInvokingChatClient>()); 49Assert.IsType<FunctionInvokingChatClient>(pipeline.GetService<IChatClient>());
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAIChatClientTests.cs (4)
90Assert.NotNull(pipeline.GetService<FunctionInvokingChatClient>()); 96Assert.IsType<FunctionInvokingChatClient>(pipeline.GetService<IChatClient>()); 114Assert.NotNull(pipeline.GetService<FunctionInvokingChatClient>()); 120Assert.IsType<FunctionInvokingChatClient>(pipeline.GetService<IChatClient>());
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\FunctionInvokingChatClientTests.cs (1)
19using FunctionInvokingChatClient client = new(innerClient);