1 write to _chatClient
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
41
_chatClient
= chatClient;
3 references to _chatClient
Microsoft.Extensions.AI.OpenAI (3)
OpenAIChatClient.cs (3)
63
serviceType == typeof(ChatClient) ?
_chatClient
:
78
var response = await
_chatClient
.CompleteChatAsync(openAIChatMessages, openAIOptions, cancellationToken).ConfigureAwait(false);
93
var chatCompletionUpdates =
_chatClient
.CompleteChatStreamingAsync(openAIChatMessages, openAIOptions, cancellationToken);