1 write to _chatClient
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
42
_chatClient
= chatClient;
4 references to _chatClient
Microsoft.Extensions.AI.OpenAI (4)
OpenAIChatClient.cs (4)
51
_metadata = new("openai", providerUrl,
_chatClient
.Model);
62
serviceType == typeof(ChatClient) ?
_chatClient
:
77
var response = await
_chatClient
.CompleteChatAsync(openAIChatMessages, openAIOptions, cancellationToken).ConfigureAwait(false);
92
var chatCompletionUpdates =
_chatClient
.CompleteChatStreamingAsync(openAIChatMessages, openAIOptions, cancellationToken);