2 writes to _chatClient
Microsoft.Extensions.AI.OpenAI (2)
OpenAIChatClient.cs (2)
48
_chatClient
= openAIClient.GetChatClient(modelId);
66
_chatClient
= chatClient;
3 references to _chatClient
Microsoft.Extensions.AI.OpenAI (3)
OpenAIChatClient.cs (3)
96
serviceType == typeof(ChatClient) ?
_chatClient
:
111
var response = await
_chatClient
.CompleteChatAsync(openAIChatMessages, openAIOptions, cancellationToken).ConfigureAwait(false);
126
var chatCompletionUpdates =
_chatClient
.CompleteChatStreamingAsync(openAIChatMessages, openAIOptions, cancellationToken);