1 write to _chatClient
Microsoft.Extensions.AI.Integration.Tests (1)
ChatClientIntegrationTests.cs (1)
34_chatClient = CreateChatClient();
16 references to _chatClient
Microsoft.Extensions.AI.Integration.Tests (16)
ChatClientIntegrationTests.cs (16)
39_chatClient?.Dispose(); 50var response = await _chatClient.CompleteAsync("What's the biggest animal?"); 60var response = await _chatClient.CompleteAsync( 85await foreach (var chunk in _chatClient.CompleteStreamingAsync(chatHistory)) 103var response = await _chatClient.CompleteAsync("Explain in 10 words how AI works"); 116var response = _chatClient.CompleteStreamingAsync("Explain in 10 words how AI works", new() 145var response = await _chatClient.CompleteAsync( 164using var chatClient = new FunctionInvokingChatClient(_chatClient); 194using var chatClient = new FunctionInvokingChatClient(_chatClient); 210using var chatClient = new FunctionInvokingChatClient(_chatClient); 237using var chatClient = new FunctionInvokingChatClient(_chatClient); 270using var chatClient = new FunctionInvokingChatClient(_chatClient); 291using var chatClient = new FunctionInvokingChatClient(_chatClient); 309var firstResponse = await _chatClient.CompleteAsync([message]); 312var secondResponse = await _chatClient.CompleteAsync([message]); 322_chatClient,