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();
50
var response = await
_chatClient
.CompleteAsync("What's the biggest animal?");
60
var response = await
_chatClient
.CompleteAsync(
85
await foreach (var chunk in
_chatClient
.CompleteStreamingAsync(chatHistory))
103
var response = await
_chatClient
.CompleteAsync("Explain in 10 words how AI works");
116
var response =
_chatClient
.CompleteStreamingAsync("Explain in 10 words how AI works", new()
145
var response = await
_chatClient
.CompleteAsync(
164
using var chatClient = new FunctionInvokingChatClient(
_chatClient
);
194
using var chatClient = new FunctionInvokingChatClient(
_chatClient
);
210
using var chatClient = new FunctionInvokingChatClient(
_chatClient
);
237
using var chatClient = new FunctionInvokingChatClient(
_chatClient
);
270
using var chatClient = new FunctionInvokingChatClient(
_chatClient
);
291
using var chatClient = new FunctionInvokingChatClient(
_chatClient
);
309
var firstResponse = await
_chatClient
.CompleteAsync([message]);
312
var secondResponse = await
_chatClient
.CompleteAsync([message]);
322
_chatClient
,