1 write to _chatClient
Microsoft.Extensions.AI.Integration.Tests (1)
ChatClientIntegrationTests.cs (1)
33_chatClient = CreateChatClient();
16 references to _chatClient
Microsoft.Extensions.AI.Integration.Tests (16)
ChatClientIntegrationTests.cs (16)
38_chatClient?.Dispose(); 49var response = await _chatClient.CompleteAsync("What's the biggest animal?"); 59var response = await _chatClient.CompleteAsync( 84await foreach (var chunk in _chatClient.CompleteStreamingAsync(chatHistory)) 102var response = await _chatClient.CompleteAsync("Explain in 10 words how AI works"); 115var response = _chatClient.CompleteStreamingAsync("Explain in 10 words how AI works", new() 144var response = await _chatClient.CompleteAsync( 171new OpenTelemetryChatClient(_chatClient, sourceName: sourceName)); 204using var chatClient = new FunctionInvokingChatClient(_chatClient); 220using var chatClient = new FunctionInvokingChatClient(_chatClient); 247using var chatClient = new FunctionInvokingChatClient(_chatClient); 280using var chatClient = new FunctionInvokingChatClient(_chatClient); 301using var chatClient = new FunctionInvokingChatClient(_chatClient); 319var firstResponse = await _chatClient.CompleteAsync([message]); 322var secondResponse = await _chatClient.CompleteAsync([message]); 332_chatClient,